The Linux version used is Ubuntu8.10 (the latest Ubuntu11.10 can be tested by yourself). 1. Download the Linux version spin: kernel.
The Linux version is Ubuntu 8.10 (Please test the latest Ubuntu 11.10 version by yourself)
1. Download Linux version of spin: http://spinroot.com/spin/Src/spin517.tar.gz
2. Download the Linux version of xspin: http://spinroot.com/spin/Src/xspin510.tcl
3. Download and install byacc:
Sudo apt-get install byacc
4. Download and install tcl:
Sudo apt-get install tcl
5. Download and install tk:
Sudo apt-get install wish (in this case, you need to select one of the tk for installation by searching for tk8.0 in system-> administration-> synaptic package manager and selecting one of them for installation .)
Then copy wish8.0 installed in/usr/bin to the/usr/local/bin directory: sudo cp/usr/bin/wish8.0/usr/local/bin/wish8.0
6. Install spin:
Go to the spin download folder and run the following command to install
Gunzip * .tar.gz
Tar-xf *. tar
Cd Src *
Make # or, on older distributions: make-f make_unix
If an error occurs, run yacc-v-d spin. y; cc-o spin *. c.
Copy the spin in the Src * directory to the/usr/local/bin directory.
After the installation is complete, use spin-v to check the version.
7. Install xspin:
Copy the downloaded xspin510.tcl file to the/usr/local/bin directory and name it xspin. tcl: cp xspin510.tcl/usr/local/bin/xspin.
Change the xspin permission: chmod 777 xspin
Change the xspin configuration: gedit xspin
Change the third behavior: exec wish8.0/usr/local/bin/xspin-f $ *
After the installation is complete, start the xspin check. If xspin can be started, the installation is successful.
8. Note: When copying and changing permissions, you often need to use the permissions of the root user.