Clean installation of CentOS Linux release 8 (8.1.1911) minimal
All command are issued under root (ie su - root
)
- Misc tools
dnf -y update
dnf groupinstall 'Development Tools' -y
dnf install -y openssl-devel git cmake readline-devel jq
- Microhttpd & Ninja
dnf --enablerepo=PowerTools install -y libmicrohttpd-devel ninja-build
- Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Choose 1 (default)
Link to /usr/local
ln -s ~/.cargo/bin/* /usr/local/bin/
-
Go to build directory (or stay at homedir)
-
Clone git
git clone https://github.com/tonlabs/net.ton.dev.git
- Setup ENV
cd net.ton.dev/scripts/
. ./env.sh
- Buld all
./build.sh