-
Notifications
You must be signed in to change notification settings - Fork 174
Building
The latest stable version of Armory is available in precompiled, GPG-signed binaries for Windows, Ubuntu/Debian, and Mac. You can download them from the releases page. Non-Debian-based Linux users will have to compile from source.
Compiling in Linux has proven to be quite easy. There are only a couple of dependencies, and they're all versionless, so there are no games you have to play with system library versions in order to get it to work.
- Install dependencies:
$ sudo apt-get install git build-essential automake autotools-dev autoconf pkg-config python-psutil libtool protobuf-compiler libprotobuf-dev swig python3-dev python3-pip libtool-bin
$ pip install psutil, protobuf, cffi
- Clone the following libraries and build them:
- libbtc
- libwebsockets (disable SSL or use system library)
- Update and start submodules (
git submodule update --init --recursive
) - In the root folder, start the build process. Replace
/path/to/libwebsockets
and/path/to/libbtc
with the path to the folders you built each library in:
$ ./autogen.sh
$ ./configure --with-own-lws=/path/to/libwebsockets --with-own-libbtc=/path/to/libbtc
$ mkdir build & cd build
$ make -j4
- Build required python module:
$ cd c20p1305_cffi
$ python3 c20p1305_cffi.py --libbtc_path=path/to/libbtc
Warning
The instructions below may be outdated and will be updated in time.
Building on Windows however is more complicated and involves downloading and manually installing 7 packages, as well as Microsoft Visual Studio to compile the C++ code and create a Python module. You can find the build instructions here: https://github.com/goatpig/BitcoinArmory/blob/master/windowsbuild/Windows_build_notes.md
Warning
The instructions below may be outdated and will be updated in time.
To build Armory on Mac OS X, you can follow the instructions found here: https://github.com/goatpig/BitcoinArmory/blob/master/osxbuild/OSX_build_notes.md