PDA

View Full Version : [ubuntu] how do i change installation directory



rohan4b
May 28th, 2009, 12:05 PM
ok so i am new to this whole linux thing. i have decided to switch from windows. how do i select where to install my apps. any help would be greatly appreciated.

kpkeerthi
May 28th, 2009, 12:10 PM
Most the stuff will go to /usr/bin and /usr/lib. Unlike the other OS, the file system hierarchy is pretty standard in UNIX/LINUX. For more info, see http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/

When you install a package (a deb file in Ubuntu), the package contents go to a set of pre-determined locations in the filesystem. This information is sort of hardwired in the package and cannot and is not adviceable to change.

For beginners, I suggest you spend some time reading
http://ubuntuforums.org/showthread.php?t=1052065
https://help.ubuntu.com
and save yourself some frustration.

Andre Murphy
May 28th, 2009, 12:15 PM
Ah I understand now I wondered that as well !! So a follow up question. If you install an app and it doesn't create an icon in the menu is it possibe to go to the bin or lib directory and create a link in the menu?
Ta

Andre

kpkeerthi
May 28th, 2009, 12:19 PM
Yes. Right-click on "Applications" on the top-panel and select "Edit Menus".

Select the menu category and drill down to where you want a new menu item created. Now, select Create New Item, and specify the Name, Command, Description and a menu icon. You will be all set.

If your application is /usr/bin/my-fav-app, you would specify that under "Command"

rohan4b
May 28th, 2009, 12:50 PM
i only want to change the location as os is installed on an ssd only 4gb big.

LowSky
May 28th, 2009, 01:05 PM
what is great about Linux is that you can create partitions during the installation so lets say an application puts its files in your /home directory, creating a separate home on another drive will save space for root better known as /. you can do the same for /usr as well, heck any folder location.

Andre Murphy
May 28th, 2009, 03:17 PM
Yes. Right-click on "Applications" on the top-panel and select "Edit Menus".

Select the menu category and drill down to where you want a new menu item created. Now, select Create New Item, and specify the Name, Command, Description and a menu icon. You will be all set.

If your application is /usr/bin/my-fav-app, you would specify that under "Command"

Ta will have a go with that

Cheers

Andre