What's the actual download size of Gimp?
Software in Ubuntu, when packaged, are usually split up into different packages, separating:
- architecture-independent data, (
gimp-data
) - binaries, (
gimp
) - shared libraries, (
libgimp2.0
) - development headers, (
libgimp2.0-dev
) - plugins, (
gimp-data-extra
) - documentation, (
gimp-help-en
) - and any external dependencies are usually separate packages as well.
The result is that the main gimp
package depends on other gimp
-related packages and many libraries as well. The download size of the main gimp
package is, in fact, around 3 MB. The total download size, however, would be much more than 3 MB.
But you rarely see huge monolithic packages in the Ubuntu repository. 0ad-data
, a particularly large package, is not even monolithic - it contains just the data files for the 0 A.D. game, and the binaries are in 0ad
.
Packages from outside the repository, such as the Gitlab omnibus package (~300 MB!), can be huge because those developers decided to include every dependency in a single package instead of relying on repository packages.
As for the total download size, that depends on which libraries you already have installed on your system. apt
will tell you how much will be downloaded:
$ sudo apt install gimp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gimp-data libamd2.4.1 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgfortran3 libgimp2.0 liblapack3 libsdl1.2debian libumfpack5.7.1 python-cairo python-gobject-2 python-gtk2
Suggested packages:
gimp-help-en | gimp-help gimp-data-extras python-gobject-2-dbg python-gtk2-doc
The following NEW packages will be installed:
gimp gimp-data libamd2.4.1 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgfortran3 libgimp2.0 liblapack3 libsdl1.2debian libumfpack5.7.1 python-cairo python-gobject-2 python-gtk2
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.2 MB of archives.
After this operation, 92.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
I recently learned that GIMP is a Photoshop replacement in Ubuntu world
That statement would cause a lot of flamewars. Both are image editing packages, both have strenghts and weaknesses.
I mean is that it or are there some hidden dependencies which are gonna eat my internet allocation away?
gimp is split into multiple packages, there are three that are essentially mandatory and a couple of optional ones. Those packages will also depend on other libraries that aren't part of gimp and may or may not be already installed.
The three mandatory ones are gimp, gimp-data and libgimp for a total download size (installed size will be bigger) of about 12 megabytes on top of this there will be libraries that aren't part of gimp but are needed by it the exact set will depend on what you already have installed.
then how can Linux apps be this small?
A couple of reasons, firstly linux distros try to share as much code as possible between different applications while vendor-distributed applications (for both Windows and Linux) tend to embed a lot of libraries.
Secondly a large part of the size of an image editing tool is not the core image editing functionality. It's all the extras and the value of a particular extra is only loosely related to it's size.