前期准备


检测是否安装python2.7、gcc、g++、automake、cmake

sudo apt-get install python2.7 gcc g++ automake cmake

检测python版本是否为2.7

python
sudo ln -s /usr/bin/python2.7 /usr/bin/python
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2.7 /usr/bin/python

软件安装

获取CT SMITH安装包,请联系相关技术人员。安装包名称:Suresofttech_CT_SMITH_HOME_ubuntu_20.04.tar.gz

选择安装位置,进行解压,并注册环境变量:

tar -zxvf Suresofttech_CT_SMITH_HOME_ubuntu_20.04.tar.gz
cd Suresofttech_CT_SMITH_HOME/bin
./register_RTV
source ~/.bashrc

检测命令是否可用

tce
ctbuild