How To Install Or Remove A Software Package In Arch Linux, Manjaro?

How To Install Or Remove A Software Package In Arch Linux, Manjaro?

   

Different Linux distribution comes with different tools to manage software packages on it. Pacman-based Linux distributions such as Arch Linux, Manjaro, etc use the Pacman package manager to install, remove, or manage software packages on them.

In this article, we will discuss installing and removing software packages from the command line in Arch Linux and Manjaro. This also applies to other Pacman based Linux distributions.

Pacman package manager

Pacman is a tool used by Arch Linux and other similar distributions to install, remove, and upgrade the software packages. It uses binary packages in a .tar.xz format with an easy to use build system. Pacman keeps the system up to date by synchronizing the package list with the master server.

How to install a package in Arch Linux, Manjaro

To install a software package in Arch Linux, Manjaro, and other Pacman based Linux distribution you need to execute the following command in your terminal. You can use a single package or a list of packages with the following command –

sudo pacman -S package_name(s)

or

sudo pacman --sync package_name(s)

For example –

sudo pacman -S vlc

The above command will install the package including dependencies. If you want to install multiple software packages in a single command then mention the package name with a single space.

How to remove a package in Arch Linux, Manjaro

Now to remove an installed software package in Arch Linux, Manjaro and other Pacman based Linux distribution you need to execute the following command in the terminal –

sudo pacman -R package_name(s)

or

sudo pacman --remove package_name(s)

This will remove the given package or packages. For example –

sudo pacman -R vlc

Now if you want to remove multiple packages in a single command then use the package name with a single space among them in the above command.

How to update Arch Linux, Manjaro

For the full system update use the following command in the terminal –

sudo pacman -Syu

The following command will refresh the database and synchronize the local database with the remote database.

sudo pacman -Sy

Use the following command if you want to Ignore upgrades to a given package or packages.

sudo pacman -S --ignore package_name(s)

Conclusion

Now by reading this article you are able to install or remove a software package from a Pacman-based Linux distribution. If you have any thoughts on the topic you can share it with us in the comments below.

Previous Split Personality Snaps
Next How Manually Partition A Disk During Installation of Ubuntu?

About author

You might also like

Uncategorized 0 Comments

How To Install Kali Linux 20.2 With KDE Plasma Desktop?

This post was last updated on June 26th, 2020 at 01:51 pmKali Linux is a Debian based Linux distribution that is used for digital forensics and penetration testing. It comes

Uncategorized 0 Comments

How To Resize The “/” (root) Partition In Linux?

A partition is nothing but a logical division of a physical disk. Partition makes it easy to organize and share the data of that disk. You can edit or manipulate

Linux Topics 0 Comments

File Ownership And Permissions In Linux/Unix

This post was last updated on October 6th, 2019 at 11:06 pmLinux and Unix are multi-user operating systems that means different users can access the operating system at a time

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply