Ubuntu – How to resolve dependencies when compiling a software from source

compiling

What are the best tools for resolving unmet dependencies when compiling from source? I read about 'apt-file' and 'checkinstall' from ubuntu documentation however i just can't seem to install these two(2) packages in the terminal with sudo apt-get install command or through synaptic package manager or software centre. Thanks in advance

Best Answer

sudo apt-get build-dep (package)

That should install all the packages needed to build something. You may also need to install build-essentials

Related Question