Project

General

Profile

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

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