How to Compile Downloaded Software

After downloading software with GNU arch, you probably want to compile it. Software I wrote from scratch follows are standard scheme, which is described below.

We assume that you have already downloaded the software with GNU arch and that you start inside the top-level directory of the project tree (which contains the source code). Now issue the following commands:

$ mkdir =build
$ cd =build
$ ../configure
lots of output
$ make
even more output
$ make install

If necessary, you can invoke ../configure with options such as prefix. Invoke ../configure --help to see the available options.

The special =build/ directory and its subdirectories are ignored by tla, so you can safely avoid storing automatically generated files such object files in the archive.


Florian Weimer
Home Blog (DE) Blog (EN) Impressum RSS Feeds