-
Notifications
You must be signed in to change notification settings - Fork 0
Install Linux UI
In the following a description on how to install Alias wallet on Ubuntu 18.04.
Update package lists and update system:
root@myStaker:~# apt-get update -y && apt-get upgrade -y
Install some dependencies and convenience tools
apt-get update
apt-get install -y \
apt-transport-https \
curl \
gpg-agent \
libqt5quickwidgets5 \
mc \
qml-module-qtquick2 \
qml-module-qtwebchannel \
qml-module-qtwebengine \
qml-module-qtwebsockets \
qml-module-qtwebview \
unzip \
wget
For Ubuntu 18.04:
echo "deb https://deb.torproject.org/torproject.org bionic main" > /etc/apt/sources.list.d/tor.list
echo "deb-src https://deb.torproject.org/torproject.org bionic main" >> /etc/apt/sources.list.d/tor.list
curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
apt update
apt install -y tor deb.torproject.org-keyring
See https://2019.www.torproject.org/docs/debian.html.en for other systems.
To install the two binaries aliaswallet (UI) and aliaswalletd (daemon)
just extract the downloaded archive on the filesystem root. The archive contains
the proper directory structure, so the binaries will be located below /usr/local/bin/.
Please note to update the used download URL with the current download URL!
The binaries are static in the sense of their requirements but there are still dedicated versions for the supported Linux distribution. Don't forget to replace the download url below with the corresponding one for your system, you can find them on https://alias.cash/wallets
root@myStaker:~# cd /tmp/
root@myStaker:~# wget https://download.alias.cash/files/4.3.1/Alias-4.3.1-425be867-Ubuntu-20-04.tgz
root@myStaker:~# cd /
root@myStaker:~# sudo tar xzf /tmp/Alias-4.3.1-425be867-Ubuntu-20-04.tgz
To check if the daemon is working in general, just check it's version:
root@myStaker:~# aliaswalletd -version
v4.3.1...
At first we create the account, which should be used to run the wallet:
root@myStaker:~# groupadd staker
root@myStaker:~# useradd --create-home --shell /bin/bash --gid staker staker
root@myStaker:~# passwd staker
New password:
Retype new password:
passwd: password updated successfully
root@myStaker:~#
Now download and extract the bootstrap blockchain:
staker@myStaker:~$ cd ~
staker@myStaker:~$ wget https://download.alias.cash/files/bootstrap/BootstrapChain.zip
...
staker@myStaker:~$ cd ~/.aliaswallet/
staker@myStaker:~/.aliaswallet$ unzip ~/BootstrapChain.zip
Archive: ~/BootstrapChain.zip
inflating: blk0001.dat
creating: txleveldb/
inflating: txleveldb/088656.ldb
...
staker@myStaker:~/.aliaswallet$
After that you can start the wallet by executing aliaswallet:
staker@myStaker:~$ aliaswallet