Program installation

From "A B C"
Revision as of 01:55, 16 September 2012 by Boris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing from source under Unix


Generic information to compile and install programs from sourcecode on Unix systems.




(Also see Perl module installation notes.)

Generic installation

 

1. download the source-archive
2. unzip and untar the file
3. cd to the newly created directory
4. type configure
5. type make
6. type make test

and if the test results appear reasonable:

7. type sudo make install

 

Package managers

  • On Mac OS X you may be able to use fink to simplify this task
  • On Red Hat Linux you may be able to use rpm or yum to simplify this task
  • On Debian Linux you may be able to use apget to simplify this task

... all these installers work similar to the CPAN installer


 

Further reading and resources