木曜日, 6月 18, 2009

Download Fedora source file

taRgreyによるスパム対策に書かれた内容を参考に、Fedoraソースのインストール仕方の覚書をします。

# yum -y install yum-utils ← yumでSRPMをダウンロードするyumdownloaderを含むyum-utilsをインストール
# yumdownloader --noplugins --source postfix ← PostfixのSRPMダウンロード
# rpm -ivh postfix-2.5.1-2.fc9.src.rpm ← PostfixのSRPM展開
# cd rpmbuild/SOURCES/ ← PostfixのSRPM展開先ディレクトリへ移動※F10,F11の場合
# cd /usr/src/redhat/SOURCES/ ← PostfixのSRPM展開先ディレクトリへ移動※F9の場合
# tar zxvf postfix-2.5.1.tar.gz ← Postfixソース展開


How To Download a RPM Package Using yum Command Without Installing On Linux
# yum update httpd -y --downloadonly --downloaddir=/opt

0 件のコメント: