2016年12月12日 星期一

[Archlinux] How to install package not in remote repository

Search package on Archlinux Repository.


Download package from AUR home.


Ex:
Search makedpend at AUR - makedepend
On the AUR page, search keywork which is "Download snapshot"
Press "Download snapshot" and download it.


Decompress the package.
tar xvf makedepend.tar.gz


cd makedepend


Start to syncdeps and install package.
makepkg -si


-s/–syncdeps automatically resolves and install any dependencies with pacman before building. If the package depends on other AUR packages, you will need to manually install them first.
-i/–install installs the package if it is built successfully. Alternatively the built package can be installed with pacman -U.


Reference:

list of all AUR packages
AUR package list - Update everyday

0 意見:

張貼留言