Project

General

Profile

Download additional Software (CentOS Specific) » History » Version 27

Amber Herold, 05/24/2010 04:11 PM

1 4 Amber Herold
h1. Download additional Software (CentOS Specific)
2 1 Amber Herold
3
4 6 Amber Herold
h2. Install the additional package repositories 
5 1 Amber Herold
6
7 12 Neil Voss
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:
8 1 Amber Herold
"CentOS Additional Repositories":http://wiki.centos.org/AdditionalResources/Repositories 
9 26 Jim Pulokas
Particularly, pay attention to the note about protecting yourself from unintended updates from 3rd party packages.  The following yum plugin may help you:
10
"yum-priorities plugin":http://wiki.centos.org/PackageManagement/Yum/Priorities
11 1 Amber Herold
12 2 Amber Herold
h3. Extra Packages for Enterprise Linux (EPEL) 
13 1 Amber Herold
14
* http://fedoraproject.org/wiki/EPEL
15
* contains a wealth of packages required for appion
16
17 10 Neil Voss
Download repository rpm and install
18 1 Amber Herold
19
<pre>
20 14 Neil Voss
sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-3.noarch.rpm
21 1 Amber Herold
</pre>
22
23 9 Neil Voss
h3. RPM Fusion (optional)
24 1 Amber Herold
25
* http://rpmfusion.org/
26
* good for mp3 and other patent limited software
27
28 10 Neil Voss
Download repository rpms and install
29 1 Amber Herold
30
<pre>
31 14 Neil Voss
sudo rpm -Uhv http://download1.rpmfusion.org/free/el/updates/testing/5/`uname -i`/rpmfusion-free-release-5-0.1.noarch.rpm
32
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/`uname -i`/rpmfusion-nonfree-release-5-0.1.noarch.rpm
33 1 Amber Herold
</pre>
34
35 6 Amber Herold
h2. Update current packages 
36 1 Amber Herold
37
.Update the updater to make life easier
38
39
<pre>
40 14 Neil Voss
sudo yum -y update yum
41 1 Amber Herold
</pre>
42
43 17 Neil Voss
h3. Update all packages
44 1 Amber Herold
45
<pre>
46 14 Neil Voss
sudo yum -y update
47 1 Amber Herold
</pre>
48
49
*NOTE*
50 17 Neil Voss
Sometimes I have problems with 32bit packages, so uninstall of them:
51
<pre>
52
sudo yum remove `rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep i.86`
53
</pre>
54
55
*NOTE*
56 1 Amber Herold
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
57 17 Neil Voss
58
You can also remove large packages like openoffice, java, and gimp to save space, if you are just making a server
59
<pre>
60
sudo yum remove openoffice* gimp* java*
61
</pre>
62 13 Neil Voss
63
You will want to restart your computer when this completes.
64 1 Amber Herold
65 6 Amber Herold
h3. Install Complete list of additional packages:
66 1 Amber Herold
67 24 Amber Herold
General instructions for installation and configuration of some of these packages (such as mysql) are found later in this manual. It may be faster to install them now as a group rather than individually, but it is not necessary.
68 22 Amber Herold
69 1 Amber Herold
* *python tools*: python-tools python-devel
70 18 Neil Voss
* *general applications*: subversion ImageMagick grace gnuplot python-matplotlib pstopnm (netpbm-progs)
71 1 Amber Herold
* *Tilt Picker*: wxPython numpy scipy python-imaging
72
* *FindEM*: gcc-gfortran compat-gcc-34-g77
73
* *Ace 2*: gcc-objc fftw3-devel gsl-devel
74
* *Sinedon*: mysql mysql-server MySQL-python
75 25 Eric Hou
* *Myamiweb*: httpd php php-mysql phpMyAdmin
76 1 Amber Herold
* *Xmipp MPI*: gcc-c++ openmpi-devel libtiff-devel
77
* *MRC tools*: php-devel gd-devel re2c fftw2-devel php-gd
78
* *UCSF Chimera imaging*: xorg-x11-server-Xvfb
79
80 15 Neil Voss
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:
81
82 1 Amber Herold
<pre>
83 14 Neil Voss
sudo yum -y install \
84 1 Amber Herold
python-tools python-devel python-matplotlib \
85
subversion ImageMagick grace gnuplot \
86
wxPython numpy scipy python-imaging \
87
gcc-gfortran compat-gcc-34-g77 \
88
gcc-objc fftw3-devel gsl-devel \
89
mysql mysql-server MySQL-python \
90
httpd php php-mysql phpMyAdmin  \
91
gcc-c++ openmpi-devel libtiff-devel \
92
php-devel gd-devel re2c fftw2-devel php-gd \
93 18 Neil Voss
xorg-x11-server-Xvfb netpbm-progs
94 1 Amber Herold
</pre>
95
96 20 Neil Voss
If you have an nVidia video card and setup RPM fusion, install the nVidia binary, will speed things up especially for UCSF Chimera. This command works on Fedora
97 1 Amber Herold
98
<pre>
99 14 Neil Voss
sudo yum -y install nvidia-x11-drv
100 1 Amber Herold
</pre>
101 20 Neil Voss
102 21 Neil Voss
for CentOS you will have to download and install the nvidia driver from the "nvidia website":http://www.nvidia.com
103 1 Amber Herold
104 6 Amber Herold
h4. Clean up packages to save drive space
105 1 Amber Herold
106
<pre>
107 14 Neil Voss
sudo yum clean all
108 1 Amber Herold
</pre>
109
110 6 Amber Herold
h4. Re-index the hard drive, this will come in handy later
111 1 Amber Herold
112
<pre>
113 14 Neil Voss
sudo updatedb
114 1 Amber Herold
</pre>
115
116 19 Neil Voss
h4. Enable web and database servers on reboot
117 1 Amber Herold
118
<pre>
119 19 Neil Voss
sudo /sbin/chkconfig httpd on
120
sudo /sbin/chkconfig mysqld on
121 1 Amber Herold
</pre>
122
123
You can further configure this with the GUI and turn off unnecessary items
124
125
<pre>
126 19 Neil Voss
system-config-services
127 1 Amber Herold
</pre>
128
129 6 Amber Herold
h4. Reboot the computer
130 1 Amber Herold
131
<pre>
132 19 Neil Voss
sudo reboot
133 1 Amber Herold
</pre>
134 5 Amber Herold
135
______
136
137
138
[[Instructions for installing CentOS on your computer|< Instructions for installing CentOS on your computer]] | [[Database Server Installation|Database Server Installation >]]
139 8 Amber Herold
140
______