Installing Euphoria 4.1 on Ubuntu 16.04

Posted

Photo by Steven Wei on Unsplash

Contents

Getting started

Let’s walk through installing Euphoria 4.1 on Ubuntu 16.04.

Download

Head over to the Downloads page. The links under “Download from Github” do not include a release for 64-bit Linux. Scroll down to the section labeled Beta for Testing: Euphoria 4.1.0 Beta 2. These are actually the same files in the releases at the top of the page. Download the Linux file for your architecture.

Note: While it is technically possible to run 32-bit applications in 64-bit Linux, I wouldn’t suggest it. Doing so introduces an entire 32-bit runtime system into your operating system that is entirely unnecessary. (Unlike Windows, where the 32-bit subsystem is forever and always a part of the 64-bit system.)

These are the files you’ll want to download:

Architecture Filename Size
Linux 32-bit euphoria-4.1.0-Linux-x86-57179171dbed.tar.gz 14,032 KB
Linux 64-bit euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz 14,358 KB

Installation

Step 1: Terminal

Click the Dash button, type terminal, and then click Terminal.

Step 2: Extract

Type cd Downloads and press Enter.

Type tar xzf euphoria-4.1.0-*.tar.gz and press Enter.

Step 3: Install

Type sudo mv euphoria-4.1.0-Linux-x64/ /usr/local/ and press Enter.

This directory and all its files should be owned by root.

Type sudo chown -R root:root /usr/local/euphoria-4.1.0-Linux-x64 and press Enter.

Environment

Step 1: Edit profile

We need to edit your Bash profile. Type nano ~/.bashrc and press Enter.

Scroll to the bottom of the file. Press Escape then / to get there immediately.

Step 2: Insert path

Add the following line to the end of the file.

export PATH="/usr/local/euphoria-4.1.0-Linux-x64/bin:$PATH"

To save the changes, press Ctrl+O (for Write Out). To exit Nano, press Ctrl+X (for Exit).

Step 3: Verify installation

Close Terminal and open it again for the profile changes to take effect.

Type eui -v and press Enter. This should display the currently installed version of Euphoria.

That’s it! You’re all done.

Author
Categories Beginner, Linux