Install on Linux
This guide explains how to install the Rux compiler on Linux — using the universal install script, your distribution's package manager, or the prebuilt release tarball.
Prerequisites
- A 64-bit (x86-64) Linux distribution
curlorwgetto download the releasetarto extract the archive (for the manual install)
Quick Install (Script)
The fastest way to install on any distribution is the per-user install script. It downloads the latest release, installs the rux binary into ~/.local/bin (no root required), and adds that directory to your PATH:
curl -fsSL https://rux-lang.dev/install.sh | shThe script accepts a few options — for example, install a specific version or a custom directory:
curl -fsSL https://rux-lang.dev/install.sh | sh -s -- --version 0.3.0 --dir /usr/local/binRun it with --help to see all options.
Manual Install
On Ubuntu, Debian, or any other distribution without a dedicated package, use the prebuilt tarball.
Download the latest Linux tarball:
curl -LO https://github.com/rux-lang/Rux/releases/latest/download/rux-linux.tar.gzExtract the archive:
tar -xzf rux-linux.tar.gzMove the extracted rux binary somewhere on your PATH:
sudo mv rux /usr/local/bin/ruxVerify the Installation
rux versionYou should see the installed Rux compiler version.
Releases
All Rux releases are available on GitHub.