How to build SAGE on CentOS 7

Currently, one of major linux distributer is CentOS, is released version 7. SAGE on CentOS 7 is easy to install from source.

  1. Install CentOS 7
  2. Please, select "Development and Creative Workstation" when you install CentOS 7.

  3. Install Libraries
  4. Install the build dependencies.
    sudo rpm -Uvh
    sudo yum install SDL readline freeglut libjpeg ImageMagick libXmu libXi \
    glew SDL_ttf wxGTK wxPython numpy poppler pygame gcc gcc-c++ SDL-devel \
    readline-devel freeglut-devel libjpeg-devel ImageMagick-devel libXmu-devel \
    libXi-devel glew-devel SDL_ttf-devel poppler-devel subversion git cmake \
    jack-audio-connection-kit-devel fontconfig-devel libpng-devel libtool-ltdl-devel \
    libv4l-devel gnutls-devel yasm glibc-devel.i686 gstreamer-plugins-base-devel autogen \
    automake autoconf qt-devel libvncserver-devel

  5. Configure Environment Variables
  6. Please add the following to the user profile (~/.bashrc).
    export PATH=/usr/lib64/qt4/bin:$PATH

  7. Build SAGE
  8. This document aims to build SAGE middlware from source code. Please, refer to the offical SAGE installation document on the SAGE web site. Probably, developer's document on the SAGE web site shows essential of source code build.
    svn co svn:// sage-dev
    cd sage-dev
    make build
    make install

The research was partially supported by "Research on high functional network platform technology for large-scale distributed computing", entrusted research from NICT.
This work was partially supported by JSPS KAKENHI Grant Number 24700295, 26540053 and 18K11355.