Pacli is an interactive Bash frontend for Pacman and Yaourt. It provides a simple and advanced Pacman, Yaourt, and Packer commands in an easy to use text interface. Also, we can install some Manjaro exclusive commands using Pacli. It is opt for intermediate and advanced users. If you're a beginner just stay away from it unless you know what you're doing. You will be overwhelmed with the lot of options.
In this short tutorial, we are going to see how to install and use Pacli in Arch Linux.
Pacli - An Interactive BASH Frontend For Pacman And Yaourt
Install Pacli on Arch Linux
To install Pacli on Arch Linux, you need to install AUR helper 'yaourt'. Refer the following link to install Yaourt.
After installing Yaourt, you can install Pacli using command:
yaourt -S pacli
Install Pacli on Manjaro Linux
Pacli is available in the default repositories of Manjaro Linux. So, you can just install it using pacman as shown below.
sudo pacman -S pacli
Type 'pacli' from your Terminal to launch it.
Pacli home screen will look like below. The home screen is divided into three sections. The first section has the options to install, update and remove packages. The second section includes advanced options for optimizing and fixing your system. The options that are marked in red color might break your system. You need to be careful while using the red-marked options. The last section offers Arch User Repository (AUR) management options.
As you can see in the pacli interface, it will do the following for you.
- Update System
- Clean System
- Install Package
- Remove Package with dependencies
- Package Information
- List Local Package Files
- Dependency Tree
- Reverse Dependency Tree
- Defragment Database
- Downgrade Packages
- Pacman Log
- Fix Errors
- Configure Pacman
- Force Install Package
- Force Update System
- Force Remove Package
- Empty Package Cache
- Update AUR
- Force Update AUR
- Search or Install from AUR
- Install from AUR
- List Installed from AUR
- Configure Yaourt
Enter a number between 0 to 24 and press ENTER to execute the respective command. To exit Pacli, type 0 (zero) and press ENTER.
Say for example, to update your Arch Linux or Manajaro system, type 1 (Number one) and press ENTER.
You should see an output something like below.
[sudo] password for sk: :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date archlinuxfr is up to date :: Starting full system upgrade... there is nothing to do Your system is updated. To return to pacli press [Enter]
To install a package, type '3' and press ENTER. Use up and down arrow keys to select a package to install. To select more than one packages use TAB key. Once you have selected the packages to install press ENTER to install them.
To remove a package, type 4 and press ENTER. Select a package you'd like to remove using UP and DOWN arrow keys. or, just type the package name in the prompt to choose it. Also, you can use TAB key to select more than one packages. Once you have selected the packages to remove, press ENTER to remove.
Once the selected task is finished, press ENTER to return back to the Pacli main menu. You can press CTRL-C to forcibly close an operation. To exit from Pacli, type 0(zero) and hit ENTER key. Similarly, you can use other options as described above.
That's all for now. Hope this helps. If you find this guide useful, please share it on your social networks and support OSTechNix.