Project

General

Profile

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

Amber Herold, 12/16/2013 12:33 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 39 Amber Herold
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 we 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 45 Amber Herold
[[Install EPEL shared]]
15 44 Amber Herold
16 43 Amber Herold
17 37 Neil Voss
18 9 Neil Voss
h3. RPM Fusion (optional)
19 1 Amber Herold
20
* http://rpmfusion.org/
21
* good for mp3 and other patent limited software
22
23 10 Neil Voss
Download repository rpms and install
24 1 Amber Herold
25
<pre>
26 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
27
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/`uname -i`/rpmfusion-nonfree-release-5-0.1.noarch.rpm
28 1 Amber Herold
</pre>
29
30 6 Amber Herold
h2. Update current packages 
31 1 Amber Herold
32 28 Neil Voss
Update the updater to make life easier
33 1 Amber Herold
34
<pre>
35 38 Neil Voss
sudo yum -y update yum*
36 1 Amber Herold
</pre>
37
38 17 Neil Voss
h3. Update all packages
39 1 Amber Herold
40
<pre>
41 14 Neil Voss
sudo yum -y update
42 1 Amber Herold
</pre>
43
44
*NOTE*
45 29 Neil Voss
46 30 Neil Voss
bq. 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
47
48
*NOTE*
49
50 17 Neil Voss
bq. Sometimes I have problems with 32bit packages, so uninstall of them:
51 1 Amber Herold
<pre>
52 31 Neil Voss
rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep i.86 | wc -l
53 29 Neil Voss
sudo yum remove `rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep i.86`
54 28 Neil Voss
</pre>
55 1 Amber Herold
56 28 Neil Voss
*NOTE*
57 29 Neil Voss
58 28 Neil Voss
bq. You can also remove large packages like openoffice, java, and gimp to save space, if you are just making a server
59 17 Neil Voss
<pre>
60
sudo yum remove openoffice* gimp* java*
61
</pre>
62 13 Neil Voss
63 32 Neil Voss
You will want to restart your computer when this completes.<pre>
64
sudo reboot
65
</pre>
66 1 Amber Herold
67 6 Amber Herold
h3. Install Complete list of additional packages:
68 1 Amber Herold
69 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.
70 22 Amber Herold
71 1 Amber Herold
* *python tools*: python-tools python-devel
72 18 Neil Voss
* *general applications*: subversion ImageMagick grace gnuplot python-matplotlib pstopnm (netpbm-progs)
73 1 Amber Herold
* *Tilt Picker*: wxPython numpy scipy python-imaging
74
* *FindEM*: gcc-gfortran compat-gcc-34-g77
75
* *Ace 2*: gcc-objc fftw3-devel gsl-devel
76
* *Sinedon*: mysql mysql-server MySQL-python
77 25 Eric Hou
* *Myamiweb*: httpd php php-mysql phpMyAdmin
78 1 Amber Herold
* *Xmipp MPI*: gcc-c++ openmpi-devel libtiff-devel
79 34 Neil Voss
* *MRC tools*: php-devel gd-devel fftw3-devel php-gd
80 1 Amber Herold
* *UCSF Chimera imaging*: xorg-x11-server-Xvfb
81 33 Neil Voss
* *PHP-SSH2*: libssh2-devel
82 1 Amber Herold
83 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:
84
85 1 Amber Herold
<pre>
86 14 Neil Voss
sudo yum -y install \
87 1 Amber Herold
python-tools python-devel python-matplotlib \
88
subversion ImageMagick grace gnuplot \
89
wxPython numpy scipy python-imaging \
90
gcc-gfortran compat-gcc-34-g77 \
91
gcc-objc fftw3-devel gsl-devel \
92
mysql mysql-server MySQL-python \
93
httpd php php-mysql phpMyAdmin  \
94
gcc-c++ openmpi-devel libtiff-devel \
95 36 Anchi Cheng
php-devel gd-devel re2c fftw3-devel php-gd \
96 33 Neil Voss
xorg-x11-server-Xvfb netpbm-progs \
97
libssh2-devel
98 1 Amber Herold
</pre>
99
100 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
101 1 Amber Herold
102
<pre>
103 14 Neil Voss
sudo yum -y install nvidia-x11-drv
104 1 Amber Herold
</pre>
105 20 Neil Voss
106 21 Neil Voss
for CentOS you will have to download and install the nvidia driver from the "nvidia website":http://www.nvidia.com
107 1 Amber Herold
108 6 Amber Herold
h4. Clean up packages to save drive space
109 1 Amber Herold
110
<pre>
111 14 Neil Voss
sudo yum clean all
112 1 Amber Herold
</pre>
113
114 6 Amber Herold
h4. Re-index the hard drive, this will come in handy later
115 1 Amber Herold
116
<pre>
117 14 Neil Voss
sudo updatedb
118 1 Amber Herold
</pre>
119
120 19 Neil Voss
h4. Enable web and database servers on reboot
121 1 Amber Herold
122
<pre>
123 19 Neil Voss
sudo /sbin/chkconfig httpd on
124
sudo /sbin/chkconfig mysqld on
125 1 Amber Herold
</pre>
126
127
You can further configure this with the GUI and turn off unnecessary items
128
129
<pre>
130 19 Neil Voss
system-config-services
131 1 Amber Herold
</pre>
132
133 6 Amber Herold
h4. Reboot the computer
134 1 Amber Herold
135
<pre>
136 19 Neil Voss
sudo reboot
137 1 Amber Herold
</pre>
138 5 Amber Herold
139
______
140
141
142
[[Instructions for installing CentOS on your computer|< Instructions for installing CentOS on your computer]] | [[Database Server Installation|Database Server Installation >]]
143 8 Amber Herold
144
______