Friday, August 17, 2012

Installing Rust 0.3 in Ubuntu 12.04 (Precise Pangolin)

I installed Rust with only a slight wrinkle; I decided to use GNU Stow so I could easily remove the installed files later. That should make it easier to upgrade to the next version of Rust when it's released.

sudo apt-get install g++ curl stow
cd ~/tmp
wget http://dl.rust-lang.org/dist/rust-0.3.tar.gz
tar xzf rust-0.3.tar.gz
cd rust-0.3
./configure --prefix=/usr/local/stow/rust-0.3
make -j2
sudo make install
sudo stow -d /usr/local/stow rust-0.3

Extra info

No comments:

Post a Comment