Ruby-build: Unable to locate package libgdbm5

Created on 16 Jun 2018  路  6Comments  路  Source: rbenv/ruby-build

Section Suggested build environment at Wiki contains an invalid package for Ubuntu 16.04.4.

command:

sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev

result:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgdbm5

Most helpful comment

libgdbm6 is available for Ubuntu: 20.04

All 6 comments

libgdbm5 is for Ubuntu 18.04. If you're using 16.04 you should install libgdbm3.

Link:
https://packages.ubuntu.com/search?keywords=libgd

@A-Boudi Thank you, but I have it installed already. I opened this issue to to warn of an potential error in the Suggested build environment.

I added a notice in the wiki about that. Maybe with that we could close this issue.

libgdbm6 is available for Debian (10), and it's acceptable for ruby-build.

libgdbm5 is available for mint19 and ubuntu 19

libgdbm6 is available for Ubuntu: 20.04

Was this page helpful?
0 / 5 - 0 ratings