Project

General

Profile

Download additional Software (CentOS Specific) » History » Revision 18

Revision 17 (Neil Voss, 05/11/2010 02:41 PM) → Revision 18/47 (Neil Voss, 05/11/2010 03:18 PM)

h1. Download additional Software (CentOS Specific) 


 h2. Install the additional package repositories  

 *NOTE* 

 There are several additional CentOS repositories that you can install. These repositories provide additional packages, such as patented software (MP3 players), closed source applications (Flash plugin, Adobe Acrobat Reader) and lesser used packages (python numpy, Gnu Scientific Library). But some repositories install packages over other packages, which can cause problems and conflicts (ATrpms is bad at this). So I recommend only installing EPEL and RPM Fusion. Read more here: 

 "CentOS Additional Repositories":http://wiki.centos.org/AdditionalResources/Repositories  


 h3. Extra Packages for Enterprise Linux (EPEL)  

 * http://fedoraproject.org/wiki/EPEL 
 * contains a wealth of packages required for appion 

 Download repository rpm and install 

 <pre> 
 sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-3.noarch.rpm 
 </pre> 

 h3. RPM Fusion (optional) 

 * http://rpmfusion.org/ 
 * good for mp3 and other patent limited software 

 Download repository rpms and install 

 <pre> 
 sudo rpm -Uhv http://download1.rpmfusion.org/free/el/updates/testing/5/`uname -i`/rpmfusion-free-release-5-0.1.noarch.rpm 
 sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/`uname -i`/rpmfusion-nonfree-release-5-0.1.noarch.rpm 
 </pre> 

 h2. Update current packages  

 .Update the updater to make life easier 

 <pre> 
 sudo yum -y update yum 
 </pre> 

 h3. Update all packages 

 <pre> 
 sudo yum -y update 
 </pre> 

 *NOTE* 
 Sometimes I have problems with 32bit packages, so uninstall of them: 
 <pre> 
 sudo yum remove `rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep i.86` 
 </pre> 

 *NOTE* 
 Download was over 129 MB (in July 2009) and 333 MB (in May 2010). If you have a slow internet connection you can setup presto/deltarpms, see "this email":http://www.linux-archive.org/centos-development/222706-presto-deltarpm.html and "this email":http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8349 for more information 

 You can also remove large packages like openoffice, java, and gimp to save space, if you are just making a server 
 <pre> 
 sudo yum remove openoffice* gimp* java* 
 </pre> 

 You will want to restart your computer when this completes. 

 h3. Install Complete list of additional packages: 

 * *python tools*: python-tools python-devel 
 * *general applications*: subversion ImageMagick grace gnuplot python-matplotlib pstopnm (netpbm-progs) 
 * *Tilt Picker*: wxPython numpy scipy python-imaging 
 * *FindEM*: gcc-gfortran compat-gcc-34-g77 
 * *Ace 2*: gcc-objc fftw3-devel gsl-devel 
 * *Sinedon*: mysql mysql-server MySQL-python 
 * *DBEM*: httpd php php-mysql phpMyAdmin 
 * *Xmipp MPI*: gcc-c++ openmpi-devel libtiff-devel 
 * *MRC tools*: php-devel gd-devel re2c fftw2-devel php-gd 
 * *UCSF Chimera imaging*: xorg-x11-server-Xvfb 

 If you are using an RPM based system (e.g., SuSE, Mandriva, CentOS, or Fedora) "this website":http://rpm.pbone.net/ is good for determining the exact package name that you need. For CentOS 5, just type: 

 <pre> 
 sudo yum -y install \ 
 python-tools python-devel python-matplotlib \ 
 subversion ImageMagick grace gnuplot \ 
 wxPython numpy scipy python-imaging \ 
 gcc-gfortran compat-gcc-34-g77 \ 
 gcc-objc fftw3-devel gsl-devel \ 
 mysql mysql-server MySQL-python \ 
 httpd php php-mysql phpMyAdmin    \ 
 gcc-c++ openmpi-devel libtiff-devel \ 
 php-devel gd-devel re2c fftw2-devel php-gd \ 
 xorg-x11-server-Xvfb netpbm-progs 
 </pre> 

 If you have an nVidia video card and setup RPM fusion, install the nVidia binary, will speed things up especially for UCSF Chimera 

 <pre> 
 sudo yum -y install nvidia-x11-drv 
 </pre> 

 h4. Clean up packages to save drive space 

 <pre> 
 sudo yum clean all 
 </pre> 

 h4. Re-index the hard drive, this will come in handy later 

 <pre> 
 sudo updatedb 
 </pre> 

 h4. Enable servers on reboot 

 <pre> 
 $ sudo /sbin/chkconfig httpd on 
 </pre> 

 <pre> 
 $ sudo /sbin/chkconfig mysqld on 
 </pre> 

 You can further configure this with the GUI and turn off unnecessary items 

 <pre> 
 $ system-config-services 
 </pre> 

 h4. Reboot the computer 

 <pre> 
 $ sudo reboot 
 </pre> 

 ______ 


 [[Instructions for installing CentOS on your computer|< Instructions for installing CentOS on your computer]] | [[Database Server Installation|Database Server Installation >]] 

 ______