Installing packages using Packer

Configurare noua (How To)

Situatie

Packer is another pacman and AUR wrapper that eases the complexity of manually compiling and installing packages. Like Yaourt, it allows a user to install, upgrade, search and show information about any package.

  • Installing Packer

First off, install the required dependencies

sudo pacman -S base-devel fakeroot jshon expac git wget

Thereafter, download the PKGBUILD script from AUR using the command below

$ wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer

For convenience’s sake, rename the folder

$ mv PKGBUILD\?h\=packer PKGBUILD

To compile the downloaded package and create packer installation file run

$ makepkg

Packer’s installation file comes in the form of a tarball. You can verify its existence using

ls

Finally, to install packer run

$ sudo pacman -U packer-*.pkg.tar.xz

That’s it! Packer is finally installed. You can use packer to install, upgrade and display information about installed packages.

To install packages using Packer run

packer -S packagename

You can update all AUR packages by running,

$ packer -Syu

Solutie

Tip solutie

Permanent

Voteaza

(8 din 15 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?