linux:srpm_download

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:srpm_download [2012/02/28 09:11] ともやんlinux:srpm_download [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 1: 行 1:
 ====== SRPM のダウンロード ====== ====== SRPM のダウンロード ======
   - yum-utils をインストールする。<code>   - yum-utils をインストールする。<code>
-yum install yum-utils+$ sudo yum install yum-utils
 </code> </code>
   - リポジトリファイルを作成する。<code>   - リポジトリファイルを作成する。<code>
-vi /etc/yum.repos.d/CentOS-SRPMS.repo+$ sudo vi /etc/yum.repos.d/CentOS-SRPMS.repo 
 +</code><code> 
 +[base-source] 
 +name=CentOS-$releasever - Base Source 
 +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os 
 +baseurl=http://vault.centos.org/6.5/os/Source/ 
 +gpgcheck=1 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 
 + 
 +#released updates 
 +[updates-source] 
 +name=CentOS-$releasever - Updates Source 
 +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates 
 +baseurl=http://vault.centos.org/6.5/updates/Source/ 
 +gpgcheck=1 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 
 + 
 +#additional packages that may be useful 
 +[extras-source] 
 +name=CentOS-$releasever - Extras Source 
 +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras 
 +baseurl=http://vault.centos.org/6.5/extras/Source/ 
 +gpgcheck=1 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 
 + 
 +#additional packages that extend functionality of existing packages 
 +[centosplus-source] 
 +name=CentOS-$releasever - Plus Source 
 +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus 
 +baseurl=http://vault.centos.org/6.5/centosplus/Source/ 
 +gpgcheck=1 
 +enabled=0 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 
 + 
 +#contrib - packages by Centos Users 
 +[contrib-sounce] 
 +name=CentOS-$releasever - Contrib Source 
 +#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib 
 +baseurl=http://vault.centos.org/6.5/contrib/Source/ 
 +gpgcheck=1 
 +enabled=0 
 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
 </code> </code>
   - 作業用ディレクトリを作成してその中に移動する。<code>   - 作業用ディレクトリを作成してその中に移動する。<code>
-mkdir work +mkdir work 
-cd work+cd work
 </code> </code>
   - yumdownloader を使用してソースRPMをダウンロードする。<code>   - yumdownloader を使用してソースRPMをダウンロードする。<code>
-yumdownloader --source yum+yumdownloader --source yum
 </code> </code>
  • linux/srpm_download.1330387889.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)