LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-24-2007, 02:33 AM   #1
kehkok
LQ Newbie
 
Registered: Nov 2005
Posts: 20

Rep: Reputation: 0
Debian etch - Help on apt-get


Hi all,

I executed "apt-get install sourcenav", it installed properly.

But, how do I find out where are the executable binary files are kept?

Thank you.
 
Old 05-24-2007, 02:49 AM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Eh? Why do you want to mess with the binary files? If you do apt-get, it not only fetches the application but installs it too. There is nothing left to do after that (with the possible exception of a little configuration for some apps but that is nothing like installing them).

Anyway, if you do want to have a peek at the binary files, they get saved to a cache in your /var folder. That cache, by the way, can be cleaned from time to time when you don't see any reason to keep all those packages around. It's best done from the command line, not manually.
 
Old 05-24-2007, 04:51 AM   #3
kehkok
LQ Newbie
 
Registered: Nov 2005
Posts: 20

Original Poster
Rep: Reputation: 0
thx

Thx for reply.

During "apt-get install", it won't tell you that where are the important files that it copy to the destination folder. That's what I'm interested to find out. Even after, "apt-get install", is there a way to trace back where those files located?

Thx.
 
Old 05-24-2007, 05:59 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by kehkok
Thx for reply.

During "apt-get install", it won't tell you that where are the important files that it copy to the destination folder. That's what I'm interested to find out. Even after, "apt-get install", is there a way to trace back where those files located?

Thx.
You could use "locate sourcenav" from the command line to see where everything went. You don't need to be root to use locate.
 
Old 05-24-2007, 07:24 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,235

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
In addition to that:

"locate" does only work after an "updatedb". Unless you have updatedb in you cron, you have to run it manually and you have to THAT as root.

updatedb --prunepaths='/mnt'

Alternatively you can use find:

cd /
find . -name "*myprogram*"

but it takes much longer.

It is not an uncommon problem that you cannot find where apt put the binaries, and much more annoying is when apt installed binaries which do not match the package name. This happens sometime when installing packages like "network-tools" or so.

jlinkels
 
Old 05-24-2007, 07:46 AM   #6
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: 60
I think there is an option in apt-file to give you the same information, although like others above, I find it hard to imagine why you'd want it. You can always look at the Debian Packages website to see exactly what's included in the current version of any given package.
 
Old 05-24-2007, 03:34 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Most likely /usr/bin or /usr/sbin to find the files for an installed package dpkg -L package_name or if not installed and you have installed the apt-file program then ran apt-file update as root the apt-file list package_name will show you the files in the package before you install using search instead of list will find the package that contains the file you need comes in hand if compiling from source and the ./configure errors out not finding a header file.
 
Old 05-25-2007, 12:00 AM   #8
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
dpkg -L sourcenav

edit: repeat answer HappyTux already said it

Last edited by studioj; 05-25-2007 at 12:01 AM.
 
  


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
/etc/apt/sources.list on debian etch cccc Debian 3 03-30-2007 01:23 PM
"apt-get autoremove" in Debian Etch/Sid available? deepclutch Debian 1 12-27-2006 10:20 AM
Any apt repositories for Beryl for debian Etch/Sid deepclutch Debian 4 12-15-2006 05:14 PM
Apt trying to kill my Debian Etch!? noxious Debian 2 02-12-2006 11:29 AM


All times are GMT -5. The time now is 08:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration