Archlinux AUR 패키지 설치

pacman 으로 제공 안되고 Arch User Repository (AUR) 만 있을 때의 설치 방법.

  1. PKGBUILD 파일 다운로드 (보통 github 등에 올려둠)
  2. makepkg -si # PKGBUILD 내용으로 소스 다운로드, 컴파일, 패키지 생성하는 명령
  3. pacman -U 패키지.pkg.tar.xz # makepkg 이상 없이 실행되면 패키지 파일 생성 되어 있음.

내 경우는 lnav, gitflow 등이 기본으로 제공 되지 않아 AUR로 설치했다. https://wiki.archlinux.org/index.php/AUR_helpers 에 있는 유틸리티를 사용하는 것도 방법.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.