Skip to content

Instantly share code, notes, and snippets.

@zkirill
Created March 7, 2016 23:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zkirill/4fb42b4ba4b7cc58c4f0 to your computer and use it in GitHub Desktop.
Save zkirill/4fb42b4ba4b7cc58c4f0 to your computer and use it in GitHub Desktop.
Installing Rust and Cargo on FreeBSD
The package versions for Rust and Cargo are behind the port versions on FreeBSD at the moment so follow the instructions here to install the latest http://www.freshports.org/devel/cargo/ and http://www.freshports.org/lang/rust.
---
Optionally, get the latest ports with instructions from https://www.freebsd.org/doc/en/books/handbook/ports-using.html.
# portsnap fetch
# portsnap extract
# portsnap update
---
Then let's get Rust and Cargo setup. This is going to take a long time and take up lots of space.
# cd /usr/ports/lang/rust/ && make install clean
# cd /usr/ports/devel/cargo/ && make install clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment