Debian apt-get

sources.listの準備

apt-getの前に、sources.lstの確認

  • /etc/apt/sources.list
deb http://www.t.ring.gr.jp/pub/linux/debian/debian sarge main contrib non-free
deb http://www.t.ring.gr.jp/pub/linux/debian/debian-jp sarge-jp main contrib non-free
deb http://www.t.ring.gr.jp/pub/linux/debian/debian-non-US sarge/non-US main contrib non-free
deb http://ftp.us.debian.org/debian/ sarge main
deb-src http://ftp.us.debian.org/debian/ sarge main
deb http://security.debian.org/ sarge/updates main contrib non-free

こんな感じにしてます。

updateしておく

# export LANG=C
# apt-get update
# apt-get upgrade
# apt-get install

apt-get now!

何も聞いてこない

# apt-get install less lv bzip2 locales
# apt-get install make cvs screen rsync subversion subversion-tools
# apt-get install emacs21 skk skkdic
# apt-get install apache2 nsd ntp-simple
# apt-get install ruby ruby-elisp libopenssl-ruby libgd-ruby1.8
# apt-get install gnuplot imagemagick
# apt-get install tetex-base tetex-bin tetex-extra dvipdfm gs
# apt-get install ispell iamerican aspell aspell-en

いろいろ聞いてくる

# apt-get install samba smbfs
# apt-get install postfix
# apt-get install teapop
# apt-get config teapop

CD-ROM installだとすでにはいってます

# apt-get install nvi aptitude ssh tcsh traceroute wget whois reiserfsprogs

検索方法

% apt-cache search postfix

postfixを含むpackageを表示する。

Last modified: 2006-09-05