Wednesday, February 22, 2012

How To Resolve Dependencies While Compiling Software on Ubuntu

HTG has a great tutorial for resolving dependencies with apt. Here's a clip:


The hardest part of compiling software on Linux is locating its dependencies and installing them. Ubuntu has apt commands that automatically detect, locate and install dependencies, doing the hard work for you.
We recently covered the basics of compiling software from source on Ubuntu, so check out our original article if you’re just getting started.

Auto-Apt

Auto-apt watches and waits when you run the ./configure command through it. When ./configure tries to access a file that doesn’t exist, auto-apt puts the ./configure process on hold, installs the appropriate package and lets the ./configure process continue.
First, install auto-apt with the following command:
sudo apt-get install auto-apt



Read the rest at HTG.

No comments:

Post a Comment