Installing Linux Euphoria 4.1b2 62bit
- Posted by Senator Dec 31, 2018
- 1039 views
This procedure installs Euphoria into the users home directory. Adapted from the Euphoria 3.1 Linux installation instructions:
Step 1 Click:Download Linux 4.1b2 64bit
Copy or move the downloaded file to your home directory - or directory of choice.
Step 2 From any terminal type:
tar -xvz -f euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz
A euphoria subdirectory will be created in the current directory.
Step 3. Edit the hidden .profile in your home directory:
BACKUP your current .profile before you make any changes!
How to Install Euphoria on Linux or FreeBSD
Now that you've run tar to create the euphoria directory, you need to:
Now that you've run tar to create the euphoria directory, you need to:
1. add euphoria/bin to your PATH
2. create an environment variables: EUDIR, EUINC
To view the hidden files in your home directory, type:
ls -a
One or more of these files is executed when you log in. For instance, if you have a hidden profile file such as ".profile" (UBUNTU), you can edit the line:
PATH=...
and add euphoria/bin to it.
For example, a user called rob might do the following:
PATH=/home/rob/euphoria/bin:$PATH
You must also add a line for the variable EUDIR such as:
EUDIR=/home/rob/euphoria
And remember to export these variables, by adding this line:
export PATH EUDIR EUINC
euphoria/bin doesn't have to be first on your PATH, but if it isn't you'll have to rename the "ed" shell script in euphoria/bin, and perhaps a few others.
Note:These are the lines that I added to my UBUNTU .profile file:
PATH="$HOME/euphoria-4.1.0-Linux-x64/bin:$PATH"
EUDIR="$HOME/euphoria-4.1.0-Linux-x64:$EUDIR"
EUINC="$HOME/euphoria-4.1.0-Linux-x64/include:$EUINC"
export PATH EUDIR EUINC
Reboot UBUNTU