To install and run Urbit please follow the instructions at urbit.org/docs/using/install. Packages and source tarballs are available there. You'll be on the live network in a few minutes.
If you're doing development on Urbit, keep reading.
vere, the Urbit virtual machine, depends on the following:
- C compiler (gcc or clang)
- GNU Make
- GMP
- CMake
- automake, autoconf, and libtool
- OpenSSL
- libsigsegv
- libcurl
- curses implementation (ncurses on Linux distributions, OS curses otherwise)
- Ragel
- re2c
Most of these dependencies are unfortunate; we aim to drastically shrink the
list in upcoming versions. vere proper makes use of GMP, OpenSSL, libcurl, and
libsigsegv. The multiple build tools are a result of bundled libraries, slated
for future unbundling or removal wherever possible.
Our Makefile should handle the build smoothly on all supported platforms. It's just a simple Makefile, written by hand for GNU Make, and the most complicated parts of its internal machinery have to do with the varied build systems of the bundled libraries.
Useful targets are the default all, clean, and distclean. The last may not
produce an entirely clean distribution directory, and runs a bundled library's
configure script; git clean may be a better option.
The vere binary is produced in bin/urbit.
To build a .deb file for installation on Debian platforms, perform the following steps:
- Run
sudo apt install devscriptsto install thedebuildutility. - Update the
debian/changelogto reflect the changes in this release. - If necessary, update the year of the copyright in
debian/copyright. - Clean any build artifacts: Run
make cleanand delete thebindirectory, if it exists. - Run
tar -xcvf ../urbit-x.y.z.orig.tar.gz .from the top-level folder in the repo. This command will create an archive in the directory above the current directory, which will be used in packaging. - Run
debuild -us -uc, also from the top-level folder in the repo. This creates a .deb file in the folder above the current directory.
The resulting .deb file should now exist in the folder above the current directory. To test that the .deb file works properly, you can perform the following steps:
- Uninstall urbit:
sudo apt remove urbit. - Run
sudo dpkg -i ../urbit-x.y.z_amd64.debto install the new version. - Boot up a ship using the
urbitcommand.
If you have any questions, problems, patches, or proposals for patches, please feel free to get in touch in whatever way is most convenient:
- Post to
/urbit-metaon Urbit:talk. (You can do this via urbit.org/stream without a running Urbit). - Post to urbit.org/fora.
- Email us directly [email protected].