Recent Changes - Search:

Softwares

.

Yum-adding-Repositories-for-rpm-based-distros

Main.Yum-adding-Repositories-for-rpm-based-distros History

Hide minor edits - Show changes to output

Deleted lines 18-31:

[@
ruby-devel.i386 1.8.1-7.EL4.8 base
ruby-libs.i386 1.8.1-7.EL4.8 base
ruby-mode.i386 1.8.1-7.EL4.8 base
samba.i386 3.0.10-1.4E.12.2 update
samba-client.i386 3.0.10-1.4E.12.2 update
samba-common.i386 3.0.10-1.4E.12.2 update
sed.i386 4.1.2-6.el4 base
selinux-policy-targeted.noarch 1.17.30-2.145 base
setools.i386 2.3-4 base
shadow-utils.i386 2:4.0.3-61.RHEL4 base
shared-mime-info.i386 0.15-10.1.el4 base
@]
Changed lines 18-32 from:
yum check-update
to:
yum check-update

[@
ruby-devel.i386 1.8.1-7.EL4.8 base
ruby-libs.i386 1.8.1-7.EL4.8 base
ruby-mode.i386 1.8.1-7.EL4.8 base
samba.i386 3.0.10-1.4E.12.2 update
samba-client.i386 3.0.10-1.4E.12.2 update
samba-common.i386 3.0.10-1.4E.12.2 update
sed.i386 4.1.2-6.el4 base
selinux-policy-targeted.noarch 1.17.30-2.145 base
setools.i386 2.3-4 base
shadow-utils.i386 2:4.0.3-61.RHEL4 base
shared-mime-info.i386 0.15-10.1.el4 base
@]
Changed lines 9-14 from:
[root@manchester yum.repos.d]# cat > dag.repo\
[dag]\
name=Dag RPM Repository for Red Hat Enterprise Linux\
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag\
gpgcheck=1\
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt\
to:
[root@manchester yum.repos.d]# cat > dag.repo\\
[dag]\\
name=Dag RPM Repository for Red Hat Enterprise Linux\\
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag\\
gpgcheck=1\\
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt\\
Changed lines 5-17 from:
*Copy and paste the shell commands below and run that using sh command


vi yum
sh -x yum

cd
/etc/yum.repos.d
echo "\"[dag]"\" >> dag.repo
echo "\"name=Dag RPM Repository for Red Hat Enterprise Linux"\" >> dag.repo
echo "\"baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag"\" >> dag.repo
echo "\"gpgcheck=1"\" >> dag.repo
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
yum check-update
to:
*Copy and paste the below.

cd /etc/yum.repos.d

[root@manchester yum.repos.d]# cat > dag.repo\
[dag]\
name=Dag RPM Repository for Red Hat Enterprise Linux\
baseurl=http:
//apt.sw.be/redhat/el$releasever/en/$basearch/dag\
gpgcheck=1\
rpm --import http://
dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt\

*Press CTRL+D

yum
check-update
Added lines 7-10:

vi yum
sh -x yum
Changed line 16 from:
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
to:
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Changed lines 8-11 from:
echo "[dag]" >> dag.repo
echo "name=Dag RPM Repository for Red Hat Enterprise Linux" >> dag.repo
echo "baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag" >> dag.repo
echo "gpgcheck=1" >> dag.repo
to:
echo "\"[dag]"\" >> dag.repo
echo "\"name=Dag RPM Repository for Red Hat Enterprise Linux"\" >> dag.repo
echo "\"baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag"\" >> dag.repo
echo "\"gpgcheck=1"\" >> dag.repo
Added lines 1-13:
'''Yum-adding-Repositories-for-rpm-based-distros'''

*These are from http://apt.sw.be/redhat/

*Copy and paste the shell commands below and run that using sh command

cd /etc/yum.repos.d
echo "[dag]" >> dag.repo
echo "name=Dag RPM Repository for Red Hat Enterprise Linux" >> dag.repo
echo "baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag" >> dag.repo
echo "gpgcheck=1" >> dag.repo
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
yum check-update
Edit - History - Print - Recent Changes - Search
Page last modified on October 12, 2007, at 11:03 PM