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__...")
 
m
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
''(Also see [[Perl#Installation_of_perl_modules|Perl module installation notes]].)''
 
''(Also see [[Perl#Installation_of_perl_modules|Perl module installation notes]].)''
  
====Package managers====
+
====Generic installation====
  
*On Mac OS X you may be able to use <tt>'''fink'''</tt> to simplify this task
+
&nbsp;
*On Red Hat Linux you may be able to use <tt>'''rpm'''</tt> or <tt>'''yum'''</tt> to simplify this task
 
*On Debian Linux you may be able to use <tt>'''apget'''</tt> to simplify this task
 
... all these installers work similar to the CPAN installer
 
 
 
====Generic installation====
 
  
 
:1. download the source-archive
 
:1. download the source-archive
Line 35: Line 30:
  
 
&nbsp;
 
&nbsp;
 +
====Package managers====
 +
 +
*On Mac OS X you may be able to use <tt>'''fink'''</tt> to simplify this task
 +
*On Red Hat Linux you may be able to use <tt>'''rpm'''</tt> or <tt>'''yum'''</tt> to simplify this task
 +
*On Debian Linux you may be able to use <tt>'''apget'''</tt> to simplify this task
 +
... all these installers work similar to the CPAN installer
 +
 +
 
<!--
 
<!--
 
==Exercises==
 
==Exercises==
Line 48: Line 51:
 
-->
 
-->
 
&nbsp;
 
&nbsp;
 +
 
==Further reading and resources==
 
==Further reading and resources==
 
<!-- {{#pmid:21627854}} -->
 
<!-- {{#pmid:21627854}} -->

Latest revision as of 01:55, 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.)

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