Remove Packages from Manjaro Linux in Command Terminal

Uninstalling packages from Manjaro Linux is a straightforward process that can be accomplished through the command terminal using your preferred package manager or AUR helper. Pacman serves as the default package manager for Manjaro Linux and other Arch Linux-based systems, excelling at managing packages from official repositories. However, for installing packages from the Arch User Repository (AUR), an AUR helper may be required.

Pamac is another default choice for Manjaro Linux. As a versatile package manager included by default in Manjaro Linux, Pamac offers a graphical tool that delivers a user-friendly interface for browsing, searching, and installing packages from both official repositories and the AUR. Pamac can also be operated from the command terminal, enabling more advanced use. While Pamac and Pacman are the standard options for managing packages on Manjaro Linux, additional AUR helpers such as Yay, Paru, Pakku, Aurutils, and Pikaur can further enhance the package management process, each bringing unique features and benefits.

This article will illustrate how to remove packages using various popular AUR helpers, including Yay, Paru, Pakku, Aurutils, and Pikaur. While these AUR helpers aren’t default options, they can be installed and are useful for learning how to make your package management process more efficient. By the end of this guide, you will have a better understanding of using different AUR helpers to manage packages on your Manjaro Linux system. Let’s dive in and explore the multiple methods for removing packages from Manjaro Linux using the command terminal.

Pacman

Pacman is the default package manager for Manjaro Linux and other Arch-based distributions. It is a command-line tool that allows users to manage packages from the official repositories. To remove a package using Pacman, you can type the following command in the terminal:

sudo pacman -R package_name

Here, package_name refers to the name of the package you want to remove.

To remove a package along with its dependencies, use the following command:

sudo pacman -Rs package_name

If you want to remove a package, its dependencies, and configuration files, use this command:

sudo pacman -Rsc package_name

Once you have entered the command, pacman will prompt you to confirm the removal of the package and ask for your confirmation.

Pamac

Pamac is a graphical package manager for Manjaro Linux that can also be used from the command terminal. To remove a package using Pamac, type the following command:

pamac remove package_name

Like Pacman, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

pamac remove --cascade package_name

Once you have entered the command, Pamac will prompt you to confirm the removal of the package and ask for your confirmation.

Yay

Yay is a popular AUR helper for Manjaro Linux that allows users to install and manage packages from the AUR. To remove a package using Yay, type the following command:

yay -R package_name

Like Pacman and Pamac, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

yay -Rs package_name

If you want to remove a package, its dependencies, and configuration files, use the following command:

yay -Rsc package_name

Once you have entered the command, Yay will prompt you to confirm the removal of the package and ask for your confirmation.

Paru

Paru is another popular AUR helper for Manjaro Linux that provides several features to manage packages efficiently. To remove a package using Paru, type the following command:

paru -R package_name

Like Yay, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

paru -Rs package_name

If you want to remove a package, its dependencies, and configuration files, use the following command:

paru -Rsc package_name

Once you have entered the command, Paru will prompt you to confirm the removal of the package and ask for your confirmation.

Pakku

Pakku is a simple AUR helper that can be used to install and manage packages from the AUR. To remove a package using Pakku, type the following command:

pakku -R package_name

Like other AUR helpers, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

pakku -Rs package_name

Once you have entered the command, Pakku will prompt you to confirm the removal of the package and ask for your confirmation.

Aurutils

Aurutils is a collection of command-line tools for managing packages from the AUR. To remove a package using Aurutils, type the following command:

aur rm package_name

Here, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

aur rm -s package_name

Once you have entered the command, Aurutils will prompt you to confirm the removal of the package and ask for your confirmation.

Pikaur

Pikaur is another AUR helper that can be used to manage packages from the AUR. To remove a package using Pikaur, type the following command:

pikaur -R package_name

Like other AUR helpers, package_name refers to the name of the package you want to remove. To remove a package along with its dependencies, use the following command:

pikaur -Rs package_name

If you want to remove a package, its dependencies, and configuration files, use the following command:

pikaur -Rsc package_name

Once you have entered the command, Pikaur will prompt you to confirm the removal of the package and ask for your confirmation.

Conclusion

In conclusion, removing packages from Manjaro Linux is a simple process that can be done using various package managers and AUR helpers. Pacman and Pamac are the default options for managing packages. At the same time, Yay, Paru, Pakku, Aurutils, and Pikaur are popular AUR helpers that can be installed and used for efficient package management.

Your Mastodon Instance
Share to...