Install spin and xspin in Linux

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.