LinuxQuestions.org
Help answer threads with 0 replies.
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 09-06-2006, 12:59 PM   #1
columbiasts1
LQ Newbie
 
Registered: Aug 2006
Distribution: Debian stable
Posts: 29

Rep: Reputation: 15
installing deb packages


I am running Debian "Sarge" on my machine and I am new to the linux world. My question is in regards to the installation path of a deb package. If I were to download a deb package and install it, what directory would it install in? I have researched countless sites on the net but nothing tells me what the default installation path is. I find plenty of sites that talk about how you can find where a package installed. The reason I ask this question is I am curious if I am putting packages in the correct file. From what I see, most users install packages in /usr/local directory. Is this the default install path for every deb package or does the deb package have a script that tells it where it needs to place all the contents. Am I able to open a deb package up and find a README file that will tell the installation path.
 
Old 09-06-2006, 01:36 PM   #2
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
Most packages install various pieces of the application in different places. The actual binary file will most often go to /usr/bin/

To see where the various elements of a package will be placed, install apt-file; (as root) apt-file update; then $ apt-file <package-name>

Last edited by rickh; 09-06-2006 at 01:44 PM.
 
Old 09-07-2006, 09:47 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
To see what is "in" a .deb file before installing it, you can open a terminal and use this command:

Code:
dpkg --contents my_download.deb
Typical .deb files will install different types of files to different locations. It seems like madness at first, but the filesystem layout is pretty logical. To find out more about what files should go where, you could have a browse of the the FHS standard. This describes in detail what each directory is for, and the rationale behind it.
 
  


Reply

Tags
deb, install, packages, path


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
Installing .deb packages excalibur18 Debian 1 03-17-2006 11:34 AM
command for installing single DEB packages bob_man_uk Debian 5 02-20-2004 02:11 PM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM
problems un/installing .deb packages Rodcl Linux - Distributions 6 11-09-2002 01:24 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

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

All times are GMT -5. The time now is 08:48 PM.

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