Project

General

Profile

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

Amber Herold, 11/20/2013 11:07 AM

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