Post by billw on Dec 19, 2007 15:08:32 GMT -5
Introduction
Do you use Ubuntu Linux? Want to use Run BASIC, but don't want to wait until a Linux version is available? This guide will show you how.
Note that you'll probably need internet access, and will definitely need a modern browser that supports JavaScript and cookies (such as Mozilla Firefox 2). Also, I'm using Xubuntu 7.10 "Gutsy Gibbon". Different versions and distros may have slightly (or radically) different instructions. Your mileage may vary.
Part 1 - Wine
Before you start, make sure Wine is set up on your computer. If it is, you can skip to Part 2.
Okay, let's install Wine. These instructions are not exhaustive, and if you run into issues, you'll need to use your distro's support channels (whether it's IRC, a mailing list, or whatever).
Try your distro's package manager, then apt-get (see below), then the Wine website. To install Wine using apt-get, run the following command in a terminal window:
Enter your password at the prompt, and WINE will be automatically downloaded and installed.
Part 2 - Install Run BASIC
Once you have Wine installed, download the Run BASIC installer and save it to your desktop. Now, open up a terminal window, navigate to your Desktop folder, and type:
You'll be prompted for your password. Enter it, and then wait a moment. You might want to use this opportunity to get a soda or use the bathroom (hopefully not at the same time). Once the Run BASIC installer opens, click the start button, making sure not to change the destination path. Once it is done installing, click the "OK" button. Run BASIC is now installed.
Part 3 - Running the RBP Console
Next, you'll want to create a script to open up the RBP Console window. Don't try to use the icons in the Application menu - they won't work properly.
Open up your favorite text editor, and type (or copy-and-paste) the following code, and save it to your desktop as "runbasic.sh":
Next, try to run it by double-clicking on it. If it opens up in a text editor application, you'll have to configure your system to run shell scripts in Terminal by default. In Xubuntu, this is as simple as right-clicking the script, selecting "Open With Other Application", expanding the "Use a custom command" area, typing "bash" in the box, and clicking the "OK" button.
Once again, you'll be prompted for your password. It will take a few moments for everything to configurate itself, so hang in tight. Once the Run BASIC console is open, you can begin to use Run BASIC.
Part 4 - Using Run BASIC
Open up your browser and point it to http://localhost:8008/seaside/go/runbasicpersonal. Type in your username and password (since you've just installed, they'll be "username" and "password", respectively). Congratulations! You've just installed Run BASIC Personal on Linux.
Appendix 1 - Notes
Your mileage may vary. I'm running the latest version of Wine, Xubuntu 7.10 "Gutsy Gibbon", and Run BASIC Personal RC1. I don't imagine anything will be horribly different on most other distributions.
The "Launch in Browser" button works, but it runs Firefox (or whatever your default browser is) as root (because it's root, too), meaning your profile, extensions, and such won't be available. It's best to just bookmark the login page in your browser.
I haven't played around with RB too much, but I don't imagine that anything will be much different, since it's browser-based.
If you use this tutorial, please let me know what works and what doesn't work, so others can learn and I can revise/correct. Remember, knowledge wants to be free.
Hope this helps out!
- Bill
EDIT 12/19/2007 6:36 PM ET - modified instructions so RBP is run as root. If you used this method before this edit, you'll need to uninstall and reinstall RB using the revised instructions.
Do you use Ubuntu Linux? Want to use Run BASIC, but don't want to wait until a Linux version is available? This guide will show you how.
Note that you'll probably need internet access, and will definitely need a modern browser that supports JavaScript and cookies (such as Mozilla Firefox 2). Also, I'm using Xubuntu 7.10 "Gutsy Gibbon". Different versions and distros may have slightly (or radically) different instructions. Your mileage may vary.
Part 1 - Wine
Before you start, make sure Wine is set up on your computer. If it is, you can skip to Part 2.
Okay, let's install Wine. These instructions are not exhaustive, and if you run into issues, you'll need to use your distro's support channels (whether it's IRC, a mailing list, or whatever).
Try your distro's package manager, then apt-get (see below), then the Wine website. To install Wine using apt-get, run the following command in a terminal window:
sudo apt-get install wine
Enter your password at the prompt, and WINE will be automatically downloaded and installed.
Part 2 - Install Run BASIC
Once you have Wine installed, download the Run BASIC installer and save it to your desktop. Now, open up a terminal window, navigate to your Desktop folder, and type:
gksudo wine rbp1setup.exe
You'll be prompted for your password. Enter it, and then wait a moment. You might want to use this opportunity to get a soda or use the bathroom (hopefully not at the same time). Once the Run BASIC installer opens, click the start button, making sure not to change the destination path. Once it is done installing, click the "OK" button. Run BASIC is now installed.
Part 3 - Running the RBP Console
Next, you'll want to create a script to open up the RBP Console window. Don't try to use the icons in the Application menu - they won't work properly.
Open up your favorite text editor, and type (or copy-and-paste) the following code, and save it to your desktop as "runbasic.sh":
cd /root/.wine/drive_c/rbp
gksudo wine rbp.exe rb.im
Next, try to run it by double-clicking on it. If it opens up in a text editor application, you'll have to configure your system to run shell scripts in Terminal by default. In Xubuntu, this is as simple as right-clicking the script, selecting "Open With Other Application", expanding the "Use a custom command" area, typing "bash" in the box, and clicking the "OK" button.
Once again, you'll be prompted for your password. It will take a few moments for everything to configurate itself, so hang in tight. Once the Run BASIC console is open, you can begin to use Run BASIC.
Part 4 - Using Run BASIC
Open up your browser and point it to http://localhost:8008/seaside/go/runbasicpersonal. Type in your username and password (since you've just installed, they'll be "username" and "password", respectively). Congratulations! You've just installed Run BASIC Personal on Linux.
Appendix 1 - Notes
Your mileage may vary. I'm running the latest version of Wine, Xubuntu 7.10 "Gutsy Gibbon", and Run BASIC Personal RC1. I don't imagine anything will be horribly different on most other distributions.
The "Launch in Browser" button works, but it runs Firefox (or whatever your default browser is) as root (because it's root, too), meaning your profile, extensions, and such won't be available. It's best to just bookmark the login page in your browser.
I haven't played around with RB too much, but I don't imagine that anything will be much different, since it's browser-based.
If you use this tutorial, please let me know what works and what doesn't work, so others can learn and I can revise/correct. Remember, knowledge wants to be free.
Hope this helps out!
- Bill
EDIT 12/19/2007 6:36 PM ET - modified instructions so RBP is run as root. If you used this method before this edit, you'll need to uninstall and reinstall RB using the revised instructions.