LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2006, 06:20 PM   #1
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Rep: Reputation: 0
Newbish RPM Problem


This is quite possibly the most embarrassing question ever besides "Mommy, where do babies come from." But being a legit FC5 newb I need to ask this.

After I install an RPM, how do I access the program that it installed?

I installed Bittorrent and AVG for Linux and now I cant find the programs. They arent in the Apps menu and I dont want to go poking around the system files without knowledge of what they are.

Please help me and try not to point and laugh too much. It hurts enough to be a newb.
 
Old 05-16-2006, 07:10 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you have kpackage installed then you can type ' kpackage name_of_rpm.rpm '
If not then this will work. Goto where the rpm is and run the following commands.
rpm2cpio name_of_rpm.rpm > nameofrpm.cpio
cpio -id --verbose < name_of_rpm.cpio
or
cpio -it --verbose < name_of_rpm.cpio

If a long list use
cpio -id --verbose < name_of_rpm.cpio > name_of_rpm.txt
This will generate a txt file with the files listed.

Now once you have the list look for something in /usr/bin. Usually that is where most executable files are put. Some can be in /usr/sbin, /sbin, or others. Might see there are any readme or docs in the list and read those.

Goto the developers site and read the install docs or faq. You can also download the source file and open it and read the readme, install files in them as well.

Brian1
 
Old 05-16-2006, 08:01 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by brandnew427
This is quite possibly the most embarrassing question ever besides "Mommy, where do babies come from." But being a legit FC5 newb I need to ask this.

After I install an RPM, how do I access the program that it installed?

I installed Bittorrent and AVG for Linux and now I cant find the programs. They arent in the Apps menu and I dont want to go poking around the system files without knowledge of what they are.

Please help me and try not to point and laugh too much. It hurts enough to be a newb.
So this is not an easy question. Some packages don't have a menu icon. Most GUI apps come with a menu entry but it is not always named or organized in a consistent way.

Code:
rpm -ql <package name>
will show you the files in a package; if it has one like "/usr/share/applications/blahblah.desktop" then it probably has an icon in the menu somewhere. You can use a menu editor like Alacarte to edit your menus if you want.

Also, did you install BitTorrent from Fedora Core?
 
Old 05-17-2006, 01:21 AM   #4
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
rpm -q -a | grep -i <packagename>

Use that ^^ if you're not sure about the package's exact name. Just substitute "packagename" there with any part of the package's name to search through the package list with grep. For example... "rpm -q -a | grep -i bit" to search for bittorrent.

Once you've found the package, you can use "rpm -ql <packagename>" as previously mentioned. If the package has a lot of files, you might also want to pipe out the output to less (i.e "rpm -ql gaim | less").
 
Old 05-17-2006, 05:33 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
My fault I thought I read you wanted to see the contents of an rpm package before it was installed. Then either rpm -ql and rpm -q -a | grep -i will work if the packages is installed already. Must have had another post in my head.

Brian1
 
Old 05-17-2006, 06:14 PM   #6
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
FC5 doesnt have Bittorrent on its apps list. I downloaded the rpm at bittorrent.com

I may not have been installing it properly.

Do i have to type "rpm -Uhv /home/blake/desktop/BitTorrent-Stable.rpm" and is the terminal case sensitive?

Anyway Ive never been able to install through the terminal. I always pulled the double click method which apparently doesnt work. The terminal always told me "error: open of BitTorrent-Stable.rpm failed: No such file or directory"

Last edited by brandnew427; 05-17-2006 at 06:23 PM.
 
Old 05-17-2006, 06:43 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Yes it is case senstive. Goto the directory it is in and if it is the only rpm this will work great. Once there login as root ' su '. You need to be root to install. Now use the command ' rpm -ivh *.rpm ' or if more rpms there use ' rpm -ivh B*.rpm '. Post any errors or missing dependencies. -i is for install and -U is for upgrade. You can test before installing using --test. ' rpm -ivh *.rpm --test '.

Brian1
 
Old 05-17-2006, 07:26 PM   #8
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
/bin/bash: rpm -ivh BitTorrent-Stable.rpm: command not found

I get this error then i go to it's folder and do an executable command of 'rpm -ivh BitTorrent-Stable.rpm'
 
Old 05-17-2006, 08:21 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I see one thing you did. Do not include the ' ' symbols. I use them to isolated the complete command from the sentence so as for one to know when it begins and ends.


rpm -ivh BitTorrent-Stable.rpm

Brian1
 
Old 05-17-2006, 09:10 PM   #10
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
i tried it both ways

also I found the bittorrent installer from my FC5 software selection.
 
Old 05-18-2006, 04:21 PM   #11
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Tried it both ways and got the same error?
And was root when you issued the command?
And the rpm exectuable is in /usr/bin?

If all the above is correct and in place then use this command as root in the directory it is in.
/usr/bin/rpm -ivh B*.rpm

If you still get the same error I am at a lost.

Brian1
 
Old 05-18-2006, 04:35 PM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You don't have to install the official bittorrent package. You can use Azureus which is in the FC5 repos or Ktorrent.
 
Old 05-18-2006, 04:50 PM   #13
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
Thats the problem... the rpm wasnt in usr/bin

I perfer bittorrent over azureus because bittorrent takes up less resources when it runs.
 
Old 05-18-2006, 05:50 PM   #14
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
My fault it my be in /bin. Is it there?

Brian1
 
Old 05-18-2006, 06:23 PM   #15
brandnew427
LQ Newbie
 
Registered: Aug 2005
Location: Wisconsin
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
I am the administrator (little badge in the corner says so) and it wont let me copy the rpms to that folder.

"Error while moving items to "/bin". You do not have permissions to write to this folder."
 
  


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
Very very newbish question Kryshu2 MEPIS 8 07-12-2005 11:53 PM
Very Newbish Question d3c1us MEPIS 5 07-05-2005 01:47 AM
A few newbish questions... Fewyn Morisato Linux - Newbie 9 10-27-2003 10:58 AM
A really newbish Mandrake 9.1 question Ekim Gram Linux - Newbie 3 05-08-2003 11:07 PM
Newbish Question Oricon Linux - Newbie 5 03-09-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 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
Open Source Consulting | Domain Registration