Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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:
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.
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?
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").
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:
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.
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.
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:
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 '.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.