Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to install Ruby on Rails and MySql on my Ubuntu 10.04 OS?

share|improve this question
add comment

migrated from stackoverflow.com Mar 20 '11 at 7:29

This question came from our site for professional and enthusiast programmers.

5 Answers

Ruby on Rails

sudo apt-get install rails

For details, see the Ubuntu Help here.


MySQL

sudo apt-get install mysql-server

For details, see the Ubuntu Help here.

share|improve this answer
    
aptitude is the new apt-get. –  Paul Schreiber Mar 19 '11 at 4:18
    
Yes. You should not be using apt-get for ANYTHING. It will not mark deps as automatically installed and therefor they will remain on your machine until you remove them by hand. –  jcm Mar 19 '11 at 6:43
    
Actually, aptitude was last in the default install in 10.04. Most users won't even have it on their system. –  micahg Nov 22 '11 at 6:48
add comment

I follow this guide every single time:

http://www.hackido.com/2009/11/install-ruby-on-rails-on-ubuntu-karmic.html

It's written for 9.10, but it works equally well for 10.04. The only (minor) difference is that you can remove the libmysqlclient15off package.

Good luck!

share|improve this answer
add comment

For Ruby on Rails

For Ubuntu 10.04, 10.10 and 11.04 I followed this guide: here!

There is a sibling for Ubuntu 11.10 here!

share|improve this answer
add comment

use rbenv to install ruby and rails framework http://www.computersnyou.com/1535/2013/03/installing-ruby-on-rail-on-ubuntu-with-rbenv-step-by-step/

share|improve this answer
2  
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Dan Mar 13 '13 at 8:35
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Flimm Mar 13 '13 at 9:02
add comment

For Ruby on Rails see this instruction and for mysql run command sudo apt-get install mysql-server

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.