...
Code Block | ||
---|---|---|
| ||
# unpack the source tarball into a temporary directory mkdir -p /tmp/src cd /tmp/src tar xzvf software-version-Source.tar.gz # configure and build in a separate directory mkdir -p /tmp/build cd /tmp/build cmake /tmp/src/software-version-Source make |
On a machine with multiple cores, compilation will be faster by specifying the number of cores to be used simultaneously for the build, for example:
Code Block | ||
---|---|---|
| ||
make -j8 |
The software distribution will include a small set of tests which can help ensure that the build was successful. To start the tests, type:
...