Last active
July 7, 2025 05:45
-
-
Save neodix42/e4b1b68d2d5dd3dec75b5221657f05d7 to your computer and use it in GitHub Desktop.
TON Mainnet validators - upcoming network update on April 30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Please check your clang version first | |
| clang --version | |
| # If it is of version 16 you don't need to do the below steps. | |
| # Required for Ubuntu 20.04 only. | |
| sudo apt update | |
| sudo apt install -y manpages-dev software-properties-common | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| sudo apt update && sudo apt install gcc-11 g++-11 | |
| # Required for Ubuntu 20.04 and 22.04. Update current clang to clang-16 | |
| sudo apt install lsb-release wget software-properties-common gnupg | |
| sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - | |
| wget https://apt.llvm.org/llvm.sh | |
| chmod +x llvm.sh | |
| sudo ./llvm.sh 16 clang | |
| # change default clang | |
| sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100 | |
| sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100 | |
| # update TON validator using MyTonCtrl | |
| echo upgrade master | mytonctrl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For debian without sudo
su -l
apt update
apt install -y manpages-dev software-properties-common gcc-11 g++-11 lsb-release wget software-properties-common gnupg
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
wget https://apt.llvm.org/llvm.sh
bash llvm.sh 16 clang
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
MyTonCtrl> upgrade