-
安裝
- Beginners' Guide(http://ppt.cc/brmN)
http://wiki.archlinux.org/index.php/Beginners'_Guide
- Official Arch Linux Install Guide(http://ppt.cc/Evuf)
http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
- Lawliet's blog - ArchLinux 推廣教學起跑!(http://ppt.cc/G9tx)
http://antimalicious.blogspot.com/2009/04/archlinux.html
-
常用
-
compile時需要的
- $pacman -S base-devel
-
可垂直/水平分割視窗的terminal
- $pacman -S terminator
-
Chromium
(Google 瀏覽器的開發版本)
- $pacman -S chromium
-
pacman
-
pacman wiki(http://ppt.cc/PdHh)
http://wiki.archlinux.org/index.php/Pacman
-
install packages
- $pacman -S PKGNAME
-
install local package(not from database)
- $pacman -U PATH_TO_PACKAGE
-
remove packages
- $pacman -R PKGNAME
-
remove with dependencies
- $pacman -Rs PKGNAME
-
remove with configuration files
- $pacman -Rn PKGNAME
-
search packages
- $pacman -Ss PKGNAME
-
whole system upgrade
- $pacman -Syu
-
yaourt
-
yaourt wiki(http://ppt.cc/1;bW)
http://wiki.archlinux.org/index.php/Yaourt
-
add to /etc/pacman.conf
-
for i686
- [archlinuxfr]
Server = http://repo.archlinux.fr/i686
-
for x86_64
- [archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
-
安裝
- $pacman -S yaourt
- 指令基本上跟pacman一樣
-
building from sources
-
install packages
- $yaourt -Sb PKGNAME
-
whole system upgrade
- $yaourt -Sybu
-
abs(arch build system)
-
安裝
- $pacman -S abs
-
configuration file
- /etc/abs.conf
-
sync
- $abs
-
我的作法
- $cd /usr/local/src
-
創造build directory
- $ln -sf /var/abs/extra/mplayer ./
(好處是下一次sync時compile的東西會一起刪掉)
- or $cp -r /var/abs/extra/mplayer ./
(好處是自己改的東西可以保留)
- $cd mplayer
-
編輯設定檔
- $nano -w PKGBUILD
-
compile && create package && install
- $makepkg -i