Click to See Complete Forum and Search --> : Need to locate program location installed by RPM
X-KAM-X
07-10-2003, 10:31 AM
I just download a software and install it with
rpm -vih XXXXXX
then it installed....
but i don't know where it installed in....
i mean which folder,
i search so many folder and cannot find it...
Can anyone tell me usually it will install where??
Or any command can help me find it??
thanks
oubipaws
07-10-2003, 10:40 AM
locate filename | more
that will show all files and directories with that name
mhacleth
07-10-2003, 10:46 AM
usually it is stored in your bins. check
/usr/local/bin/
or try the command 'which' (for searching executables)
for example you have just installed 'bluefish':
$ which bluefish
/bin/bluefish
/usr/bin/bluefish
/usr/local/bin/bluefish
as you can see it's in your bins
then to execute just type the filename at the command line
$ bluefish
and it will run.
Others are scripts that make the programs run. You type
$ ./bluefish
you must be inside the directory where this executable script is found.
to see the type of file
$file bluefish
Hope that helps.
;)
You may also visit
www.linux.org for introductory course on Linux
X-KAM-X
07-10-2003, 10:53 AM
Thanks!!!
But now i encounter other problem...
I just install JEXT
this is the installed path
/root/.jext
/root/.jext/xinsert
/usr/bin/jext
/opt/jext
/opt/jext/bin
/opt/jext/bin/icons
.
.
.
when i go to /usr/bin and type jext
it doesn't happen anything....
i go to /opt/jext/bin and type jext
it doesn't happen anything too...
Can i do anything to check what's happening ??
Or can anyone tell me why and help me solve it??
Icarus
07-10-2003, 10:54 AM
I had to change the title...it made no since
A few things to try other then locate and find are "man appname" type the first part of the app and hit TAB a couple times (completes the line or displays a list of everything that matches)
/usr/bin is usually where these go, if not at least a link.
What was the app called? Someone might know it by name
Icarus
07-10-2003, 10:56 AM
Try /usr/bin/jext or if trying to run it from the current directory use ./jext to specify it to use the current directory to find it
X-KAM-X
07-10-2003, 08:56 PM
I tried~
But it seems no any reaction...
I type
$ jext
or
$ ./jext
or
and other executable way
but it just nothing happen...
I am sure that i have install JAVA already...
Is there anything i miss out to do??
mdwatts
07-11-2003, 07:57 AM
You tried as mahdi suggested?
cd /usr/bin
jext
or
./jext
X-KAM-X
07-11-2003, 11:16 AM
[root@localhost root]# cd /usr/bin
[root@localhost bin]# jext
[root@localhost bin]# ./jext
[root@localhost bin]#
Just nothing happen...
But i am very sure that i install java...
Just haven't link the plug in into mozillar....
And i try the javac and java this command under java's bin directory, although i don't know how to set the path ~.~
.....what is the problem about Jext ?? :(
mdwatts
07-11-2003, 11:25 AM
rpm -ql packagename (without the version and extension)
will list the files installed by the rpm package.
You may be able to locate the documentation (if any) installed by the jext rpm package.