Solved

Redhat Library locations

Posted on 2007-11-30
8
497 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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
 
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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
If you don't know how to downgrade, my instructions below should be helpful.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

622 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