Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-15-2010, 06:58 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
where is installation palace in linux

hi everybody there I'm very new to Linux ,can any body tell me where the program installed in Linux? Like in window whenever i install a software most of the the operating system ask me a place where to store the program or by default in programs files.
Now I'm using Linux(Ubuntu) i use the command apt -get install to install software or dpkg -i to install the package . I don't know where the software store its files in Linux or what is the default place to install the software ?can we use user defined path to install the software .what happen if we install software on user defined location did it still work? why we use root account to install the software ? How to install Library?
Old 11-15-2010, 07:04 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If you know what is the name of the package you installed, you can find out the install location of the program by which <package-binary>.
You can install software on a user defined location as well and it will work without issues. Root is the administrator of the system. Just like the administrator account in Windows. Difference is that, you do not use root account to login into the system. You just use it for the system maintenance and administration. A normal user does not have the rights to install software by default. But he/she can be given those rights using sudo. You can very roughly compare sudo to Run As option in windows.
Old 11-15-2010, 07:17 AM   #3
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
On most distributions, software is installed under /usr. Unlike in Windows, where each program has its own folder, in Linux executables go in /usr/bin, libraries in /usr/lib, data files in /use/share, and there are others.

If the application developers decide they want a more Windows-like approach, with a folder dedicated to their application, that is usually placed under /opt.

For more information, look for and read the Filesystem Hierarchy Standard.
Old 11-15-2010, 07:45 AM   #4
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,273

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Sometimes programs also are placed in /opt.
Old 11-15-2010, 08:14 AM   #5
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185

Welcome to LQ!

I suggest that you look at the links 2,7,8,& 9 below to aid you to gaining some understanding;

1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

Last edited by onebuck; 11-15-2010 at 09:10 AM. Reason: correct font errors
Old 11-15-2010, 08:36 AM   #6
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
dpkg --listfiles <package_name> (where <package name> is replaced with an actual package name without the < > delimiters) will list all the files in the package including the directories they are in. Many of the directories follow the conventions of the Linux Filesystem Hierarchy (LFH) which should answer you question. The LFH is methodical but package designers do not always follow its recommedations exactly.
Old 11-16-2010, 07:47 AM   #7
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
An easy way of knowing what and where you installed is entering synaptic, locate the package you just installed, right button->properties->installed files
It will show you the files that the package contains, where had been copied, and will help you learn how this stuff works


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
Palace server install and works but little confused about 1 aspect needs help wolfsar Linux - Server 4 06-20-2011 06:07 AM
palace installation robinriordan Linux - Software 1 05-09-2005 02:52 PM
snes9x + zelda a link to the past. Monkey in dark palace never found! WTF! RHLinuxGUY Linux - Games 4 11-27-2004 01:36 PM
Wine + VNC + Golden Palace problem CartersAdvocate Slackware 3 09-01-2004 12:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration