Knowledge7

The Linux and Mobile Solution Provider

  • About
  • Training
  • Services
  • Clients
  • In the news
  • Blog
  • Video Blog
  • Contact Us
You are here: Home / Topic / Package installation from source

Package installation from source

Sometimes we have to install open source software which are not part of official repositories and which cannot be downloaded in compiled form.

When this happens, the best bet is to install from source:

  • Download the source code of the open source software
  • Unpack the source code
  • ./configure
  • make
  • make install (as root)

./configure is a script which checks whether all dependencies that the software has are present (e.g. other programs, libraries, etc.) In case ./configure complains and stops, the appropriate remedial action must be taken before running ./configure again.

When ./configure finishes, the next step is to run the make command which builds the software from its source code. Naturally, this implies that the computer must have a fully functional compiler installed.

Work to do

Easy. Install Dr Geo 1.1.0, an interactive geometry software, written in C++. This version of DrGeo works well on CentOS Linux 5 and 6.

If you are running, CentOS Linux 7 and later, install the latest version of FreeCiv instead.

Our forthcoming training courses

  • No training courses are scheduled.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Looking for something?

Want to know more?

Get our newsletter

Discover the latest news, tips and tricks on Linux, the Web and Mobile technologies every week for FREE

This work is licensed by Knowledge7 under an Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.

The Knowledge7 machine is currently learning and, when activities will resume in the future, things will be quite different. All training and consulting activities of Knowledge7 have been put on hold.