Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Brian Anderson <banderson-4eJtQOnFJqFBDgjK7y7TUQ <at> public.gmane.org>
Subject: New Rust binary installers and nightlies
Newsgroups: gmane.comp.lang.rust.devel
Date: Friday 28th March 2014 01:25:17 UTC (over 3 years ago)
Hi.

I have very exciting news. Rust now has binary installers for Linux and 
Mac, as well as nightly builds for Windows, Linux and Mac.

Official Rust installers now come in the following forms:

* source .tar.gz - the same old source tarball
* binary .tar.gz - Generic Unix installers, currently built for Linux 
and Mac
* win .exe - 32-bit windows installers
* mac .pkg files - Mac installers in the standard .pkg format

With 0.10 coming next week, there's a pretty big risk changing the 
installation mechanism now, so please do test Rust installation, 
particularly on more exotic systems that need to use `--prefix`, 
`--libdir`, etc.


# About the new installation system

We have a new installation script, `install.sh` that is contained in the 
binary tarballs and also used for `make install`. `install.sh` takes 
several arguments controlling the installation, as well as an 
`--uninstall` argument that can be used to uninstall previous versions. 
This installation script manages upgrades correctly.

The binary tarballs are also suitable for running rustc in place without 
installing.

For convenience I've also published a little script called rustup.sh 
that downloads the appropriate nightly and installs:

```
curl -s http://www.rust-lang.org/rustup.sh
| sudo sh
```

Uninstall:

```
curl -s http://www.rust-lang.org/rustup.sh
| sudo sh -s -- --uninstall
```

I don't plan to recommend this method for general use since people tend 
to have security concerns with it, but I expect it to make keeping up 
with master much more convenient.


# Nightly

## Source

* http://static.rust-lang.org/dist/rust-nightly.tar.gz

## Linux

* 
http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
* 
http://static.rust-lang.org/dist/rust-nightly-i686-unknown-linux-gnu.tar.gz

## Mac

* http://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.pkg
* http://static.rust-lang.org/dist/rust-nightly-i686-apple-darwin.pkg
* http://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.tar.gz
* http://static.rust-lang.org/dist/rust-nightly-i686-apple-darwin.tar.gz

## Windows (32-bit)

* http://static.rust-lang.org/dist/rust-nightly-install.exe


# 0.10-pre

## Source

* http://static.rust-lang.org/dist/rust-0.10-pre.tar.gz

## Linux

* 
http://static.rust-lang.org/dist/rust-0.10-pre-x86_64-unknown-linux-gnu.tar.gz
* 
http://static.rust-lang.org/dist/rust-0.10-pre-i686-unknown-linux-gnu.tar.gz

## Mac

* http://static.rust-lang.org/dist/rust-0.10-pre-x86_64-apple-darwin.pkg
* http://static.rust-lang.org/dist/rust-0.10-pre-i686-apple-darwin.pkg
* http://static.rust-lang.org/dist/rust-0.10-pre-x86_64-apple-darwin.tar.gz
* http://static.rust-lang.org/dist/rust-0.10-pre-i686-apple-darwin.tar.gz

## Windows (32-bit)

* http://static.rust-lang.org/dist/rust-0.10-pre-install.exe
 
CD: 2ms