Solved

Redhat Library locations

Posted on 2007-11-30
8
492 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
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.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
If you don't know how to downgrade, my instructions below should be helpful.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 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

10 Experts available now in Live!

Get 1:1 Help Now