Link to home
Start Free TrialLog in
Avatar of superlative
superlative

asked on

Redhat Library locations

I'm about to go the hell damn mad.

I have a redhat server. new to it. am a windows guy.

i am trying to find out where the following scripts have been installed on the server.

ffmpeg
ffmpeg-php
lame mp3 encoder
flv2tool

now the server setup installed these. can you tell me their default directory installed locations for redhat?
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Try using locate: -

locate ffmpeg
locate ffmpeg-php
locate "lame mp3 encoder"
locate flv2tool
If that fails try find...

find / -name <FILENAME> -print

e.g.

find / -name ffmpeg -print
find / -name ffmpeg-php -print
find / -name "lame mp3 encoder" -print
find / -name flv2tool -print


Also, if they are in the path you can use which: -

which ffmpeg
which ffmpeg-php
which "lame mp3 encoder"
which flv2tool
Avatar of superlative
superlative

ASKER

hi none of those work.
they show the /home/username/filethatwasdownloaded
and i can see the rpm's that were downloaded. they were installed via the rpm install for the package
i just cant locate wehre

and the above find/which and locate dont find them only the downloaded directory that has onlyt he .rpm file.
Ah, if you have the rpm names, try this...

rpm -qil <PACKAGENAME>

This will list the package info and files included
ASKER CERTIFIED SOLUTION
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
how to i view a list of installed packages? when i try to view installed packages it does thousands of lines, and i cant just pause page by page.... how do i pause page by page?
To page list: -

rpm -qa | less

To search list: -

rpm -qa | grep PATTERN | less