Graphical Frontends for Pacman in Arch Linux
As you may know already, Pacman, stands for Package Manager, is the default CLI package manager for Arch Linux and its derivatives. Working with Pacman is pretty simple and straight forward. However, some of you might want to use Graphical package managers like Synaptic package manager or GNOME software. These GUI package managers makes package installation and uninstallation tasks much easier for newbies and intermediate Linux users. If you ever in need of GUI package managers for Arch Linux and its derivatives, there are two GUI front-ends for Pacman available, namely:
- Pamac manager
There are also few other frontends available. But, I find the aforementioned tools are much easier in terms of installation and usage.
Let us get started.
tkPacman is light weight, graphical frontend for Pacman package manager. It is built using Tcl/Tk, so it will work on most window managers and desktop environments.
tkPacman is not available in the official repositories. You can install it from AUR using any AUR helper tools, for example Yay.
$ yay -S tkpacman
That’s it. tkPacman has been installed.
Launch tkPacman. The default interface should look like below.
As you can see in the above screenshot, tkPacman is somewhat similar to Ubuntu’s synaptic package manager.
To optimize the pacman database, go to Pacman -> Optimize pacman database from the top menu bar.
You will be asked to enter the root user password of your Arch system.
To clean the local cache, go to Pacman -> Clean cache from the top menu bar. You have two options here. You can either remove all packages from the cache or only the packages that are no longer installed.
Enter the root password to clean cache.
You can search packages in the left pane. Just enter the package name you want to search in the Filters section, select the group name or select the repository from the respective drop-down lists. It will then display the package details on the right side.
From the tkPacman main interface, you will see the all available packages and installed packages in two separate tabs.
As you see in the above screenshot, Available packages section will display both installed and non-installed packages. The installed packages will be marked in green color and the non-installed packages will be marked in black color. Also, you can view the currently installed packages from the Installed packages tab.
To install the package, just right click on the package of your choice and Mark/Unmark. Finally click Apply changes on the tool bar. Enter the root user password. That’s it. The selected package will be installed on your Arch system.
Install packages from local file
tkPacman has an useful option to install the packages which are already downloaded in your local drive.
Once you downloaded the package, go to Pacman -> Install local package from the top menu bar or click Local Package on the Tool bar. Then, select the location where you have the downloaded .pkg.tar.xz file.
Please note that your Arch system should be connected with Internet in order to download and install dependencies.
Click System Upgrade button from the tool bar.
A new window will open. Enter the root user password to continue.
Your Arch system will upgrade to the latest available version.
As you can see, the look and functionality of tkPacman is almost similar to Synaptic package manager which is the default GUI package manager for Ubuntu and its derivatives.
2. Pamac Manager
Pamac manager is another GUI frontend for Pacman with complete AUR support. That means that you can have both official packages from Arch repositories and un-official packages from AUR. The AUR repository is community driven repository that can be used to install packages which are not available in the official Arch Linux repositories.
Like tkPacman, Pacmac is also available in AUR. Just install it using command:
$ yay -S pamac-aur
Launch Pamac manager from Menu. Mostly it will available as Add/Remove programs (To install/remove packages) or Software update (To update the Arch system) in the Systems Tools category in your Arch Linux. The look and functionality of Pamac is slightly different from tkPacman. The default interface of Pamac will look like below.
As you can see in the above screenshot, the interface is divided into four categories.
- Search – Search and install a package using its name.
- Groups – Install packages from a group such as base, base-devel, and gnome etc.
- State – View installed, pending, and orphan packages.
- Repositories – Install packages from a specific repositories such as Core, Community, and extra etc.
Enable AUR support
One of the unique properties of this tool is we can enable AUR. To do so, click on the three parallel lines on the top right corner. Then click Preferences button.
In the next window, click AUR tab and move the slider option to forward or back to enable and disable AUR repository.
Now, you will be able to install packages from AUR repository.
You know now how to install and use Pacman frontends in Arch Linux. I will be adding more Pacman frontends if I find anything useful in the days to come. Please bookmark this link and keep coming back to see more updates.
That’s all for now. Hope this helps. If you find our guides useful, please share them on your social, professional networks and support OSTechNix.