Difference between revisions of "Program installation"

From "A B C"
Jump to navigation Jump to search
m
 
Line 14: Line 14:
  
 
''(Also see [[Perl#Installation_of_perl_modules|Perl module installation notes]].)''
 
''(Also see [[Perl#Installation_of_perl_modules|Perl module installation notes]].)''
 
====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
 
  
 
====Generic installation====
 
====Generic installation====
Line 37: 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==

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