Tuesday, October 23, 2012

Archlinux install package via AUR

https://wiki.archlinux.org/index.php/Arch_User_Repository

AUR (Arch User Repository) 類似於 Ubuntu 底下的 PPA,由用戶自行開發的程式會放在這邊

如果經由 Archers 投票票數夠高的話有機會進去官方 repo


到 https://aur.archlinux.org/ 抓想要的 tarball 和 PKGBUILD


$ cd ~/builds 
$ tar xvzf foo.tar.gz
$ cd foo 
$ vim PKGBUILD          # check if there's any evil things in the scripts
$ vim foo.install
$ makepkg -s            #  call sudo to solve the dependency
# pacman -U foo-0.1-1-i686.pkg.tar.xz

No comments:

Post a Comment