On my previous post, I talked about how to install Ubuntu desktop and doing the first update of it. This post focuses on installing the right IDEs (eclipse for most development and aptana for ruby dev).
First off – you need music.
Go here – to get Spotify: http://www.spotify.com/us/download/previews/
Now install eclipse:
Go to Ubuntu Software Center from the pane on the left. Search for eclipse and click Install.
This will take about 20 minutes to go through and you might get a vague message about missing packages. That said, when it’s done, you can open eclipse just fine.
Get the plugins you’ll need:
I’ll be working on a Roku interface and after researching, saw that I’ll be learning BrightScript. An eclipse plugin helps with learning new languages and can help with debugging. Getting the Roku plugin is simple:
1. In Eclipse click on Help–> Install New Software.
2. Click on New to add a repository
3. Give it whatever name you’d like and point it to http://rokudev.roku.com/updates. Click on Add
4. Check BrightScipt and click on Next. It’ll find any dependencies and verify that you want to install those too. Click on Next
5. It’ll ask that you accept the terms & conditions – click Finish here.
6. When it’s complete, you’ll be able to see BrightScript as an option when creating a new project:
I repeated the steps (1-6) above for:
- Python using PyDev at http://pydev.org/updates (use sudo apt-get install python-pip
for pip) - Perl using epic at http://e-p-i-c.sf.net/updates
For aptana radrails IDE:
I like the standalone as Eclipse can get messy with all the other languages. Download the standalone version here: http://www.aptana.com/products/studio3/download
Next up is git (used for source control):
- Run sudo apt-get install git
- Generate a ssh-rsa token and add it to your github account
- cd ~/.ssh
- ssh-keygen -t rsa -C “youremail.domain.com”
Next, install rails/ruby or whatever language you need.
My ubuntu install came with python but needed java and ruby/rails installed. When you install eclipse from Ubuntu Software Center, it’ll pull a java version too.
To install rails (and dependencies), I followed http://www.the-tech-tutorial.com/?p=1868
Next, a db backend if you need it
Postgres: https://help.ubuntu.com/community/PostgreSQL
Mysql: https://help.ubuntu.com/11.04/serverguide/C/mysql.html
Finally, because you don’t want to do all this again, create an iso image and backup to a cloud location for safe-keeping:
- In a terminal, run “sudo brasero”
- Click on “Data Project”. It says CD/DVD, but you don’t really need one.
- Click on the + to add files. Navigate to / and select everything
- It’ll run quite a while and when done, the “Burn” button will be enabled. Click on it and save the iso file.
- Upload the iso file to a cloud location. You can use the image on your cloud servers too.
Good luck!
Leave a Reply