4

I try to install mysql for rails but i know that first must install the package

libmysql-ruby

I do the command

E: Unable to locate package libmysql-ruby

But It returns

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmysql-ruby

I try to do upgrade and update but it same

1
  • 1
    Are you sure you are following correct up-to-date instructions for your Ubuntu version? libmysql-ruby appears to be a transitional package that has been phased out in 14.04. The new package name seems to be ruby-mysql. Jun 28, 2015 at 12:32

1 Answer 1

9

libmysql-ruby appears to be a transitional package that has been phased out: the new package name seems to be ruby-mysql. If you are running Ubuntu 14.04 or later you will need to use

sudo apt-get install ruby-mysql
1
  • Unable to locate package ruby-mysql
    – greendino
    Jul 2, 2021 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.