How to Compile Open Euphoria On Linux

Compiling Open Euphoria on Linux

To compile Euphoria you basically need Euphoria installed. Euphoria is used to translate some Euphoria source files into C before compiling. This is why you need Euphoria.

Getting Euphoria

Assuming you don't have Euphoria you have at least 3 options.

  1. Find pre-translated source files. Find translated code under the heading Translated C Source Code Releases on this page
  2. Use an installer to install Euphoria before attempting to build. RPM and deb packages are available. See this page for more details.
  3. Use a development version of Euphoria to do the translations.
    • Find the section header titled Eubins Development Versions. (also found on this page)
    • There is a link you can find there that will take you to some development versions of Euphoria.
    • Simply uncompress the appropriate version for your OS and architecture somewhere where you'll remember the file path.
    • For this tutorial, I'll assume that you uncompressed the archive in your home directory and renamed it euphoria.

Getting the Source

At the moment, the Euphoria Dev Team favors Mercurial source code version control. So the best way to get the latest code would be to get it from there. On my Fedora 22 system that involved first installing a program called hg. Also make sure your gcc compiler is installed.

sudo dnf install mercurial hg-git hgsvn hgview gcc 

Or on Ubuntu:

sudo apt-get install mercurial hgsvn hgview build-essential 

Once installed, I grabbed the source using the command line like this:

mkdir open_euphoria 
cd open_euphoria 
hg clone 

The above commands will result in a new directory called euphoria/source.

cd euphoria/source 


Ok... so how did you install Euphoria? If you installed it using ether option 1 or option 2 above, you should be able to simply run configure.


If you “installed” Euphoria using a development version, you'll need to run configure like this. Where this represents the full path to bin directory contained in your development version of Euphoria.

./configure --eubin ~/euphoria/bin 

Now, you can simply make and make install Euphoria

sudo make install 

Cleaning up

If you installed a development version of Open Euphoria, you can safely remove it now.

rm -rf ~/euphoria 

Get ready for the next compile. You don't want the build pointing at the Euphoria build you just deleted, right?



(But really... you should do this)

Install eudoc

make get-eudoc 
cd eudoc 
sudo make install  
cd .. 

Install creole

make get-creole 
cd creole 
sudo make install 
cd .. 

Install the documentation (In case you lose Internet connectivity and you still want to code)

make htmldoc 
sudo make install 


Quick Links

User menu

Not signed in.

Misc Menu