Skip to content

CS Script on Linux

Oleg Shilo edited this page Jan 1, 2019 · 21 revisions

Deploying CS-Script

CS-Script requires Mono v5.0.1 or higher.
Note that since Mono is hosted on the custom package repository it's not included into cs-scrip[t package as a dependency and you wil be required to install it manually with 'sudo apt-get install mono-complete'. See http://www.mono-project.com/download for details.


Note, CS-Script has a built-in update functionality. For already installed CS-Script package you can always trigger updating with the `-update` switch:
sudo cscs -update

Package installation (Ubuntu)

  • The GitHub repository hosts the universal package compatible with any Ubuntu distro, install it with the following shell command.
    repo=http://oleg-shilo.github.io/cs-script/linux/ubuntu/; file=$(echo cs-script_)$(curl -L $repo/version.txt --silent)$(echo _all.deb); rm $file; wget $repo$file; sudo dpkg -i $file
    
  • Alternatively you can download the latest package (cs-script<max-ver>.deb) from cs-script/bin/linux/ubuntu/.
    Install the package either by double-clicking the .deb file or with
    'sodo dpkg -i cs-script_*.deb'.

Apt-get installation

--- under development ---

Manual installation

The following is a few useful configuration settings for CS-Script on Linux.

sudo cscs -config:set:DefaultRefAssemblies=add:"System.ValueTuple.dll"
sudo cscs -config:set:SearchDirs=add:%MONO%/4.5/Facades