在Ubuntu中安装spin与modex
一. 前期准备
下面所有的安装步骤请以root用户进行操作
-
安装c语言编辑器
sudo apt install build-essential
-
安装tcl
sudo apt install tcl
-
安装tk
sudo apt install wish //拷贝wish whereis wish cp /usr/bin/wish /usr/local/bin/
-
安装yacc
sudo apt install flex bison
二. 安装spin
-
提取文件,得到spin-master文件
-
在spin-master中打开终端
cd Src
-
编译spin
make
-
拷贝编译好的spin程序
cp spin /usr/local/bin/
-
查看是否安装成功
spin -V
三. 安装ispin
ispin是spin的一个图形程序
-
在Spin-master文件夹内,打开optional_GUI文件夹
-
在option_GUI文件夹内打开shell
-
运行
wish ispin.tcl
-
如果出现ispin界面,则操作成功
四. 安装modex
-
提取压缩文件得到modex-master
-
进入modex-master,打开shell,执行make
cd Src make install