Monday, March 19, 2007

How To Install Yum Inside OpenSuse 10.2

(1) Get and install the yum.

Download RPM for yum and it's dependencies

http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/


python-urlgrabber
python-sqlite
rpm-python
yum-metadata-parser (used option --nodeps)
yum

examples

rpm -Uvh python-urlgrabber-3.1.0-18.i586.rpm
rpm -Uvh --nodeps yum-metadata-parser-1.0.2-23.i586.rpm

(2) Prepare the config file

cd /etc/yum.repos.d

Just used any editor to create .repo file contain

[base]
name=OpenSUSE_10.2 Base
type=rpm-md
baseurl=http://download.opensuse.org/distribution/10.2/repo/oss/suse/
gpgcheck=1
gpgkey=http://download.opensuse.org/distribution/10.2/repo/oss/gpg-pubkey-a1912208-446a0899.asc
enabled=1

save it as any name as long end with .repo

(3) Install yumex

To search

yum search yumex


To install

yum install yumex