LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2006, 10:48 PM   #1
iroybk
LQ Newbie
 
Registered: Nov 2006
Location: AZ
Distribution: SuSE 10.1
Posts: 14

Rep: Reputation: 0
how do I install a .rpm suse 10.1


the subject is my question how do I install a .rpm in suse 10.1 I tried using the zeninstaller but it didn't work how do I do it in konsole the rpm I would like to install is in my /tmp directory. and will it install a short cut in the proper place in the menu?
 
Old 12-09-2006, 10:51 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You can install it with the command "sudo rpm -Uhv <rpmfilename>".

Also "sudo yast -i <rpmfilename>"
Also "rug install <rpmfilename>"
 
Old 12-11-2006, 08:10 AM   #3
iroybk
LQ Newbie
 
Registered: Nov 2006
Location: AZ
Distribution: SuSE 10.1
Posts: 14

Original Poster
Rep: Reputation: 0
Thank You jschwal I will try to remember that
 
Old 12-12-2006, 05:34 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The rpm command is on of them with endless options. However, you will probably use the -q "query", -e "remove", and -i or -U ( "install" and "Update") options, so remembering three sets of options will cover you 98% of the time.

rpm -qa | grep <part-of-package-name>
is a common command I use to see if a package is installed and lookup the different packages with similar names, such as "rpm -qa | grep xine" which will display packages with xine in them, which will include packages with plugins and libraries.

rpm -qi packagename will display information about a particular package. "rpm -ql packagename" will list the files on your system that the package installs. Another very handy option is to list which package installed a particular file on your system, for example:
rpm -qf /usr/lib/sgml-tools/linuxdoc-sgml.sty
sgmltool-1.0.9-924

You can also use your distro's packaging system to do all of this as well, however for packages that your distro doesn't supply, you may need to run the rpm command manually.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10.1 won't install SuSE rpm package alfredh SUSE / openSUSE 6 07-01-2006 09:32 AM
LIRC RPM Install On SuSE 10.0 x86_64 -Help- paradox101 Linux - Software 1 01-10-2006 04:05 PM
How Do I Install an src.rpm in SuSE toadatrix Linux - Software 3 04-23-2004 02:52 PM
RPM Install freezes in SuSE leemoreau Linux - Software 1 02-09-2004 03:14 PM
rpm install in Suse 9.0 pro it won't work... 666thorsten666 Linux - Newbie 2 11-03-2003 05:14 PM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration