Thursday, December 26, 2013

Installing Armory

The Armory installer isn't quite up to date. The installer I found on their website: https://bitcoinarmory.com/download/ had RAM leaking issues.

sudo apt-get install git-core build-essentials python-dev \
    python-psutil swig pyqt4-dev-tools bitcoind

git clone https://github.com/etotheipi/BitcoinArmory.git
cd BitcoinArmory/cppForSwig
./whereispy.sh
make swig
cd ..

Note: 'whereispy.sh' is run by 'make swig'. I ran it first just to make sure I have all the dependencies, since make swig swallows the errors in 'whereispy.sh'

Now you can run ArmoryQt.py, just to make sure everything works:
python ArmoryQt.py

I decided that I wanted to "install" it, so I copied the folder to /usr/lib/
cd ..
sudo mv BitcoinArmory /usr/lib/armory

Adding the desktop icon:

I decided to update the armory icon, since it was pointed to an icon pack I didn't install.
cd /usr/lib/armory
sed -ie "s/Icon=.*/Icon=\/usr\/lib\/armory\/img\/armory64x64.ico/" \
    dpkgfiles/armory.desktop

chmod +x dpkgfiles/armory.desktop

Then copy it to your list of local applications:
cp /usr/lib/armory/dpkgfiles/armory.desktop ~/.local/share/applications/

Now the a launcher shows up in unity, with the right icon.