Skip to content

CS Script.Core on Linux

Oleg Shilo edited this page Jun 21, 2019 · 1 revision

Deploying CS-Script.Core

CS-Script requires .NET Core.
Note that since .NET Core is hosted on the custom package repository it's not included into cs-script package as a dependency and you will be required to install it manually. See https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/sdk-current for details.


Note, CS-Script.Core has a built-in update functionality. For already installed CS-Script.Core package you can always trigger updating with the `-update` switch:
sudo css -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://www.cs-script.net/cs-script.core/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.core/bin/linux/ubuntu/.
    Install the package either by double-clicking the .deb file or with
    'sodo dpkg -i cs-script.core_*.deb'.
Clone this wiki locally