I'm about to install a linux distro. Wondering about which size to allocated to home and root. I know the home partition will generally contain the user's files and stuffs. I want to know: when installing a package, does it store on the root partition, or the home? That would help me to determine which size to allocate to root and home.

Update: Currently running Windows 8.1 Pro and Ubuntu on it. Windows 2 partitions: 200GB, 146GB. Ubuntu: 50GB, Swap 4GB. New linux distro (Kali 2.0) to be installed on 50GB of unformatted space

closed as off-topic by Rinzwind, chili555, Eric Carvalho, karel, Florian Diesch Aug 15 '15 at 18:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Rinzwind, chili555, Eric Carvalho, karel, Florian Diesch
If this question can be reworded to fit the rules in the help center, please edit the question.

  • what is hard disk size? and Is there any other OS installed on HDD? – Prashant Chikhalkar Aug 14 '15 at 9:14
  • Currently have Windows 8.1 Pro and Ubuntu 14.04 running Windows: 200GB, 146 GB (2 partitions) Ubuntu: 50GB, swap 4 GB About 50GB left for the new linux distro (Kali 2.0) – Eclipse22 Aug 14 '15 at 9:19
  • as you're having only 50 GB left on HDD, you can make it 30 GB of / (root) partition and 20 GB of /home partition. /home is optional. – Prashant Chikhalkar Aug 14 '15 at 9:45
  • Generally /home stores your personal settings for all programs (lie bookmarks, etc.). Normally programs are installed in /bin/, /usr/bin/, /sbin/./usr/sbin/. Apt stores the files it download in /var/cache/apt/archives. So, you might need a bigger / than /home, but it all depends on your use. Have a look at askubuntu.com/questions/379205/… – Ron Aug 14 '15 at 9:53
  • "New linux distro (Kali 2.0) to be installed on 50GB of unformatted space" Kali is unsupported on AskUbuntu. But why ask this question if you have done this before? You already did what you need to do when installing Ubuntu. – Rinzwind Aug 14 '15 at 10:17

Usually packages are installed in /usr/lib (part of root) or /opt directory.

Most of the app will use space allocated to root.

Some exceptional cases installs modules only available to single user goes in local directory.

Not the answer you're looking for? Browse other questions tagged or ask your own question.