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

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

 

This post was last updated on August 1st, 2020 at 12:17 pm

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

How To 0 Comments

ISO, CDR, and CDRW in Linux

This post was last updated on May 27th, 2020 at 04:02 pmContents1 Creating an ISO Image2 Copying a CD to a File on your Filesystem3 Buring an ISO Image to

How To 0 Comments

How to PDF Documents in Linux

This post was last updated on June 3rd, 2020 at 04:23 pmContents1 Using ps2pdf in Linux2 Using Windows and Linux to Generate PDF Documents3 Using Linux Only to Generate PDF

How To 0 Comments

Linux I/O Redirection

This post was last updated on May 26th, 2020 at 03:07 pmCool commands The following command saves stdout and stderr to the files “out” and “err”, respectively. [[email protected] /root]# ./cmd

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply