SweetAndLow
Sweet'NASty
- Joined
- Nov 6, 2013
- Messages
- 6,421
The original chia wiki has the install instructions for freebsd 11 and 12. Those instructions no longer work for freebsd 13. Here are the steps I did to get chia farming working in a Truenas 13 jail. I suspect there is a better way to install things but this way works and skips having to compile the py cryptography package and you no longer need to make edits for the keyring as that's built in now. If you have done this also feel free to improve the process so we can keep freebsd as a supported os for chia.
EDIT 12/20/2023 - I have 2.1.3 working but you have to build wheel for chia_rs 0.2.13 and build clvm-tools_rs. Make sure you're in your virtual environment when you do the build so it gets installed in the correct place.
After building these things you should be able to do your bash install.sh command above.
Code:
Jail Version: 13.1-RELEASE TrueNAS Version: 13.0-U1 pkg update; pkg upgrade -yf #pkg-1.18.3 pkg install bash git python screen bash gmake rust cmake gmp py39-sqlite3 py39-pybind11 pybind11 chsh -s /usr/local/bin/bash bash #start the shell git clone https://github.com/Chia-Network/chia-blockchain.git -b latest cd chia-blockchain python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip install clvm-tools-rs maturin #take note of the clvm-tools-rs version that gets installed(0.1.19 in this case) *EDIT setup.py file for clvm-tools-rs version number bash ./install.sh chia init chia version => 1.5.1.dev0
EDIT 12/20/2023 - I have 2.1.3 working but you have to build wheel for chia_rs 0.2.13 and build clvm-tools_rs. Make sure you're in your virtual environment when you do the build so it gets installed in the correct place.
Code:
(venv) [root@chia-farmer ~/chia-latest]# git clone -b 0.2.13 https://github.com/Chia-Network/chia_rs.git *NOTE: you need to cd into the wheel directory here, that's different from the others. (venv) [root@chia-farmer ~/chia-latest]# cd chia_rs/wheel (venv)[root@chia-farmer ~/chia-latest/chia_rs/wheel]# pip install . (venv) [root@chia-farmer ~/chia-latest]# git clone -b 0.1.39 https://github.com/Chia-Network/clvm_tools_rs.git (venv) [root@chia-farmer ~/chia-latest]# cd clvm_tools_rs/ (venv) [root@chia-farmer ~/chia-latest/clvm_tools_rs]# pip install .
After building these things you should be able to do your bash install.sh command above.
Last edited: