RSS Forums RSS
Please support our Kernels and Modules advertiser: Lunarpages Linux Web Hosting
Views: 2436 | Replies: 7 | Solved
Reply
Join Date: Oct 2006
Location: Australia
Posts: 102
Reputation: Don Gino is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Don Gino's Avatar
Don Gino Don Gino is offline Offline
Junior Poster

Installing software on ubuntu

  #1  
Jul 23rd, 2007
Hey

I was wondering if there was anyway, when installing software from the packet manager, how can I choose the installation path directory?

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 332
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Installing software on ubuntu

  #2  
Jul 23rd, 2007
you cant . In linux there is no real single instillation directory - the correct things just always go to the correct places.

some data goes to /etc
some to /usr - things like print spool also the webserver root gors to /var/www
/sbin is system
/bin is commands
/boot is kernel
/dev is where devices live (e.g the cd can be /dev/hdc)
/lib is shared libaries
/home is user area
/mnt mounted filesystems
/opt user-installed programs like kde
/root roots home
/tmp temporary files
Last edited by jbennet : Jul 23rd, 2007 at 4:48 am.
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Oct 2006
Location: Australia
Posts: 102
Reputation: Don Gino is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Don Gino's Avatar
Don Gino Don Gino is offline Offline
Junior Poster

Re: Installing software on ubuntu

  #3  
Jul 23rd, 2007
Ok thanks, that was help. I made a seperate partition that I would use for my software on windows and ubuntu. Hopefully 10GB is enough
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 332
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Installing software on ubuntu

  #4  
Jul 23rd, 2007
you arent in trouble if you made a seperate one. Using the mount command you can mount whatever directory you want onto that partition. To make it permenent you need to edit the fstab file.

let me explain:

on my system i have debian (similar to ubuntu) and it has 2 partitions and one partition holds /home and the other one holds everything else.

(Home is like c:\docuiments and setings is on XP, its where all your music etc... lives)

the home is 30gb and the other one is 10gb. (3-6gb is enough to hold the rest of the system)
Last edited by jbennet : Jul 23rd, 2007 at 9:16 am.
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,556
Reputation: John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all 
Rep Power: 17
Solved Threads: 284
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: Installing software on ubuntu

  #5  
Jul 23rd, 2007
Originally Posted by jbennet View Post
you cant . In linux there is no real single instillation directory - the correct things just always go to the correct places.

That's not completely true. While I don't believe there is a way to control where apt-get installs stuff, different Linux distros have slightly different standard install locations (especially bin folders), which is normally handled by the package manager. However, if you're installing from source, you do have an option to control where to install stuff.

As for the actual problem, do what jbennet said -- mount the partition as one of the directories in the root filesystem (/usr would probably be the best one), and edit your /etc/fstab file to automatically mount it at boot time.
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 332
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Installing software on ubuntu

  #6  
Jul 23rd, 2007
as with regards to installing from source code on ubuntu:

to do so you must install the "build-essential" metapackage
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Join Date: Oct 2006
Location: Australia
Posts: 102
Reputation: Don Gino is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
Don Gino's Avatar
Don Gino Don Gino is offline Offline
Junior Poster

Re: Installing software on ubuntu

  #7  
Jul 24th, 2007
thanks a lot, that was big help
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,441
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 332
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Installing software on ubuntu

  #8  
Jul 24th, 2007
if you want to resize your partitions or make / delete them (slight risk of data loss!!!!!) then you should get a program called GParted. Its the linux equivilent to Partition Magic and is available via synaptic
TRY MY SUGGESTIONS AT YOUR OWN RISK

Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:15 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC