Wiki
Clone wikiSAGE2 / Install (openSUSE)
Install for Linux openSUSE (13.x)
Last revision: DD Month YYYY
For older versions of openSUSE (and future versions), the name of the packages might change slightly, but the instructions remain mostly valid.
Install Dependencies
- In a Terminal window as 'root' user (or using a sudo command)
- The default version of nodejs provided by default is usually pretty old. It seems better to add the NodeJS repository to the system and install it from there:
zypper ar http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_13.2/ Node.js
zypper in nodejs nodejs-devel npm
(choose Node version v10.xx if possible)
- after install, test:
node -v
will tell you which version is installed
zypper install git
: distributed revision control systemzypper install openssl
: Secure Sockets and Transport Layer Securityzypper install mozilla-nss-tools
: NSS Security Toolzypper install ca-certificates ca-certificates-cacert ca-certificates-mozilla mozilla-nss-certs
: CA certificateszypper install ImageMagick
: Viewer and Converter for Imageszypper install exiftool
: Metadata extraction for fileszypper install xdotool
: Tools to fake mouse/keyboard input and move the mouse outside the viewport- some packages that we use might require the compiler and development packages to be installed
zypper install -t pattern devel_C_C++
- if you want to use privileged network ports (port 80 for HTTP and 443 for HTTPS), you need to add capabilities to the
node
binary:zypper install libcap-progs
sudo setcap 'cap_net_bind_service=+ep' /usr/bin/node
- this allows a regular user to use node with privileged ports
- Packages provided by other repositories
- add repositories:
zypper ar http://packman.inode.at/suse/openSUSE_13.2 Packman_13.2
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google_chrome
zypper refresh
zypper install ffmpeg libffmpeg-devel
: Viewer and Converter for Imageszypper install google-chrome-stable
: Google Chrome browser
- add repositories:
Clone SAGE2
- Open Terminal
cd <directory_to_install_SAGE2>
env GIT_SSL_NO_VERIFY=true git clone https://bitbucket.org/sage2/sage2.git
- enter bitbucket login information when asked
Generate HTTPS Keys
- Open the file 'GO-linux' inside the '<SAGE2_directory>/keys/' folder
- Add additional host names for your server in the variable
servers
(optional)- for instance add the short name and the fully qualified domain name of your server
- Save file
- In a Terminal
cd <SAGE2_directory>/keys
./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