Linux Tips

Fedora Core 3でFedora Extrasを使うには

北浦訓行
2005/7/21

 「Fedora Extras」(http://fedoraproject.org/wiki/Extras)は、Fedora Core(FC)に標準では収録されなかったパッケージをオプション的な位置付けで公開しているものである。FC4のyumはFedora Extrasも検索やダウンロードなどの対象としているため、以下の検索を行うとFedora Extrasのパッケージもヒットする(「extras」がFedora Extrasを示す)。

# yum search anthy
(省略)
uim.i386                            0.4.6-3            extras
Matched from:
Uim is a multilingual input method library. Uim aims to
provide secure and useful input methods for all
languages. Currently, it can input to applications which
support Gtk+'s immodule, Qt's immodule and XIM.

 しかし、FC3で同じコマンドを実行すると、

No Matches found

と表示される。これは、FC3のyumがFedora Extrasを対象としていないためである。

 Fedora ExtrasプロジェクトではFC3用のパッケージも公開しているので、yumの設定を変更すればFC3でもFC4と同様にFedora Extrasを利用できるようになる。

 FC3でFedora Extrasを使用するには、以下の内容を記述した/etc/yum.repos.d/fedora-extras.repoというファイルを作成する。

[extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/
$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras

[extras-testing]
name=Fedora Extras Test Updates - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/
testing/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras
enabled=0

[extras-debug]
name=Fedora Extras - $releasever - $basearch - Debugging packages
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/
$releasever/$basearch/debug/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/
RPM-GPG-KEY-Fedora-Extras
enabled=0

 /etc/yum.repos.d/fedora-extras.repoを作成したら、試しに先ほど「No Matches found」となったコマンドを再度実行してみる。すると、以下のように情報が表示されるはずだ。

# yum search anthy
(省略)
anthy.i386                          6700-1.fc3         extras
Matched from:
anthy
Anthy provides the library to input Japanese on the applications, such
 as
X applications and emacs. and the user dictionaries and the users
 information
which is used for the conversion, is stored into their own home 
directory.
So Anthy is secure than other conversion server.
http://sourceforge.jp/projects/anthy/
(省略)

Linux Tips Index



 Linux Squareフォーラム Linux Tipsカテゴリ別インデックス
インストール/RPM ブート/ブートローダ
ファイル操作 環境設定
ユーザー管理 コンソール/ターミナル
X Window System セキュリティ
トラブルシューティング 他OS関係
ネットワーク ハードウェア
Webサーバ Samba
GNOME KDE
OpenOffice.org エミュレータ
ソフトウェア そのほか/FAQ
全Tips公開順インデックス Linux Tips月間ランキング
Linux Squareフォーラム全記事インデックス

MONOist組み込み開発フォーラムの中から、Linux関連記事を紹介します


Linux & OSS フォーラム 新着記事
@ITメールマガジン 新着情報やスタッフのコラムがメールで届きます(無料)

注目のテーマ

Linux & OSS 記事ランキング

本日 月間