Solved

Redhat Library locations

Posted on 2007-11-30
8
491 Views
Last Modified: 2013-12-06
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
Comment
Question by:superlative
  • 6
  • 2
8 Comments
 
LVL 40

Expert Comment

by:evilrix
ID: 20381298
Try using locate: -

locate ffmpeg
locate ffmpeg-php
locate "lame mp3 encoder"
locate flv2tool
0
 
LVL 40

Expert Comment

by:evilrix
ID: 20381316
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
 
LVL 40

Expert Comment

by:evilrix
ID: 20381325
Also, if they are in the path you can use which: -

which ffmpeg
which ffmpeg-php
which "lame mp3 encoder"
which flv2tool
0
 

Author Comment

by:superlative
ID: 20381338
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 40

Expert Comment

by:evilrix
ID: 20381368
Ah, if you have the rpm names, try this...

rpm -qil <PACKAGENAME>

This will list the package info and files included
0
 
LVL 40

Accepted Solution

by:
evilrix earned 500 total points
ID: 20381382
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
 

Author Comment

by:superlative
ID: 20381489
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
 
LVL 40

Expert Comment

by:evilrix
ID: 20381513
To page list: -

rpm -qa | less

To search list: -

rpm -qa | grep PATTERN | less
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now