Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to install the program by compiling and then installing it. I choose PINTA. It requires these dependencies:

mono mono-xbuild automake autoconf libmono-cairo2.0-cil gtk-sharp2

and it requires

  • Need to get 20.6MiB/26.2MiB of archives and
  • 66.4 MB of additional disk space**,

but when i used apt-get install pinta, it just requires 20.3MiB of additional disk space and 0/6616 KB of archives.

Can you please tell me, if I'm building by source, why it requires more space comparatively to the apt-get method, and how to optimise the amount archives, that I've installed while installing the program (like apt-get program).

share|improve this question
2  
In addition to library packages required for runtime, compiling requires -dev versions of library packages. –  enzotib Aug 10 '13 at 9:55
add comment

2 Answers 2

up vote 2 down vote accepted

mono mono-xbuild automake autoconf libmono-cairo2.0-cil gtk-sharp2

Those are the packages required for building Pinta, they are not Pinta itself. So, for building from sources, you need the libraries, the headers, toolchain, etc., so, the package already compiled is:

  • [binary sources + hard linked libraries + configuration files generated + activated options] / the amount of packages that could be extracted from the sources (ie, some package have the debug symbols in other package)

  • while the "real" size of your compiled binary sources + hard linked libraries + configuration files generated + activated options + headers files + tool chain + libraries - whatever you deactivate/uninstall later.

Also, you may notice that the packages generated by Ubuntu repositories are built in slightly older kernels, so even if you use the same set of tools/options, the results might not be the same due the differences of kernel and libc-dev version.

share|improve this answer
add comment

Braiam's answer is fine. In simple and short words, the difference is:

Installing from the repositories using apt-get downloads ready to use packages built for Ubuntu. But when you try to install from the source, you also need the tools to build the software (which means additional downloads and installations).

It's just like buying a ready hamburger from McDonald's compared to buying all the ingredients from a supermarket and making hamburgers at home ...

hope that makes it clear :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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