Saturday, January 20, 2018

Arch Linux - Installing packages from AUR repository

goto https://aur.archlinux.org/

goto Packages tab

select your package to install

copy the git clone url ( copy link location)


Now
open terminal window
cd to Downloads folder

for eg to install google chrome

git clone https://aur.archlinux.org/google-chrome.git


now cd to the directory created

cd google-chrome

makepkg -s
(makes package from the git source files)

(All above commands to be run as regular user)

sudo pacman -U   google-chrome-63.0.3239.132-1-x86_64.pkg.tar.xz
(google-chrome-63.0.3239.132-1-x86_64.pkg.tar.xz was created by the prev command)


thats all. :)

No comments:

Post a Comment

Followers

About Me

Torrance, CA, United States