This question already has an answer here:
I'm dual booting window with Ubuntu and i have 100 gigabits free space for Ubuntu installation. How much space should i give to /root, /home, /swap, /user, etc. If i want a large space for software and other packages installation and appropriate space for some music files, etc? My system has 4 gigabits of ram.
I had installed it before on another system and gave it 30 gigabits of space with /root having 10 gigabits but it get filled after 2-3 days and now i'm installing it again so want some help to part the space.
If anyone can tell me exact space i should give to the partitions given in the link below:- https://skorks.com/2009/08/partitioning-your-hard-drive-during-a-linux-install/
under manual partitioning.