Difference between revisions of "Program installation"

From "A B C"
Jump to navigation Jump to search
(Created page with "<div id="APB"> <div class="b1"> Installing from source under Unix </div> Generic information to '''compile and install programs from sourcecode''' on Unix systems. __TOC__...")
 
Line 23: Line 23:
  
 
====Generic installation====
 
====Generic installation====
 +
 +
&nbsp;
  
 
:1. download the source-archive
 
:1. download the source-archive
Line 48: Line 50:
 
-->
 
-->
 
&nbsp;
 
&nbsp;
 +
 
==Further reading and resources==
 
==Further reading and resources==
 
<!-- {{#pmid:21627854}} -->
 
<!-- {{#pmid:21627854}} -->

Revision as of 01:54, 16 September 2012

Installing from source under Unix


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




(Also see Perl module installation notes.)

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

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

   

Further reading and resources