Wiki
Clone wikiSAGE2 / Install (Ubuntu)
Install for Ubuntu (14.04 or 15.04)
Last revision: 15 October 2015
Download
- Download Google Chrome (64 bit .deb): select 'Open With: Ubuntu Software Center' and click 'Install'
- Download Node.js (v4.x.x .tar.gz file)
- Download FFmpeg (ffmpeg-2.x.x.tar.bz2)
- Download ImageMagick(6.9.x-x .tar.gz file)
Install Dependencies
- Open Terminal
sudo apt-get install g++
sudo apt-get install libx264-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install libogg-dev
sudo apt-get install libtheora-dev
sudo apt-get install libvorbis-dev
sudo apt-get install libvpx-dev
sudo apt-get install yasm
sudo apt-get install libnss3-tools
sudo apt-get install git
sudo apt-get install libimage-exiftool-perl
sudo apt-get install libjpeg-dev
sudo apt-get install libpng-dev
sudo apt-get install libwebp-dev
sudo apt-get install libtiff5-dev
sudo apt-get install ghostscript
sudo apt-get install libgs-dev
Install Node.js
- Open Terminal
cd <Downloads_directory>
tar xzvf <downloaded_nodejs.tar.gz>
cd <extracted_nodejs_directory>
./configure
make
sudo make install
Install FFmpeg
- Open Terminal
cd <Downloads_directory>
tar xjvf <downloaded_ffmpeg.tar.bz2>
cd <extracted_ffmpeg_directory>
./configure --enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-shared --enable-pthreads
make
sudo make install
Install ImageMagick
- Open Terminal
cd <Downloads_directory>
tar xzvf <downloaded_imagemagick_tar.gz>
cd <extracted_imagemagick_directory>
./configure --with-gslib
make
sudo make install
Add Shared Libraries
- Open Terminal
sudo vi /etc/ld.so.conf
- insert the following lines:include ld.so.conf.d/*.conf
/usr/local/lib
sudo ldconfig
Clone SAGE2
- Open Terminal
cd <directory_to_install_SAGE2>
git clone https://bitbucket.org/sage2/sage2.git
Generate HTTPS Keys
- Open Terminal
cd <SAGE2_directory>/keys
vi GO-linux
- insert additional host names for your server in the variableservers
(optional)./GO-linux
Install Node.js Modules
- Open Terminal
cd <SAGE2_directory>
npm run in
Return to the main page for configuration and running SAGE2
Updated