Building Applications from Source

Make sure you have all the components installed for building applications from source code

apt-get install build-essential

Unpack the applications ''tarball'' , I am using DOSBox in this example which I downloaded from the DOSBox homepage.

tar zxvf dosbox-0.70.tar.gz

The unpacking will make a folder called dosbox-0.70/ , change to this folder with :-

cd dosbox-0.70/

Now we need to configure the build process for your hardware / software setup with :-

./configure

Hopefully this will complete without any problems , sometimes you will be missing a dependancy and will have to install that before trying configure again.
DOSBox depends on the libsdl1.2-dev library , so I needed to install that before configure would complete fully.

sudo apt-get install libsdl1.2-dev

Now we just build the code with make

make

When this completes you can install it to the hard disk with :-

sudo make install

We have to use the sudo command as it needs root access to install

Now that the DOSBox application has been built you can try it by running the dosbox command from a shell , like this :-

dosbox

Easy.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <blockquote> <a> <strike> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.