0

I tried to do this command on my Ubuntu machine:

yum install db4-devel

However I get an error message telling me that the URL could not be parsed correctly. I guess I have to get db4-devel somehow first, but how do I do this?

Jeff
  • 12,555
  • 5
  • 33
  • 60
WodkaRHR
  • 165
  • 3
  • 10
  • 1
    In Ubuntu, use `apt-get install`, however the package name will not be the same, depending on the version of Ubuntu you are using. – cuihtlauac Apr 15 '16 at 07:25

2 Answers2

1

wget https://public-yum.oracle.com/public-yum-ol6.repo -O /etc/yum.repos.d/public-yum-ol6.repo

yum install --nogpgcheck -y db4-devel

0

If what you want is to get BerkeleyDB to work on Ubuntu, you can solve this installing libdb-dev and libdb++-dev using apt-get:

apt-get install libdb-dev
apt-get install libdb++-dev 
Mauricio Reis
  • 319
  • 3
  • 9