LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2009, 11:41 AM   #1
oakhill
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Ubuntu: where are new files installed by using apt-get


I use apt-get to install software in Ubuntu 9.04.

However, it does not show where are the new files?

How can I figure out where are those new installed files?

Following is the output, only show it installed, but I want to know what are the new files installed in hard drive, where are they?

Thanks!

$ sudo apt-get install valgrind
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libc6-dbg kcachegrind alleyoop
The following NEW packages will be installed:
valgrind
0 upgraded, 1 newly installed, 0 to remove and 259 not upgraded.
Need to get 23.5MB of archives.
After this operation, 58.5MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com jaunty/main valgrind 1:3.4.1-1ubuntu1 [23.5MB]
Fetched 23.5MB in 7min 42s (50.7kB/s)
Selecting previously deselected package valgrind.
(Reading database ... 105704 files and directories currently installed.)
Unpacking valgrind (from .../valgrind_1%3a3.4.1-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up valgrind (1:3.4.1-1ubuntu1) ...
 
Old 12-18-2009, 12:04 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Most things get installed to /usr/bin or /usr/sbin. Some main packages get installed to /bin or /sbin.

Or you can see what is in a package by downloading and using apt-file.
 
Old 12-18-2009, 12:05 PM   #3
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

Rep: Reputation: 31
I think /usr/lib contains the libraries of the installed packages, while /usr/bin contains the binaries.

Then in /lib and /bin are, respectively, the libraries and binaries of the essential packages for the system to (boot? perform minimally? not sure on this).
 
Old 12-18-2009, 02:05 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
The command

dpkg -L <package-name>

will show the files + locations.
 
Old 12-18-2009, 04:03 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 15.0
Posts: 8,235
Blog Entries: 61

Rep: Reputation: Disabled
This tells you where everything usually goes:

http://tldp.org/LDP/Linux-Filesystem...tml/index.html
 
Old 12-18-2009, 04:24 PM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
You can also use the apt-file program, which will also show you the files in packages that aren't yet installed.
 
Old 12-19-2009, 02:31 AM   #7
quinreis
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
If you are a newbie, you are probably using Synaptic to install software.
Open synaptic, and go to the settings > preferences menu.
Check the box that says "Show package properties in main window."
Now search for the package that you just installed.
When you select the package, look at the tab called "Installed Files"
By the way, all downloaded packages are stored in /var/cache/apt/archives/
 
  


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
Can APT show me list of files for not-installed pkgs? johnMG Debian 14 02-11-2020 11:20 PM
OpenSSL installed manually, but apt-get still wants to install it [Ubuntu 9.04] you-bunt-too? Linux - Newbie 2 08-29-2009 03:03 PM
Ubuntu Installed Without Network Connection: Apt and Synaptic Don't Work Peatmoss Ubuntu 5 10-10-2008 12:10 AM
howto search installed files from packaged via apt? reakinator Ubuntu 3 06-09-2008 01:47 AM
Installed usplash now apt-get broken (ubuntu drapper) dfwcomputer Ubuntu 1 09-21-2006 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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