[base-src] name=CentOS-$releasever - Bese -src baseurl=http://vault.centos.org/6.8/os/Source/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 [updates-src] name=CentOS-$releasever - Updates - src baseurl=http://vault.centos.org/6.8/updates/Source/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6で$ yumdownloader --source package名でOK
CentOS6.8でパッケージのソースを取得する。
/etc/yum.repos.d/の下に任意の名前(例えばcentos-source.repo)で以下を保存する。
CentOS6.5にEPELのyumレポジトリを登録する。
# yum localinstall http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
登録:
投稿 (Atom)