LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-23-2003, 12:59 AM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
apt-get mplayer installs binary at what location?


I did an "apt-get install mplayer", where does the binary get installed? Is it in /usr/bin or /usr/local/bin?

The reason I'm asking is because about 8 months ago I downloaded some mplayer source tarball and installed it manually, but I don't remember where it installed to. So I want to run only the apt-get version of mplayer that I just installed, not the source tarball version that is older.

Thanks.
 
Old 08-23-2003, 01:08 AM   #2
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
"whereis mplayer"
 
Old 08-23-2003, 01:29 AM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
[sig@space sig]$ whereis mplayer
mplayer: /usr/bin/mplayer /etc/mplayer /usr/lib/mplayer /usr/local/bin/mplayer /usr/local/etc/mplayer /usr/local/lib/mplayer /usr/share/mplayer /usr/share/man/man1/mplayer.1.gz

So I'm asking, which one is it?

A) /usr/bin/mplayer

B) /usr/local/bin/mplayer
 
Old 08-23-2003, 03:24 AM   #4
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 337

Rep: Reputation: 31
/usr/local........but theres an executable in /usr/bin

apt-get defaults to rpm -Uvh so it should have upgraded the prior version.

Last edited by deepsix; 08-23-2003 at 03:29 AM.
 
Old 08-23-2003, 01:25 PM   #5
nsong
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9.0
Posts: 7

Rep: Reputation: 0
It's usually better to use "which <command>" rather than whereis as "which" shows the the same information, but the first one is the one that is currently being used.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
where is the common location of ffmpeg binary soundengineer Red Hat 3 11-28-2005 04:55 PM
Need APT Redhat 8.0 Binary w/all dependancies hdokes Linux - Software 0 01-29-2005 06:11 PM
Correct Procedure and Location for Installs Paul Fox Linux - Newbie 12 06-20-2004 12:23 AM
location of apt-get logs theoldman Fedora 1 05-17-2004 08:02 PM
apt-get dist-upgrade says there are conflicts between attempted installs of ... mikeZig Linux - Software 2 04-25-2004 11:11 PM


All times are GMT -5. The time now is 08:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration