on 26f8729 help sign in
urbit.org/docs/using/install.md
122 lines 4.2 kB history raw
1---
2navhome: /docs/
3navuptwo: true
4next: true
5sort: 1
6title: Install
7---
9# Install
11Installing Urbit is easy. It just takes a few minutes to get an
12instance up and running on the network.
14Urbit is designed to run on any Unix box with an internet connection.
15Debian (jessie), Mac OS X, FreeBSD and Fedora all work well.
17If you run into trouble installing Urbit, please let us know via
18email, [questions@urbit.org](mailto:questions@urbit.org), or on the
19forum: [urbit.org/fora](https://urbit.org/fora). You can also chat
20with us at [urbit.org/stream](https://urbit.org/stream).
22> Urbit is alpha software. It’s not yet completely stable, its crypto
23> hasn’t been audited, and there are plenty of rough edges. Urbit is
24> lots of fun to play with, but not quite ready for your important or
25> sensitive data.
27### Update: `~2017.12.7`
29Urbit `0.5.1` is now live! We expect there to be a delay in getting our
30updated `urbit-0.5.1` binary packages propagated to Homebrew, APT and
31the other various package managers. So for now, **please
32build and install Urbit from source**. The instructions below will walk
33you through how to do that. You'll then be free to continue the boot
34and setup process as normal, per the rest of this Using docs section.
36## Build from source
38### Dependencies
40Urbit depends on:
42 C compiler (gcc or clang)
43 automake
44 autoconf
45 libtool
46 cmake
47 ragel
48 re2c
49 libcurl
50 curses
51 gmp
52 libsigsegv
53 openssl
55Which can usually be installed with the following one-liners:
57 # Mac OS X [Homebrew]
58 $ brew install gmp libsigsegv openssl libtool autoconf automake cmake
60 # Mac OS X [Macports]
61 $ sudo port install gmp libsigsegv openssl autoconf automake cmake
63 # Ubuntu or Debian
64 $ sudo apt-get install libgmp3-dev libsigsegv-dev openssl libssl-dev libncurses5-dev make exuberant-ctags automake autoconf libtool g++ ragel cmake re2c libcurl4-gnutls-dev
66 # Fedora
67 $ sudo dnf install gcc gcc-c++ gmp-devel openssl-devel openssl ncurses-devel libsigsegv-devel ctags automake autoconf libtool ragel cmake re2c libcurl-devel
69 # FreeBSD
70 $ pkg install gmake gmp libsigsegv curl python automake autoconf ragel cmake re2c libtool curl
72 # Arch
73 $ pacman -S gcc gmp libsigsegv openssl automake autoconf ragel cmake re2c libtool ncurses curl
75 # AWS
76 $ sudo yum --enablerepo epel install gcc gcc-c++ gmp-devel openssl-devel ncurses-devel libsigsegv-devel ctags automake autoconf libtool cmake re2c libcurl-devel
78### Clone and make
80Once your dependencies are installed the rest is easy:
82 $ git clone https://github.com/urbit/urbit
83 $ cd urbit
84 $ make # gmake on FreeBSD
86After running `make`, your Urbit executable is in `bin/urbit`. Install it wherever you'd like.
88 # sudo install -m 0755 bin/urbit /usr/local/bin
90Test that it works:
92 $ urbit
93 simple usage:
94 urbit -c <mycomet> to create a comet (anonymous urbit)
95 urbit -w <myplanet> -t <myticket> if you have a ticket
96 urbit <myplanet or mycomet> to restart an existing urbit
98### Boot your urbit
100And you're done! If you're running Urbit on a normal modern PC or Mac, or
101on a large cloud instance, move onto the next [setup](../setup/) section to
102boot your urbit.
104If you're running Urbit in the cloud on a small instance, however, read
105the below section, as you may need to additionally configure swap space.
107### (Set up swap)
109Urbit wants to map 2GB of memory when it boots up. We won’t necessarily
110use all this memory, we just want to see it. On a normal modern PC or Mac,
111or on a large cloud virtual machine, this is not an issue. On some small
112cloud virtual machines (Amazon or Digital Ocean), the default memory
113configuration is smaller than this, and you need to manually configure a
114swapfile.
116Digital Ocean has a post on adding swap
117[here](https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04).
118For Amazon there’s a StackOverflow thread
119[here](http://stackoverflow.com/questions/17173972/how-do-you-add-swap-to-an-ec2-instance).
121Don’t spend a lot of time tweaking these settings; the simplest
122thing is fine.