ホーム > Linux | Ubuntu > debパッケージの取得先について

debパッケージの取得先について

apt を利用する際には、あらかじめ以下のファイルにパッケージの取得先を記述しておく必要があるらしい。でも、Ubuntu 8 においては、とくにそういうことする必要なかった。(でも、これから先、追記していく必要があるのかもしれない)

/etc/apt/sources.list

該当ファイルにどんな記述がされているのか一応確認しておく。

#deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/
hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://jp.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://jp.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy universe
deb http://jp.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ hardy-updates universe

deb は、その右側にある URL を参照してパッケージを入手する記述。
deb-src は、ソースパッケージを入手するための記述。

コメント:0

コメントフォーム
入力した情報を記憶する

トラックバック:0

この記事のトラックバック URL
http://showzine.info/blog/2009/01/apt%e3%81%ae%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8%e5%8f%96%e5%be%97%e5%85%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html/trackback
トラックバックの送信元リスト
debパッケージの取得先について - SHOWJIN*BLOG より

ホーム > Linux | Ubuntu > debパッケージの取得先について

検索
フィード

ページの上部に戻る