diff --git a/README.md b/README.md index 4e42201..354e273 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,37 @@ Active Users * PyECLib - Python EC library: https://pypi.python.org/pypi/PyECLib * Openstack Swift Object Store - https://wiki.openstack.org/wiki/Swift + +---- + +Build and Install +================= + +Install dependencies - + + Debian/Ubuntu hosts: + +```sh + $ sudo apt-get install build-essential autoconf automake libtool +``` + + Fedora/RedHat/Centos hosts: + +```sh + $ sudo yum install -y gcc make autoconf automake libtool +``` + +To build the liberasurecode repository, perform the following from the +top-level directory: + +``` sh + $ ./autogen.sh + $ ./configure + $ make + $ make test + $ sudo make install +``` + ---- liberasurecode API Definition @@ -318,32 +349,6 @@ int liberasurecode_get_minimum_encode_size(int desc); */ int liberasurecode_get_fragment_size(int desc, int data_len); ``` ----- - - -Build and Install -================= - -Install dependencies - - - Debian/Ubuntu hosts: - - # apt-get install build-essential autoconf automake libtool - - Fedora/RedHat/Centos hosts: - - # yum install -y gcc make autoconf automake libtool - -To build the liberasurecode repository, perform the following from the -top-level directory: - -``` sh - $ ./autogen.sh - $ ./configure - $ make - $ make test - $ sudo make install -``` ---- @@ -415,4 +420,4 @@ References [3] Greenan, Kevin M et al, "Flat XOR-based erasure codes in storage systems", http://www.kaymgee.com/Kevin_Greenan/Publications_files/greenan-msst10.pdf - [4] Kota Tsuyuzaki , Ryuta Kon , "NTT SHSS Erasure Coding backend" + [4] Kota Tsuyuzaki , Ryuta Kon , "NTT SHSS Erasure Coding backend" \ No newline at end of file