Installing YUM on OpenSUSE

Install yum on OpenSUSE Linux Based servers

How to install "yum" on OpenSUSE Linux based servers


Yum is an awesome util to install various linux based binaries. However, OpenSUSE missed it. Here I mention a workaround on how to get it and start enjoying using yum.


STEPS : (RPM Based installation)

Step #1 Download dependent RPMs including yum
Step #2 Install the RPMs


#1 Download yum and all its dependencies from this link:
http://download.opensuse.org/distribution/10.2/repo/oss/suse/i586/

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

#2. Install them all using this command: -> rpm -Uvh (name of packages above)
but for yum-metadata-parser use -> rpm -Uvh --nodeps yum-metadata-parser

3. Prepare yum config file
a. -> cd /etc/yum.repos.d/
b. create file with .repo (ex: suse.repo) containing:
[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

4. yum is ready for usage.

Comments

Popular posts from this blog

sde-interview-ramp-up

Youtkit - Java Profiler