How to install Ruby on Rails and MySql on my Ubuntu 10.04 OS?
6 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.
-
aptitude
is the newapt-get
.– Paul SchreiberMar 19, 2011 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. Mar 19, 2011 at 6:43
-
Actually, aptitude was last in the default install in 10.04. Most users won't even have it on their system.– micahgNov 22, 2011 at 6:48
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!
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/
-
2Welcome 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.– DanMar 13, 2013 at 8:35
For Ruby on Rails see this instruction and for mysql run command sudo apt-get install mysql-server
To install mysql on local machine (Ubuntu OS) you nedd one client and server version of mysql. to install follow the steps
sudo apt-get install mysql-server mysql-client
sudo apt-get install libmysql-ruby libmysqlclient-dev