View previous topic :: View next topic |
Author |
Message |
sodouble1991 n00b
Joined: 19 Apr 2015 Posts: 2
|
Posted: Sun Apr 19, 2015 3:35 pm Post subject: Why does chromium use so many space on linux? 5GB or more? |
|
|
I am a newbee in linux,and i have chosen gentoo for my linux distribution.I install it on virtualbox.For practice purpose only,i just give it 10GB space..... yesterday when i try to emerge the chromium package,it came out
Code: | "There is NOT at least 5GB disk space at /var/tmp/portage/www-client/chromium-42.0.2311.90/temp.Space constrains set in the ebuild were not met" |
5GB? Why is it need so much space.If it is true,it means that is will be impossible to install chromium on some machines which have little disk space. Or there is another way to install it which i don't know? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Apr 19, 2015 4:11 pm Post subject: |
|
|
sodouble1991,
Welcome to Gentoo.
Gentoo has an extra step that binary distros don't have. It builds all the software from the source code.
Code: | There is NOT at least 5GB disk space at /var/tmp/portage/www-client/chromium-42.0.2311.90/temp | Tells that you don't have the 5G that Chrome needs to build. This is a transient requirement. This 5G is released once the build is complete.
firefox and libreoffice all need something similar.
In virtualbox, make another virtual drive with say, 15G of space. Partition it with one partition and make a non journalled filesystem on the new partition.
Attach the new partition at /var/tmp/portage
You can use a journalled filesystem if you want but there are several reasons not to. Mostly, /var/tmp/portage is for temporary files. You will never need to recover it, It can just be thrown away. The underlying filesystem hosting the virtual drive for Virtualbax is probably journalled. Another layer of journalling adds nothing and will impose a speed penalty.
To allow space to store source files, build everything and have a desktop environment, you need about 40G.
After everything is built, the binaries fit in under 10G. My netbook only has a 8G SSD. It runs Gentoo but it does't build it internally. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sodouble1991 n00b
Joined: 19 Apr 2015 Posts: 2
|
Posted: Mon Apr 20, 2015 6:32 am Post subject: |
|
|
Ok I will try that thx. |
|
Back to top |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
Posted: Mon Apr 20, 2015 8:29 am Post subject: |
|
|
As a side note, Firefox and Libreoffice both have a "*-bin" version in portage that installs a prebuilt binary instead of building from source, if you want/need to avoid a long compilation. That said, Chromium builds in noticeably more time than Firefox, but doesn't have a -bin version. |
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
|
Back to top |
|
|
|