🍪 Cookie Notice

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience, read more.

How to start chia farming - startchia.com

How to install Chia on Linux?

Ubuntu/Debian/ARM/CentOS/Redhat

Install Chia using the Linux installer in 3 simple steps

  1. Visit the Chia website download page.
  2. Scroll down to Your Linux version and download the Chia Blockchain for Linux.
  3. Install and run the Chia Blockchain.

That's it, well done! Check out our Plotting Guide & Farming Guide

Use Chia via Terminal
Ubuntu/Debian
Follow below install instructions for Ubuntu 20.04 LTS. If you are installing on Ubuntu 18.04 LTS you should use Python 3.7 instead: sudo apt-get install python3.7-venv python3.7-distutils python3.7-dev git lsb-release -y
  1. sudo apt-get update
  2. sudo apt-get upgrade -y
  3. sudo apt install git -y
  4. git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
  5. cd chia-blockchain
  6. sh install.sh
  7. . ./activate
  8. sh install-gui.sh
  9. cd chia-blockchain-gui
  10. npm run electron &
  11. To Update/Upgrade from previous version

  12. cd chia-blockchain
  13. . ./activate
  14. chia stop -d all
  15. deactivate
  16. git fetch
  17. git checkout latest
  18. git reset --hard FETCH_HEAD --recurse-submodules
  19. git status
  20. sh install.sh
  21. . ./activate
  22. chia init
  23. cd chia-blockchain-gui
  24. git fetch
  25. cd ..
  26. chmod +x ./install-gui.sh
  27. ./install-gui.sh
  28. cd chia-blockchain-gui
  29. npm run electron &
CentOS/Red Hat/Fedora
  1. sudo yum install epel-release -y
  2. sudo yum update -y
  3. sudo yum install gcc openssl-devel bzip2-devel zlib-devel libffi libffi-devel -y
  4. sudo yum install libsqlite3x-devel -y
  5. sudo yum groupinstall "Development Tools" -y
  6. sudo yum install python3-devel gmp-devel boost-devel libsodium-devel -y
  7. sudo yum install wget -y
  8. sudo wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz
  9. sudo tar -zxvf Python-3.7.7.tgz ; cd Python-3.7.7
  10. ./configure --enable-optimizations; sudo make -j$(nproc) altinstall; cd ..
  11. git clone https://github.com/Chia-Network/chia-blockchain.git -b latest
  12. cd chia-blockchain
  13. sh install.sh
  14. . ./activate
  15. sh install-gui.sh
  16. cd chia-blockchain-gui
  17. npm run build
  18. npm run electron
  19. curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
  20. sudo yum install -y nodejs
  21. python3.7 -m venv venv
  22. ln -s venv/bin/activate
  23. . ./activate
  24. pip install --upgrade pip
  25. pip install -i https://hosted.chia.net/simple/ miniupnpc==2.1 setproctitle==1.1.10
  26. pip install chia-blockchain==1.2.1

If you installed Chia with the Linux installer files, your chia executable should be in one of the following locations:

/usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia

/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia

If you installed from source (using git), just activate and run chia directly.

← Back to the home page

Subscribe to our newsletter!