Linux Install Guide

Linux Client Install Guide

There are 2 ways that we'll show how to install the client on a Linux host. One method is through installing the binaries provided here on GitHub. The second method will be to compile the source locally.
Binary copy and run
To install the binaries and run them go to the Releases page and find the latest release and click on it. Most Linux installs will use the binaries labelled with the *x86_64-linux-gnu.tar.gz suffix.
On the Linux host you want to install get the following file (for this example we'll use 2.0.1:
wget https://github.com/LytixChain/lytix/releases/download/v2.0.1/lytix-2.0.1-x86_64-linux-gnu.tar.gz
Untar and unzip the archive by running:
tar zxvf lytix-2.0.1-x86_64-linux-gnu.tar.gz
Change into the directory:
cd lytix-2.0.1
Copy over the files to /usr/local (you will most likely have this in your path):
sudo cp -r * /usr/local
Lytix is now on your machine with all the libraries it needs to function. If you want to start the Graphical version of the client just enter:
1
If you want to run the daemon (application process) in the background and use the cli you can edit the ~/.lytix/lytix.conf file to have it run as a daemon all the time. Using your favourite text editor (I like vi) you just simply add:
Copied!
server=1 daemon=1
1
Save the file and then start the lytixd application by simply typing:
2
​
3
```lytixd
Copied!
If you want to mine through the CLI all you need to do is type:
lytix-cli setgenerate true 1
1 is the CPU cores you want to use. If you want to use 6 of the 8 on a server then you can just change the 1 to 6 like so:
lytix-cli setgenerate true 6
To turn off mining you can type:
lytix-cli setgenerate true false
To turn off the daemon type:
lytix-cli stop
Compile from Source
To build from source there are more steps to take. You will need to ensure that you have the right libraries and compilation tools necessary to build the software. Please note that this is not working well on the latest Ubuntu and Gentoo releases (18.10.)
For Ubuntu Linux builds the following packages are typically needed (works well on 16.04 Ubuntu:
1
sudo add-apt-repository -y ppa:bitcoin/bitcoin
2
sudo apt-get update
3
sudo apt-get -y install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev libboost-all-dev libprotobuf-dev protobuf-compiler libdb4.8-dev libdb4.8++-dev automake git
Copied!
Pull down the latest code:
git clone https://github.com/LytixChain/lytix
Change into that directory:
cd lytix
Gen up the compiled version:
1
Configure the build:
2
​
3
```./configure
Copied!
Create the build and binaries:
1
To increase the speed of the build you can use make -j4 if you want to use 4 processors to build. Once the build has completed with an Exit 0 then you can optionally install the binaries in your host system:
2
​
3
```sudo make install
Copied!
You should now be able to call the binaries from the command prompt.
Last modified 2yr ago
Copy link