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:
server=1 daemon=1
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:
Pull down the latest code:
git clone https://github.com/LytixChain/lytix
Change into that directory:
cd lytix
Gen up the compiled version:
Create the build and binaries:
You should now be able to call the binaries from the command prompt.
Last updated
Was this helpful?