LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using a program after installing it (https://www.linuxquestions.org/questions/linux-newbie-8/using-a-program-after-installing-it-231481/)

stab 09-16-2004 03:46 PM

Using a program after installing it
 
Hello,

This question may sound stupid, but here it is :
I installed a program using rpm but now i can't find how to run it.
I installed a package named parchive2-0.3-1mdk (it's for managing .par files,
also known as parity files)
I tried the parchive command and the par command but none of those worked.

Of couse I would probably find the command by searching the internet for this
specific program, but I am wondering if there is a way to know the command
only with the .rpm file.

The same question would apply to .tar.gz files, but I beleive there usualy is a
readle file in this kind of package.

Thanks in advance for your help.

Tinkster 09-16-2004 03:57 PM

This comes up SO often, I should add this
to my instant-replies :) I've just posted it
yesterday....

Code:

rpm -ql `rpm -qa | grep -i <package you're after>` | grep bin
This will return you the name(s) of relevant
executables in about 95% of all cases...


Cheers,
Tink

jschiwal 09-16-2004 04:02 PM

The rpm has a mdk suffix, so I am assuming you are using mandrake. You can use the command 'urpmq' also to query the contents of the rpm. Or you can use the mcc software installer program. Select the deinstall module ( to view files that are installed ). Right click in the right-hand side window and select 'more info'. The files installed will be displayed.

Another option is to use the kpackage program. It will display the installed files also.

stab 09-17-2004 06:21 AM

Thank you both, it's working great.


All times are GMT -5. The time now is 11:29 PM.