LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing in other partitions (https://www.linuxquestions.org/questions/linux-newbie-8/installing-in-other-partitions-635018/)

arunvk 04-13-2008 06:01 AM

installing in other partitions
 
hi,

is there a way to install applications in another partition other than the root partition. my linux partition is almost full and cannot afford to install in this partition.

thanks.

bigrigdriver 04-13-2008 07:59 AM

Since you have another partition available, you might consider moving /usr to that partition. If the partition is large enough to hold /usr, and since a significant portion of application files go into /usr/bin, /usr/sbin, /usr/local, etc, having /usr in it's own partition seems a good idea.

zjem 04-13-2008 02:40 PM

File system full | Partitioning options
 
You could create or use a different partition and create symlinks for the app you want to install elsewhere but it would be messy and potentially problematic. There are three alternate options that come readily to mind;

Extend the Partition/file system
Create or use a different partition/file system moving '/usr' and updating fstab
Uninstall unused apps and files

In order to decide which is the most appropriate solution we will need more information. Please post the output of the following:

fdisk -l
df -k

and if you are using Logical Volume Management:

vgdisplay
lvdisplay

Once we have a better idea of how your filesystem is layed out you should get a more definitive answer.

-Joe

okos 04-13-2008 10:10 PM

I ran into that problem.
I was very new and was not sure of partition sizes.
Root "/ " was too small.
I ended up backing up all of my info.
Re partitioning and fresh install.

arunvk 04-14-2008 08:57 PM

bigrigdriver,

how do i change the /usr folder to another partition. my other partitions are in FAT32.

zjem,

heres the output for df -k

Code:

Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/sda6            10161804  7124716  2512568  74% /
tmpfs                  1032976        0  1032976  0% /dev/shm
/dev/sda1            12586892  11544720  1042172  92% /win/c
/dev/sda5            92037952  33410560  58627392  37% /win/d
/dev/scd0              4556850  4556850        0 100% /media/DVD_VIDEO
/dev/sdb1              1970372  1788200    182172  91% /mnt

thanks for the immediate response.


All times are GMT -5. The time now is 08:42 AM.