~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/installing/redhat.rst

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
RemoveĀ customĀ error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Installing in RedHat and Fedora
2
 
===============================
3
 
 
4
 
Using RPMs
5
 
----------
6
 
We have a custom RedHat/Fedora repository at
7
 
http://rpm.drizzle.org/7-dev/ which includes everything needed
8
 
to install or compile Drizzle on RedHat 5 and 6 as well as Fedora 13 - 14.
9
 
 
10
 
A pre-requisite of this repository in RedHat is that the
11
 
`EPEL <http://fedoraproject.org/wiki/EPEL>`_ repository is also added to your
12
 
distribution.
13
 
 
14
 
.. note::
15
 
 
16
 
   The EPEL repository is not required in Fedora.
17
 
 
18
 
To add that repository, run the following command:
19
 
 
20
 
.. code-block:: bash
21
 
 
22
 
  sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
23
 
 
24
 
To add the repository to your distribution you also need to create a /etc/yum.repos.d/drizzle.repo file with the following content:
25
 
 
26
 
*RedHat*
27
 
 
28
 
.. code-block:: ini
29
 
 
30
 
   [drizzle]
31
 
   name=drizzle
32
 
   baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/$basearch/
33
 
   enabled=1
34
 
   gpgcheck=0
35
 
 
36
 
   [drizzle-src]
37
 
   name=drizzle-src
38
 
   baseurl=http://rpm.drizzle.org/7-dev/redhat/$releasever/SRPMS
39
 
   enabled=1
40
 
   gpgcheck=0
41
 
 
42
 
*Fedora*
43
 
 
44
 
.. code-block:: ini
45
 
 
46
 
   [drizzle]
47
 
   name=drizzle
48
 
   baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/$basearch/
49
 
   enabled=1
50
 
   gpgcheck=0
51
 
 
52
 
   [drizzle-src]
53
 
   name=drizzle-src
54
 
   baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/SRPMS
55
 
   enabled=1
56
 
   gpgcheck=0
57
 
 
58
 
You can then use the following shell command:
59
 
 
60
 
.. code-block:: bash
61
 
 
62
 
   yum install drizzle7
63
 
 
64
 
Compiling From Source
65
 
---------------------
66
 
To compile from source you will need to add the repositories above and then install the following packages:
67
 
 
68
 
 * bzr
69
 
 * boost-devel
70
 
 * autoconf
71
 
 * automake
72
 
 * gcc
73
 
 * gcc-c++
74
 
 * libtool
75
 
 * gperf
76
 
 * libuuid-devel (part of e2fsprogs-devel on older RedHat based distributions)
77
 
 * zlib-devel
78
 
 * pcre-devel
79
 
 * readline-devel
80
 
 * flex
81
 
 * bison
82
 
 
83
 
You will then be able to compile from source in the normal way.