You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2019/07/03 15:15:00 UTC

[incubator-singa] branch master updated: Update Installation.md

This is an automated email from the ASF dual-hosted git repository.

wangwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-singa.git


The following commit(s) were added to refs/heads/master by this push:
     new b55c4c3  Update Installation.md
     new 80ec6fc  Merge pull request #473 from sjs253/master
b55c4c3 is described below

commit b55c4c36d6b2f587e0cc04bc4cfbeb2f86fb2d37
Author: Shreyansh Shrivastava <38...@users.noreply.github.com>
AuthorDate: Mon Jul 1 00:21:09 2019 +0530

    Update Installation.md
    
    Instructions for Centos7 SINGA installation added.
---
 doc/en/docs/installation.md | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/doc/en/docs/installation.md b/doc/en/docs/installation.md
index 70da2f8..03be085 100644
--- a/doc/en/docs/installation.md
+++ b/doc/en/docs/installation.md
@@ -127,7 +127,44 @@ After compiling SINGA with ENABLE_TEST=ON, you can run the unit tests by
 You can see all the testing cases with testing results. If SINGA passes all
 tests, then you have successfully installed SINGA.
 
+### Use native tools to Build SINGA on Centos7
+Building from source will be different for Centos7 as package names differ.Follow the instructions given below.
+
+#### Installing dependencies
+Basic packages/libraries
+
+    sudo yum install freetype-devel libXft-devel ncurses-devel openblas-devel blas-devel lapack devel atlas-devel kernel-headers unzip wget pkgconfig zip zlib-devel libcurl-devel cmake curl unzip dh-autoreconf git python-devel glog-devel protobuf-devel
+For build-essential
+
+    sudo yum group install "Development Tools"
+For installing swig
+
+    sudo yum install pcre-devel
+    wget http://prdownloads.sourceforge.net/swig/swig-3.0.10.tar.gz
+    tar xvzf swig-3.0.10.tar.gz
+    cd swig-3.0.10.tar.gz
+    ./configure --prefix=${RUN}
+    make
+    make install
+ For installing gfortran
+
+    sudo yum install centos-release-scl-rh
+    sudo yum --enablerepo=centos-sclo-rh-testing install devtoolset-7-gcc-gfortran
+For installing pip and other packages
+
+    sudo yum install epel-release
+    sudo yum install python-pip
+    pip install matplotlib numpy pandas scikit-learn pydot
+    
+#### Installation
+Follow steps 1-5 of _Use native tools to build SINGA on Ubuntu_
+
+#### Testing
+You can run the unit tests by,
 
+    $ ./bin/test_singa
+You can see all the testing cases with testing results. If SINGA passes all
+tests, then you have successfully installed SINGA.
 ### Compile SINGA on Windows
 
 Instructions for building on Windows with Python support can be found [here](install_win.html).