943,901 Members | Top Members by Rank

Ad:
Jul 23rd, 2007
0

Installing software on ubuntu

Expand Post »
Hey

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

Thanks
Similar Threads
Reputation Points: 16
Solved Threads: 2
Junior Poster
Don Gino is offline Offline
102 posts
since Oct 2006
Jul 23rd, 2007
0

Re: Installing software on ubuntu

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.
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is online now Online
16,520 posts
since Apr 2005
Jul 23rd, 2007
0

Re: Installing software on ubuntu

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
Reputation Points: 16
Solved Threads: 2
Junior Poster
Don Gino is offline Offline
102 posts
since Oct 2006
Jul 23rd, 2007
0

Re: Installing software on ubuntu

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.
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is online now Online
16,520 posts
since Apr 2005
Jul 23rd, 2007
1

Re: Installing software on ubuntu

Click to Expand / Collapse  Quote originally posted by jbennet ...
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.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Jul 23rd, 2007
0

Re: Installing software on ubuntu

as with regards to installing from source code on ubuntu:

to do so you must install the "build-essential" metapackage
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is online now Online
16,520 posts
since Apr 2005
Jul 24th, 2007
0

Re: Installing software on ubuntu

thanks a lot, that was big help
Reputation Points: 16
Solved Threads: 2
Junior Poster
Don Gino is offline Offline
102 posts
since Oct 2006
Jul 24th, 2007
0

Re: Installing software on ubuntu

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
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is online now Online
16,520 posts
since Apr 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: Remove old kernels?
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: The 40 billion bits per second chip heralds dawn of tera-scale computing





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC