Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
537 B

  1. #!/bin/bash
  2. # Spin install script for TigerOS
  3. # author: Aidan Kahrs <axk4545@rit.edu>
  4. # Check that the current user is root
  5. if [ $EUID != 0 ]
  6. then
  7. echo "Please run this script as root (sudo $@$0)."
  8. exit
  9. fi
  10. wget http://spinroot.com/spin/Src/spin646.tar.gz -O /tmp/spin.tar.gz
  11. tar -xvf /tmp/spin.tar.gz
  12. cd /tmp/Spin/Src*
  13. dnf install -y byacc
  14. make
  15. install -p -m 755 spin /usr/local/bin/spin
  16. sed -i 's#BIN=/usr/bin#BIN=/usr/local/bin#g' /tmp/Spin/iSpin/install.sh
  17. dnf install tcl tk
  18. bash /tmp/Spin/iSpin/install.sh
  19. dnf remove byacc