Project

General

Profile

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

Amber Herold, 04/06/2010 05:22 PM

1 4 Amber Herold
h1. Download additional Software (CentOS Specific)
2 1 Amber Herold
3
4
h3. 3.1 Install the additional package repositories 
5
6
*NOTE*
7
8
There are several additional CentOS repositories that you can install.
9
These repositories provide additional packages, such as patented software (MP3 players),
10
closed source applications (Flash plugin, Adobe Acrobat Reader)
11
and lesser used packages (python numpy, Gnu Scientific Library).
12
But some repositories install packages over other packages,
13
which can cause problems and conflicts (ATrpms is bad at this). So I recommend only installing
14
EPEL and RPM Fusion. Read more here:
15
"CentOS Additional Repositories":http://wiki.centos.org/AdditionalResources/Repositories 
16
17 3 Amber Herold
*TODO:* There is a wealth of information here as well: http://emg.nysbc.org/documentation/leginon/bk02ch04s08.php.
18 2 Amber Herold
19 1 Amber Herold
h4. 3.1.1 Extra Packages for Enterprise Linux (EPEL) 
20
21
* http://fedoraproject.org/wiki/EPEL
22
* contains a wealth of packages required for appion
23
24
.Download repository rpm and install
25
26
<pre>
27
$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-3.noarch.rpm
28
</pre>
29
30
h4. 3.1.2 RPM Fusion 
31
32
* http://rpmfusion.org/
33
* good for mp3 and other patent limited software
34
35
.Download repository rpms and install
36
37
<pre>
38
$ sudo rpm -Uhv http://download1.rpmfusion.org/free/el/updates/testing/5/`uname -i`/rpmfusion-free-release-5-0.1.noarch.rpm
39
$ sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/`uname -i`/rpmfusion-nonfree-release-5-0.1.noarch.rpm
40
</pre>
41
42
h3. 3.2 Update current packages 
43
44
.Update the updater to make life easier
45
46
<pre>
47
$ sudo yum -y update yum
48
</pre>
49
50
.Update all packages
51
52
<pre>
53
$ sudo yum -y update
54
</pre>
55
56
*NOTE*
57
Download was over 129 MB (in July 2009). 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 
58
You may want to restart your computer when this completes.
59
60
h4. .Install Complete list of additional packages:
61
62
* *python tools*: python-tools python-devel
63
* *general applications*: subversion ImageMagick grace gnuplot python-matplotlib
64
* *Tilt Picker*: wxPython numpy scipy python-imaging
65
* *FindEM*: gcc-gfortran compat-gcc-34-g77
66
* *Ace 2*: gcc-objc fftw3-devel gsl-devel
67
* *Sinedon*: mysql mysql-server MySQL-python
68
* *DBEM*: httpd php php-mysql phpMyAdmin
69
* *Xmipp MPI*: gcc-c++ openmpi-devel libtiff-devel
70
* *MRC tools*: php-devel gd-devel re2c fftw2-devel php-gd
71
* *UCSF Chimera imaging*: xorg-x11-server-Xvfb
72
73
<pre>
74
$ sudo yum -y install \
75
python-tools python-devel python-matplotlib \
76
subversion ImageMagick grace gnuplot \
77
wxPython numpy scipy python-imaging \
78
gcc-gfortran compat-gcc-34-g77 \
79
gcc-objc fftw3-devel gsl-devel \
80
mysql mysql-server MySQL-python \
81
httpd php php-mysql phpMyAdmin  \
82
gcc-c++ openmpi-devel libtiff-devel \
83
php-devel gd-devel re2c fftw2-devel php-gd \
84
xorg-x11-server-Xvfb
85
</pre>
86
87
If you have an nVidia video card and setup RPM fusion, install the nVidia binary, will speed things up especially for UCSF Chimera
88
89
<pre>
90
$ sudo yum -y install nvidia-x11-drv
91
</pre>
92
93
.Clean up packages to save drive space
94
95
<pre>
96
$ sudo yum clean all
97
</pre>
98
99
.Re-index the hard drive, this will come in handy later
100
101
<pre>
102
$ sudo updatedb
103
</pre>
104
105
.Enable servers on reboot
106
107
<pre>
108
$ sudo /sbin/chkconfig httpd on
109
</pre>
110
111
<pre>
112
$ sudo /sbin/chkconfig mysqld on
113
</pre>
114
115
You can further configure this with the GUI and turn off unnecessary items
116
117
<pre>
118
$ system-config-services
119
</pre>
120
121
.Reboot the computer
122
123
<pre>
124
$ sudo reboot
125
</pre>