m1gin 108

#ubuntu #linux #tarbal #source #compile #build #package

When compiling a package from source code, some tools may be useful.

apt-file

  • apt-file search gtk+-2.0

lists which packages contains the specified file...


sudo apt-get build-dep packagename

means to install all dependencies for 'packagename' so that I can build it.

sudo apt-get build-dep xfce4-time-out-plugin


ldd

  • ldd /usr/bin/local/thunar

ldd prints the shared objects (shared libraries) required by each program or shared object specified on the command line.


Links:

  • https://help.ubuntu.com/community/CompilingEasyHowTo
Add to: