LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2007, 01: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, 01:49 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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, 03: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, 04:59 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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, 06:24 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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, 06: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: 62
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, 02:34 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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-24-2007, 11:00 PM   #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-24-2007 at 11:01 PM.
 
  


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

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

All times are GMT -5. The time now is 02:23 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