1. Installing Linux Euphoria 4.1b2 62bit

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:

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

new topic     » topic index » view message » categorize

2. Re: Installing Linux Euphoria 4.1b2 62bit

Good advice, but some of it is not really necessary for some distros. For Mint, here's my $PATH (untouched since the original install)

/home/irv/bin:/home/irv/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

Notice it has /usr/local/bin in that path.

If you use my .deb package to install, then that is where the Eu "exec" files will be put (eui, euc, etc). The euphoria and std libraries will be installed in /usr/local/include, and the Eu source in, of course, /usr/local/source.

I've not found it necessary to set EUINC, but for EuGTK, I added /demos to the [ALL] section of

[all] 
-d E64 
-eudir /usr/local/include 
-i /usr/local/include 
-i ~/demos 

There's nothing wrong with your suggestion, and it should be followed if you want to install Eu anywhere other than /usr/local.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu