Project

General

Profile

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

Neil Voss, 05/25/2010 09:37 AM

1 1 Neil Voss
h1. Download additional Software (Fedora Specific)
2
3
h2. Install the additional package repositories 
4
5 2 Neil Voss
Unlike RHEL/CentOS, Fedora comes with an Extras repository by default that contains all of the open source software needed by Appion/Leginon.
6 1 Neil Voss
7 2 Neil Voss
That said, there are several additional Fedora repositories that you can install. These repositories provide additional packages that are not allowed in the default Fedora package list, such as patented software (MP3 and Movie players), closed source applications (Nvidia video driver, Flash plugin, Adobe acrobat reader). But some repositories install packages over other packages, which can cause problems and conflicts (ATrpms is especially bad at this), so avoid these repositories. So, we recommend only installing RPM Fusion.
8 1 Neil Voss
9
h3. RPM Fusion (optional)
10
11
* http://rpmfusion.org/
12 3 Neil Voss
* good for mp3, movies, the nvidia driver and other patent limited software
13 1 Neil Voss
14
Download repository rpms and install
15
16
<pre>
17 2 Neil Voss
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
18
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
19 1 Neil Voss
</pre>
20
21
h2. Update current packages 
22
23 4 Neil Voss
Update the updater to make life easier
24 1 Neil Voss
25
<pre>
26
sudo yum -y update yum
27
</pre>
28
29
h3. Update all packages
30
31
<pre>
32
sudo yum -y update
33
</pre>
34
35
*NOTE*
36
Sometimes I have problems with 32bit packages, so uninstall of them:
37
<pre>
38
sudo yum remove `rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep i.86`
39
</pre>
40
41
*NOTE*
42
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
43
44
You can also remove large packages like openoffice, java, and gimp to save space, if you are just making a server
45
<pre>
46
sudo yum remove openoffice* gimp* java*
47
</pre>
48
49
You will want to restart your computer when this completes.
50
51
h3. Install Complete list of additional packages:
52
53
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.
54
55
* *python tools*: python-tools python-devel
56
* *general applications*: subversion ImageMagick grace gnuplot python-matplotlib pstopnm (netpbm-progs)
57
* *Tilt Picker*: wxPython numpy scipy python-imaging
58
* *FindEM*: gcc-gfortran compat-gcc-34-g77
59
* *Ace 2*: gcc-objc fftw3-devel gsl-devel
60
* *Sinedon*: mysql mysql-server MySQL-python
61
* *Myamiweb*: httpd php php-mysql phpMyAdmin
62
* *Xmipp MPI*: gcc-c++ openmpi-devel libtiff-devel
63
* *MRC tools*: php-devel gd-devel re2c fftw2-devel php-gd
64
* *UCSF Chimera imaging*: xorg-x11-server-Xvfb
65
66
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:
67
68
<pre>
69
sudo yum -y install \
70
python-tools python-devel python-matplotlib \
71
subversion ImageMagick grace gnuplot \
72
wxPython numpy scipy python-imaging \
73
gcc-gfortran compat-gcc-34-g77 \
74
gcc-objc fftw3-devel gsl-devel \
75
mysql mysql-server MySQL-python \
76
httpd php php-mysql phpMyAdmin  \
77
gcc-c++ openmpi-devel libtiff-devel \
78
php-devel gd-devel re2c fftw2-devel php-gd \
79
xorg-x11-server-Xvfb netpbm-progs
80
</pre>
81
82
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
83
84
<pre>
85
sudo yum -y install nvidia-x11-drv
86
</pre>
87
88
for CentOS you will have to download and install the nvidia driver from the "nvidia website":http://www.nvidia.com
89
90
h4. Clean up packages to save drive space
91
92
<pre>
93
sudo yum clean all
94
</pre>
95
96
h4. Re-index the hard drive, this will come in handy later
97
98
<pre>
99
sudo updatedb
100
</pre>
101
102
h4. Enable web and database servers on reboot
103
104
<pre>
105
sudo /sbin/chkconfig httpd on
106
sudo /sbin/chkconfig mysqld on
107
</pre>
108
109
You can further configure this with the GUI and turn off unnecessary items
110
111
<pre>
112
system-config-services
113
</pre>
114
115
h4. Reboot the computer
116
117
<pre>
118
sudo reboot
119
</pre>
120
121
______
122
123
124
[[Instructions for installing Fedora on your computer|< Instructions for installing Fedora on your computer]] | [[Complete Installation|Complete Installation ^]]
125
126
______