-
-
Notifications
You must be signed in to change notification settings - Fork 692
Installing Racket
We provide installers for the latest Racket Distribution at https://download.racket-lang.org
If you prefer to use your package manager, we will endeavour to provide installation instructions below
Distribution descriptions:
Note: Minimal Racket is probably not the right choice if you are new to Racket.
Full installation:
pacman -Syu racket
Minimal installation (without drracket and docs) :
pacman -Syu racket-minimal
Stable version of Racket can be installed by simply emerging racket
(you can also specify the category (dev-scheme), in case
any other package, in a different category, is named racket).
emerge --ask racketTo install the latest, and possibly unstable, version of Racket
either specify a particular version to install
or configure /etc/portage/package.accept_keywords.
Here is a quick 1st approach one-liner:
emerge --ask --autounmask --autounmask-write =dev-scheme/racket-8.7to be also considered is the racket overlay, which can be enabled via eselect-repository:
eselect repository enable racket-overlaydon't forget to sync it the overlay and follow the README.
The Racket package is listed in openSUSE-Tumbleweed-Oss, one of the official repositories. So you just need to run:
zypper install racket
Ubuntu 23.04: lunar/universe Debian 11: bullseye
apt install racket
xbps-install racket
Racket can be installed using …
???
To install Racket, run the following command from the command line or from PowerShell:
choco install racket
To upgrade Racket, run the following command from the command line or from PowerShell:
choco upgrade racket
From https://community.chocolatey.org/packages/racket
Recommended
The recommended way of installing Racket is to use an installer from https://download.racket-lang.org/. This installer is always up-to-date and well-tested.
Homebrew
Racket can also be installed using Homebrew.
If you do choose Homebrew, we recommend using the full distribution.
The full Racket distribution is available as a cask:
brew install --cask racket
To install a version built from source:
brew install minimal-racket
but as its name suggests this is a minimal build without documentation and DrRacket. The minimal distribution is mainly for servers.
For NixOS users - it's recommended to add pkgs.racket to your environment.systemPackages list in /etc/nixos/configuration.nix.
pkgs.racket
];Don't forget to run nixos-rebuild switch for changes to take effect.
For users of other distros who wish to install via Nix:
nix-env -iA nixpkgs.racket
If you wish to only experiment with a temporary installation, run:
nix-shell -p racket
snap install racket
flatpak install flathub org.racket_lang.Racket
flatpak run org.racket_lang.Racket
pacman -S racket
pkg_add racket-minimal
pkg install racket
Not recommended.
pkgin racket (very out of date; 6.12)
