People using suse are familiar with yast. But in this article, I want to show how you can install yum, on your suse machine.
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.
  
Saturday, May 12, 2007
How to install yum on SuSE Linux 10.2
Labels:
openSuSE
Subscribe to:
Post Comments (Atom)
7 comments:
You're missing one dependency needed by yum:
libxml2-python
Thank you daniel for the info
Hi, thanksfor this Ireally miss yum.
The SuSE repository however apparently no longer has python-sqlite?
Best regards, Andy
alavarre at ids dot net
Thanks a lot: I am a huge Linux noob, but with this short tutorial I installed Yum and some RPM's and it worked like a charm!
Gr, Tuna Meister
(Rotterdam, the Netherlands)
Thanks this tutorial
It really helped. I was having some problems, where I thought yum was fully installed but I was missing one:
python-SQLite
Sorted now.
Doesn't work for me.
Config Error: File contains parsing errors: file://///etc/yum/repos.d/suse.repo
[line 7]: /oss/gpg-pubkey-a1912208-446a0899.asc
If you got that parsing error on line 7, its because you copied and pasted the text into the file and the line got broken between suse.repo and /oss/...
just merge the lines back together. good to go!
Post a Comment