LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2006, 12:39 PM   #1
ayteebee
Member
 
Registered: Jul 2005
Location: Derbyshire
Distribution: Originally Suse 9.1 Professional, currently Knoppix 3.7, migrating to Slackware
Posts: 75

Rep: Reputation: 16
Question Installed LAME, command 'lame' works but lame's not in any program directories!


I downloaded LAME from SourceForge and installed it using the following:

ROOT@/downloads/lame_3.97b2> gunzip lame-3.97b2.tar.gz
ROOT@/downloads/lame_3.97b2> tar -xf lame-3.97b2.tar
ROOT@/downloads/lame_3.97b2> cd lame-3.97/
ROOT@/downloads/lame_3.97b2/lame-3.97> ./configure
ROOT@/downloads/lame_3.97b2/lame-3.97> make
ROOT@/downloads/lame_3.97b2/lame-3.97> make install

It seemed to work fine and the command 'lame' works fine.

The problem is that none of the following commands work:

/usr/lame
/usr/bin/lame
/usr/sbin/lame
/bin/lame
/opt/lame

So where is the program installed? I'm using Suse 9.1 if that's any help.

"rpm -qi lame" gives:
"package lame is not installed"

The program pac cannot find it either, which kinda messes up my plans for converting all my wav music to mp3.

So 1, where is lame? and 2, how do I find out where a program is installed (instead of having to go through all the possiblities and using trial and error)?
 
Old 05-23-2006, 12:43 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
when you run "make install" it will clearly show where it is placing the binaries. default location for a tarball is /usr/local/bin/. your rpm command will clearly not work as it's not an rpm...
 
Old 05-23-2006, 12:46 PM   #3
ayteebee
Member
 
Registered: Jul 2005
Location: Derbyshire
Distribution: Originally Suse 9.1 Professional, currently Knoppix 3.7, migrating to Slackware
Posts: 75

Original Poster
Rep: Reputation: 16
Dude, you rock!

Thanks!
 
Old 05-23-2006, 12:48 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
$which lame (for the app itself)
$whereis lame (for all the locations it has installed stuff to)
 
Old 05-23-2006, 01:20 PM   #5
ayteebee
Member
 
Registered: Jul 2005
Location: Derbyshire
Distribution: Originally Suse 9.1 Professional, currently Knoppix 3.7, migrating to Slackware
Posts: 75

Original Poster
Rep: Reputation: 16
Hey, that's pretty cool... Thanks!
 
Old 05-23-2006, 01:50 PM   #6
ayteebee
Member
 
Registered: Jul 2005
Location: Derbyshire
Distribution: Originally Suse 9.1 Professional, currently Knoppix 3.7, migrating to Slackware
Posts: 75

Original Poster
Rep: Reputation: 16
That $whereis command, does it find where all the config files and stuff for that program are installed? (The manual page says it only finds documentation and binaries).

Is there a way I can I find all the files a program uses? Ok, this is Linux, so not 'is there a way', but '*how* do I' find all the files a program uses?
 
Old 05-24-2006, 02:19 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there's is no way do this is completely, but then this might depend what you are referring to. you can use the ldd tool on a binary file to see what libraries it is linked to for function calls etc... but then this is in a totally different space to say, config files, which are arbitrary strings in a file. so files get opened in very different ways...
 
Old 05-24-2006, 05:21 PM   #8
ayteebee
Member
 
Registered: Jul 2005
Location: Derbyshire
Distribution: Originally Suse 9.1 Professional, currently Knoppix 3.7, migrating to Slackware
Posts: 75

Original Poster
Rep: Reputation: 16
Yeah, I was actually thinking more of config files, but this still seems useful!

Quote:
files get opened in very different ways...
Ahh, looks like it's probably more trouble than it's worth. I'll probably come back to it sometime in the future - right now I have revision to do! :-( . Think I've kind of led the thread off topic a little anyway!

Probably best close it here. Thanks for all your help guys! You just never stop learning...
 
Old 05-24-2006, 05:48 PM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
If you've got a bunch of files to convert, you might get some ideas from the people who have helped me here, here, and here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
darkice with lame support can't find lame h2gofast Debian 4 03-17-2006 11:20 AM
lame dfowensby cAos 3 09-14-2005 08:11 PM
mp3 isn't ripping in grip on fedora core 3 with lame installed dr_zayus69 Linux - Hardware 6 07-05-2005 10:00 AM
10.1 - Lame High-gain Linux - Newbie 5 06-22-2005 01:30 AM
Is Lame installed (correctly) ? skr Linux - Newbie 5 05-26-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration