Solved

Redhat Library locations

Posted on 2007-11-30
8
490 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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