LinuxQuestions.org
Review your favorite Linux distribution.
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 06-26-2005, 07:31 PM   #1
dink27
Member
 
Registered: Jun 2005
Distribution: Mandriva 2007
Posts: 41

Rep: Reputation: 15
installing software


OK I've been on mandrake 10.1 running kde for nearly 2 weeks and I'm starting to get the hang of things. What I want to know is how do I change the installation directory of software. is it different between rpms and tars? is there a setting to make the system allways ask me where to put software? is there a reason that it has to be istalled in the defual folders? the reasaon I want to change installation directories is that all the software is going on my fast little 20gig that I wanted for my OS, nothing is going on my big slower 70gig slave drive.
Thanks,
DINK
 
Old 06-26-2005, 09:16 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Software install directories are standard, and, unless you really know what you are doing, you should not attempt to change this. (HINT: If you ask this question, you don't know.)

Program executables are always installed in /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin and /usr/local/sbin. There is no good reason for changing this. They are only ~100mb. Also, there is no way to change the install directory when you use packages. However, you won't ever fill 20GB with programs. The executables and libraries are ~1gb, not more.

The rest is data, and goes in several places under /usr and /var. All configuration goes in /etc (with the exception of user-specific settings, which go in /home/<username>). Your files are in /home/<username>.
Have a look at:
http://www.comptechdoc.org/os/linux/...ilestruct.html
http://www.tuxfiles.org/linuxhelp/linuxdir.html

You will have to partition your slave and mount partitions to where you need the most space. Please post the output of:
Code:
mount
df -h
cd /; du -hcs *
cd /usr; du -hcs *
This will show where you need space.

Last edited by stefan_nicolau; 06-26-2005 at 09:25 PM.
 
  


Reply


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
Help with installing software scagman Linux - Software 2 05-05-2005 05:43 PM
Installing Software wewereright1054 Linux - Software 4 10-26-2004 03:43 AM
Installing Software trophy Linux - Newbie 4 10-07-2004 05:16 PM
Installing software sharpie Slackware 3 03-12-2004 12:16 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM

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

All times are GMT -5. The time now is 06:41 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