Installing Red on Linux and macOS

To install Red on a Linux or macOS system, you would need to follow these steps:

  1. Save the file from http://www.red-lang.org/p/download.html in a folder of your choice, say /home/user/red (where user is your username).
  2. Rename the file red-num  to red.
  3. In your Terminal, go to the red subfolder, and do a chmod u+x red to give the user executable rights on the Red binary.
  4. Install some 32-bit supporting libraries if you work on a 64-bit Linux system (this is needed for executing REBOL 2, which needs these libraries.) Open a Terminal app and give the following commands:
      $ sudo dpkg --add-architecture i386      $ sudo apt-get update      $ sudo apt-get install libc6:i386 libcurl3:i386
  1. Now simply run Red using the red ...

Get Learn Red - Fundamentals of Red now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.