ArchLinux AUR 사용하기
컴퓨터/리눅스 2009/02/18 04:53
AUR 이란 ArchLinux User-community Repository 라고 하는데
아치리눅스 유저커뮤니티가 조직적인 방법으로 수집된 각종 자료를 모아서, 그 내용을 유지하는 중심 저장소 라고 하면 될것이다. 이 저장소에 있는 패키지를 내려받아 사용하기 위해서 yaourt 를 사용하는데 정식패키지저장소에는 yaourt가 없다.
/etc/pacman.conf 파일의 맨 아래쪽에
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
or
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
Server = http://repo.archlinux.fr/i686
or
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
위의 둘중 하나를 자신의 시스템에 맞게 추가시켜준다
#pacman -Sy yaourt
라고 입력하면 위에서 추가한 저장소의 싱크를 업데이트하며 yarout를 설치하게된다.
http://www.archlinux.fr/yaourt-en/ 여기 홈페이지에 가면 위의 저장소주소가 있다.
http://wiki.archlinux.fr/howto:archlinux:yaourt yaourt...
Download yaourt:
On AUR: http://aur.archlinux.org/packages.php?do_Details=1&ID=5863
or directly from the repositories:
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
On AUR: http://aur.archlinux.org/packages.php?do_Details=1&ID=5863
or directly from the repositories:
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
사용법은 pacman 과 똑같이 사용하면 되는거 같은데 ....
Use:
Search and install
yaourt [keywords]: quick search + install
yaourt -S [packages] : install package, Compile it from AUR if needed
yaourt -Ss [keywords] : search on repos and on AUR (with notice for already installed packages)
yaourt -Sb [packages] : install a packages by compilation from sources (abs)
yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
yaourt -Qo [progname] or [filename] : shows the package which provides the program or the file
Updgrade:
yaourt -Syu : complete update and upgrade of the system (onlys from repos)
yaourt -Syu --aur : complete update and upgrade, even for packages coming from AUR
yaourt -Sybu --aur : complete update and upgrade by compilation of all packages (repos and AUR)
yaourt -Su --devel : update and upgrade of cvs/svn/mercurial/git packages
Cleaning:
yaourt -C : editing and merging of .pacnew/.pacsave
yaourt -Cc : removal of all .pacnew/.pacsave
yaourt -Qt : search for orphaned packages
yaourt -Cd : search for obsolete repos
Other options:
--export [directory] : exports compiled packages for gensync
yaourt -S --aur [packages] : forces compilation from AUR for a packages which is also in repos
yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
yaourt -B : backup the pacman database
Search and install
yaourt [keywords]: quick search + install
yaourt -S [packages] : install package, Compile it from AUR if needed
yaourt -Ss [keywords] : search on repos and on AUR (with notice for already installed packages)
yaourt -Sb [packages] : install a packages by compilation from sources (abs)
yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
yaourt -Qo [progname] or [filename] : shows the package which provides the program or the file
Updgrade:
yaourt -Syu : complete update and upgrade of the system (onlys from repos)
yaourt -Syu --aur : complete update and upgrade, even for packages coming from AUR
yaourt -Sybu --aur : complete update and upgrade by compilation of all packages (repos and AUR)
yaourt -Su --devel : update and upgrade of cvs/svn/mercurial/git packages
Cleaning:
yaourt -C : editing and merging of .pacnew/.pacsave
yaourt -Cc : removal of all .pacnew/.pacsave
yaourt -Qt : search for orphaned packages
yaourt -Cd : search for obsolete repos
Other options:
--export [directory] : exports compiled packages for gensync
yaourt -S --aur [packages] : forces compilation from AUR for a packages which is also in repos
yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
yaourt -B : backup the pacman database
조금 다른옵션도 있다.


