« ユーザー/パスワード変更 | メイン | 現在のパッケージ一覧 »

2005年10月16日

apt-get

パッケージ管理をしてくれるものらしい。
Windows Update みたいなものと思えば良さそう。

とりあえず、apt-get update をしてみた。
なにやら、woodyという、文字列があちこち出てくる。

Debianのパッケージには安定版(stable)、テスト版(testing)、不安定版(unstable)とあるらしい。
で、debian_2005_08_21_dist.tgzの時点では、stable(woody)、testing(sarge)、unstable(sid)らしい。
このwoody,sargeはコードネームらしく、Debian3.0が、woody、次のバージョンがsargeみたいです。
なお、現在はsargeがstable(安定版)になったみたいなので、そのうちアップグレードしたいと思う。

パッケージ取得用の設定ファイルの中身
ファイルの中身の表示はcatコマンドで行う。

KURO-BOX:~# cat /etc/apt/sources.list # See sources.list(5) for more information, especialy # Remember that you can only use http, ftp or file URIs # CDROMs are managed through the apt-cdrom tool.

# Security updates for "stable"
deb http://security.debian.org woody/updates main contrib
#deb http://security.debian.org testing/updates main contrib

# Woody
#deb http://ftp2.de.debian.org/pub/debian woody main contrib
#deb http://ftp2.de.debian.org/pub/debian-non-US woody/non-US main contrib

deb ftp://ftp.dti.ad.jp/pub/Linux/debian woody main contrib
deb ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US woody/non-US main contrib

# Sources
#deb-src http://ftp2.de.debian.org/pub/debian woody main contrib
#deb-src http://ftp2.de.debian.org/pub/debian-non-US woody/non-US main contrib
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian woody main contrib
deb-src ftp://ftp.dti.ad.jp/pub/Linux/debian-non-US woody/non-US main contrib


# Testing
#deb http://ftp2.de.debian.org/pub/debian testing main contrib non-free
#deb http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Sources
#deb-src http://ftp2.de.debian.org/pub/debian testing main contrib non-free
#deb-src http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Unstable
#deb http://ftp2.de.debian.org/debian unstable main contrib non-free
#deb http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Sources
#deb-src http://ftp2.de.debian.org/debian unstable main contrib non-free
#deb-src http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Experimental
#deb http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free
#deb-src http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free

# Mozilla
# deb http://non-us.debian.org/~kitame/mozilla ./
# deb-src http://non-us.debian.org/~kitame/mozilla ./

# GNOME 2.0
# deb http://www.gnome.de/debian/ ./

# KDE 3
# deb http://ktown.kde.org/~nolden/kde stable main
# deb-src http://ktown.kde.org/~nolden/kde stable main
# We get packages from testing/unstable for now

# cdbakeoven
# deb http://coyote.asoc.euitt.upm.es/mud/debian/ ./

# XFree 4.2/4.3
# deb http://people.debian.org/~branden/packages sid/i386/
# deb-src http://people.debian.org/~branden/packages sid/source/
# deb http://www.penguinppc.org/~daniels/sid/i386 ./
# deb-src http://www.penguinppc.org/~daniels/sid/source ./

# Java
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
#deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
# deb http://people.debian.org/~sgybas/jdk13

# LyX & others (now in debian/unstable)
# deb ftp://ntama.uni-mainz.de/pub/debian unofficial/
# deb-src ftp://ntama.uni-mainz.de/pub/debian unofficial/

# Evolution
#deb ftp://ftp.ximian.com/pub/debian stable main
#deb-src ftp://ftp.ximian.com/pub/debian stable main

# Blades Repository (pppoeconf & co)
# deb http://people.debian.org/~blade/testing ./
# deb-src http://people.debian.org/~blade/testing ./

# Wine CVS snapshot
# deb http://people.debian.org/~andreas/debian wine main
# deb-src http://people.debian.org/~andreas/debian wine main

# deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main

ファイルの中身表示用のコマンドは他にもmore、less等ある。
lessはインストールされていなかった。apt-get install less でインストールされた。

明示的にwoodyを指定してあるみたいなので、もう少し理解するまでこのまま(woody)にしておく。
stable指定されてたら、勝手にバージョンアップされるのかも。

投稿者 mituha : 2005年10月16日 23:47