Skip to content

Commit

Permalink
README: move package dependencies into separate files
Browse files Browse the repository at this point in the history
Sorted, with a short, simple command to paste.  Avoid the duplication of
the lists.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed May 21, 2014
1 parent 77066a2 commit ba53889
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 96 deletions.
120 changes: 24 additions & 96 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -67,113 +67,41 @@ For RPM-based systems (Red Hat, SUSE, etc.),
rpmbuild


Build Prerequisites
===================

debian-based
------------

The list of debian package depencies can be found in deps.deb.txt:

sudo apt-get install `cat deps.deb.txt`

Note: libsnappy-dev and libleveldb-dev are not available upstream for natty, oneiric, and squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb.

rpm-based
---------

The list of RPM package dependencies can be found in deps.rpm.txt:

sudo yum install `cat deps.rpm.txt`


Building the Documentation
==========================

Prerequisites
-------------
To build the documentation, you must install the following:

- python-dev
- python-pip
- python-virtualenv
- doxygen
- ditaa
- libxml2-dev
- libxslt-dev
- dot
- graphviz

For example:
The list of package dependencides for building the documentation can be found
in doc_deps.deb.txt:

sudo apt-get install python-dev python-pip python-virtualenv doxygen ditaa libxml2-dev libxslt-dev dot graphviz
sudo apt-get install `cat doc_deps.deb.txt`

Building the Documentation
--------------------------

To build the documentation, ensure that you are in the top-level `/ceph directory, and execute the build script. For example:

$ admin/build-doc


Build Prerequisites
===================

debian-based
------------
To build the source code, you must install the following:

- automake
- autoconf
- pkg-config
- gcc
- g++
- make
- libboost-dev
- libedit-dev
- libssl-dev
- libtool
- libfcgi
- libfcgi-dev
- xfslibs-dev
- libfuse-dev
- linux-kernel-headers
- libcrypto++-dev
- libaio-dev
- libgoogle-perftools-dev
- libkeyutils-dev
- uuid-dev
- libblkid-dev
- libudev-dev
- libatomic-ops-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-thread-dev
- libexpat1-dev
- libleveldb-dev
- libsnappy-dev
- libcurl4-gnutls-dev
- python-argparse
- python-flask

For example:

$ apt-get install automake autoconf pkg-config gcc g++ make libboost-dev libedit-dev libssl-dev libtool libfcgi libfcgi-dev xfslibs-dev libfuse-dev linux-kernel-headers libcrypto++-dev libaio-dev libgoogle-perftools-dev libkeyutils-dev uuid-dev libblkid-dev libudev-dev libatomic-ops-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev libexpat1-dev libleveldb-dev libsnappy-dev libcurl4-gnutls-dev python-argparse python-flask python-nose

Note: libsnappy-dev and libleveldb-dev are not available upstream for natty, oneiric, and squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb.

rpm-based
---------
These are the rpm packages needed to install in an rpm-based OS:

autoconf
automake
gcc
gcc-c++
make
libtool
python-argparse
python-flask
libuuid-devel
libblkid-devel
libudev-devel (systemd-devel)
keyutils-libs-devel
cryptopp-devel
nss-devel
fcgi-devel
expat-devel
libcurl-devel
xfsprogs-devel
fuse-devel
gperftools-devel
libedit-devel
libatomic_ops-devel
snappy-devel
leveldb-devel
libaio-devel
boost-devel

For example:

$ yum install autoconf automake gcc gcc-c++ make libtool python-argparse python-flask libuuid-devel libblkid-devel systemd-devel keyutils-libs-devel cryptopp-devel nss-devel fcgi-devel expat-devel libcurl-devel xfsprogs-devel fuse-devel gperftools-devel libedit-devel libatomic_ops-devel snappy-devel leveldb-devel libaio-devel boost-devel python-nose
admin/build-doc

33 changes: 33 additions & 0 deletions deps.deb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
autoconf
automake
g++
gcc
libaio-dev
libatomic-ops-dev
libblkid-dev
libboost-dev
libboost-program-options-dev
libboost-system-dev
libboost-thread-dev
libcrypto++-dev
libcurl4-gnutls-dev
libedit-dev
libexpat1-dev
libfcgi
libfcgi-dev
libfuse-dev
libgoogle-perftools-dev
libkeyutils-dev
libleveldb-dev
libsnappy-dev
libssl-dev
libtool
libudev-dev
linux-kernel-headers
make
pkg-config
python-argparse
python-flask
python-nose
uuid-dev
xfslibs-dev
27 changes: 27 additions & 0 deletions deps.rpm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
autoconf
automake
boost-devel
cryptopp-devel
expat-devel
fcgi-devel
fuse-devel
gcc
gcc-c++
gperftools-devel
keyutils-libs-devel
leveldb-devel
libaio-devel
libatomic_ops-devel
libblkid-devel
libcurl-devel
libedit-devel
libtool
libuuid-devel
make
nss-devel
python-argparse
python-flask
python-nose
snappy-devel
systemd-devel
xfsprogs-devel
9 changes: 9 additions & 0 deletions doc_deps.deb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
python-dev
python-pip
python-virtualenv
doxygen
ditaa
libxml2-dev
libxslt-dev
dot
graphviz

0 comments on commit ba53889

Please sign in to comment.