Back to Browse

Comparative Languages: Scala Install (WINDOWS, LINUX, WSL)

212 views
Aug 21, 2024
8:48

# Linux install - `curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d {INSERT LEFT POINTING ANGLE BRACKET} cs && chmod +x cs && ./cs setup` - - download github, unzip the file, add permisions, run the ./cs setup - - coursier - cs - `cs setup` - - for more information: https://get-coursier.io/docs/cli-setup ## Uninstall Scala ### Linux - `which scala` - - FOR ME: `/home/{USER}/.local/share/coursier/bin/scala` - - Coursier is the Scala application and artifact manager: https://get-coursier.io/docs/cli-install#installation-directory - - - `cs search scala` see applications installed (confirm they are in the above folder) - DELETE: - - `/home/{USER}/.local/share/coursier/bin/scala` - - `/home/{USER}/.cache/coursier` - REMOVE: - coursier install directory command in ~/.profile - `nano ~/.profile` - Put everything in .bashrc and then source .bashrc from .profile - SOURCE: https://superuser.com/questions/789448/choosing-between-bashrc-profile-bash-profile-etc - - .profile is sourced at login # Windows - Download and execute the Scala installer for Windows ## Uninstall - Installed in `C:\Users\Student\AppData\Local\Coursier\data\bin` - May need to allow viewing of hidden items in File Explorer - - View - Show/hide Hidden items - DELETE coursier file - Remove Coursier from path

Download

0 formats

No download links available.

Comparative Languages: Scala Install (WINDOWS, LINUX, WSL) | NatokHD