LinuxQuestions.org
Review your favorite Linux distribution.
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 07-08-2005, 03:50 AM   #1
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Rep: Reputation: 15
rpm installation in SUSE v9.x


I'm very new, and yesterday d/l my first rpm package. I pressed the button for YaST to install it, and thought there would be some visible response, which there wasn't. My ignorant expectation was that it would have supplied some way to access the installed program.

To investigate, I started YaST > Software > Install/RemoveSoftware > InstallationSummary, where I found the name of the package listed (alone, of course). The floating hint said "....Not available for installation", which did not clear up the confusion.

What did YaST do (or not do)? What did I not do that I should have done?
 
Old 07-08-2005, 05:19 AM   #2
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Original Poster
Rep: Reputation: 15
Re: rpm installation in SUSE v9.x

Quote:
Originally posted by hanasi
I'm very new, and yesterday d/l my first rpm package. I pressed the button for YaST to install it, and thought there would be some visible response, which there wasn't. My ignorant expectation was that it would have supplied some way to access the installed program.

To investigate, I started YaST > Software > Install/RemoveSoftware > InstallationSummary, where I found the name of the package listed (alone, of course). The floating hint said "....Not available for installation", which did not clear up the confusion.

What did YaST do (or not do)? What did I not do that I should have done?

I neglected to mention that typing rpm -qa <package name> returns the correct name and version of the package. I understand this to mean that the package is properly installed. Why then can I not see a way to start the program? What must I do to remedy this?
 
Old 07-08-2005, 05:47 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
what package did you install? Is it not available in the menu? You could try entering the package name in a terminal window to see if it runs.
 
Old 07-08-2005, 09:10 AM   #4
hanasi
Member
 
Registered: Jul 2005
Distribution: SUSE Linux v9.2
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by reddazz
what package did you install? Is it not available in the menu? You could try entering the package name in a terminal window to see if it runs.
Thanks for your reply.

The package is an external one, not part of the distribution. It does not appear in the menu; if it did, there would not have been a question. I'll try your suggetion when I can boot to SUSE, at the moment the machine is running OS/2.

Perhaps you could tell me what _should _ happen after an installation such as I have described. There was no report at all from YaST after I pressed the "Let YaST install" button. I gather from your sentence that the program should appear in the Start menu, is that correct? In its first level, or somewhere else?

This program is a native one. Suppose it were a Java program. How would I set up an envelope for it to run in? This "SUSE 9 Bible" book ignores that scenario entirely. I would need a command file; have you a suggestion for where to find a model for such a script and how to use it?

Thanks again...
 
Old 07-08-2005, 11:18 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I don't use yast to install rpms manually, I do it in the command line so that I can see the output. ry doing the following,
Code:
$rpm -qa | grep -i packagename
$rpm -ql packagname
The first command checks that the package is installed and the second one lists all the files installed on your system belonging to that package. The executable should be in /usr/bin, /usr/local/bin or other appropriate directories.
 
Old 07-08-2005, 12:32 PM   #6
whitehawk
LQ Newbie
 
Registered: Dec 2004
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
I am running SUSE 9.2 too. Sometimes, when you right click on a rpm and select 'install with yast', it does not happen. I do not know if it is a bug and I don't really care. What I would do is use the terminal, login as root, cd to the rpm's directory and execute
Code:
rpm -Uvh <rpm name>
With this command, the old version of the package will automatically be uninstalled before the newer version is installed. Always use rpm -Uvh to install packages, since it works fine even when there are no previous versions of the package installed. If there are dependencies, it will also tell you what other packages are required for a successful installation.

Suppose you have a lot of packages (as rpms) present in a diectory (say /home/joe/rpms) then you need to add that directory to installation sources before you can install them using Yast [by the 'Yast2->Add/Remove Programs->search' method]. You can find the 'Change Installation Source' option under software category of Yast.

Hope this helps you!

Last edited by whitehawk; 07-08-2005 at 12:37 PM.
 
  


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
rpm installation paulr1984 Linux - Newbie 1 04-28-2005 07:25 AM
Help rpm installation !!! my-unix-dream Linux - Newbie 3 07-01-2004 03:37 AM
rpm file installation problem in Suse jiji1978 Linux - Newbie 1 06-17-2004 10:01 AM
RPM installation sanjiv Linux - Newbie 12 11-25-2003 10:00 AM
RPM installation rheza Slackware 8 04-04-2003 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

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