Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 504
  • Last Modified:

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?
0
superlative
Asked:
superlative
  • 6
  • 2
1 Solution
 
evilrixSenior Software Engineer (Avast)Commented:
Try using locate: -

locate ffmpeg
locate ffmpeg-php
locate "lame mp3 encoder"
locate flv2tool
0
 
evilrixSenior Software Engineer (Avast)Commented:
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


0
 
evilrixSenior Software Engineer (Avast)Commented:
Also, if they are in the path you can use which: -

which ffmpeg
which ffmpeg-php
which "lame mp3 encoder"
which flv2tool
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
superlativeAuthor Commented:
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.
0
 
evilrixSenior Software Engineer (Avast)Commented:
Ah, if you have the rpm names, try this...

rpm -qil <PACKAGENAME>

This will list the package info and files included
0
 
evilrixSenior Software Engineer (Avast)Commented:
E.g.


$ rpm -qil telnet
Name        : telnet                       Relocations: (not relocatable)
Version     : 0.17                              Vendor: Red Hat, Inc.
Release     : 31.EL4.3                      Build Date: Tue 07 Jun 2005 16:46:13 BST
Install Date: Wed 22 Nov 2006 09:15:17 GMT      Build Host: tweety.build.redhat.com
Group       : Applications/Internet         Source RPM: telnet-0.17-31.EL4.3.src.rpm
Size        : 87254                            License: BSD
Signature   : DSA/SHA1, Thu 09 Jun 2005 15:19:30 BST, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : The client program for the telnet remote login protocol.
Description :
Telnet is a popular protocol for logging into remote systems over the
Internet. The telnet package provides a command line telnet client.
/usr/bin/telnet
/usr/share/man/man1/telnet.1.gz

Open in new window

0
 
superlativeAuthor Commented:
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?
0
 
evilrixSenior Software Engineer (Avast)Commented:
To page list: -

rpm -qa | less

To search list: -

rpm -qa | grep PATTERN | less
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now