Skip to main content

Install Rust

This is an unofficial script that is provided for your convenience. The script is provided as-is and may not be updated or maintained by Ultra.cc. Clients are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff.
Use at your own risk.

This script will install Rust on your Ultra.cc slot. Rust is a multi-paradigm and general-purpose programming language. It was designed with an emphasis on performance, type safety and concurrency.

Installation

  • Connect to your Ultra.cc service via SSH, see guide here.
  • Once connected, execute the following command:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/LanguageInstaller/Rust-Installer/main.sh)
  • Type 1 and press ENTER to install.
  • Wait for installer to finish. This may take a while.
  • Once the installation has finished, execute the following command:
source ~/.bashrc
  • To check if the installation was successful, execute rustc --version and you should see the below output in your terminal.
ultradocs@spica:~$ rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)
  • Done!

Uninstallation

  • Execute the following command:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/LanguageInstaller/Rust-Installer/main.sh)
  • Type 2 and press ENTER to proceed with uninstallation.
  • Done!