Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Installing svm on Linux

Paul Bouwer edited this page Jun 26, 2016 · 7 revisions

Prerequisites

.NET 4.5 is the minimum requirement for scriptcs which can be realised via mono. Download and install the latest version for your distro from:

http://www.mono-project.com/download/#download-lin

It can be installed on Ubuntu 16.04 as follows:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete

The following packages are required: unzip, curl, libxml2-utils, uuid-runtime. Install them on Ubuntu 16.04 as follows:

sudo apt-get -y install unzip curl libxml2-utils uuid-runtime

Install

Run the following command in a terminal. This does NOT require the user to be root.

bash <(curl -s https://raw.githubusercontent.com/scriptcs-contrib/svm/master/install/installer.sh) && export PATH="$HOME/.svm/bin:$HOME/.svm/shims/:$PATH"

This will download the bash based installer, execute the installer using bash and set the PATH correctly in the terminal to allow you to start using svm right away.

svm will be installed to $HOME/.svm. Example: ~/paul/.svm

Type the following in the terminal to get started:

svm help

Previous Versions

svm supports in-place upgrades via the installers. The existing versions and active versions will be left in-place.

Navigation

  • Home
  • Installing svm
  • Windows
  • OSX
  • Linux
  • Updating svm
  • [Managing scriptcs versions](scriptcs versions)
  • [Install](Installing scriptcs versions)
  • [Use](Using scriptcs versions)
  • [List](Listing scriptcs versions)
  • [Remove](Removing scriptcs versions)
  • How it works
  • Community
Clone this wiki locally