1. RE: nix shells
- Posted by Andy.cranston at selwaymoore.com Sep 30, 2002
- 404 views
Hello Kat, Do you know which directory the Linux version of Euphoria was installed into? On my system I have it in: /usr/local/euphoria but it could be anywhere. A common possibility is that it has been installed somewhere in your home directory. Typing: cd find * -name "exu" -print should help you find it in your home directory. Ok assuming you now know where it has been installed (and for this example I'm going to assume it is in /usr/local/euphoria) you need to type something like this: EUDIR=/usr/local/euphoria export EUDIR PATH=$EUDIR/bin:$PATH export PATH to set up your environment. Now try running one of the demo programs. For example: cd $EUDIR/demo exu animal.ex If that works then you can now write your own programs and run them via the exu interpreter. Note that each time you login into the system you will need to run: EUDIR=/usr/local/euphoria export EUDIR PATH=$EUDIR/bin:$PATH export PATH To save having to type this in you can add these lines to a file in your home directory so they are run automatically after each and every login. The file to create/modify depends on the shell you are running but try the following files first: .profile .bash_profile To see if these files exist type: cd ls -al Good luck! Regards, Andy Cranston. -----Original Message----- From: Kat [mailto:kat at kogeijin.com] Sent: 30 September 2002 06:43 To: EUforum Subject: nix shells Uh oh, i got a stable Debian shell on a dsl line,, got ssh to it, anyone have helpful tips on running Eu scripts on it? I haven't tried it yet, but GNUpascal and *nix Eu was installed for me. Kat