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