# Need to install libdb4 rpm

**URL:** <https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241>\
**Category:** Rocky Linux Help & Support\
**Created:** [June 9, 2023, 8:56am UTC](https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241 "2023-06-09T08:56:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayasri](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Jayasri](https://forums.rockylinux.org/u/Jayasri)\
**Post date:** [June 9, 2023, 8:56am UTC](https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241/1 "2023-06-09T08:56:54Z")

</div>

Hi, I need to install ‘libdb4’ package with el9, but couldn’t get the rpm from rocky9 repo. Is there any other source having this package ‘libdb’ specific to ‘version 4’? This libdb-5.3.28-53.el9.src.rpm is available in rocky repo. But I need libdb4.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [June 9, 2023, 11:54am UTC](https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241/2 "2023-06-09T11:54:21Z")

</div>

If you were using Rocky 8, then you could use the cheese-release repository which has libdb4.

[https://pkgs.org/search/?q=cheese-release](https://pkgs.org/search/?q=cheese-release)

Whilst you could try installing that on Rocky 9, and assuming you only install libdb4 from it, then you shouldn’t run into any huge complications. Although it would be better if that cheese repository did provide for EL9 distributions instead of just for EL8. It’s usually not recommended to use EL8 repositories on EL9. Alternatively, you just have to wait until someone packages it, or to search Fedora source rpms to see if they have anything for libdb4 for you to build from using mock.

I use the cheese repository on Fedora Linux, and have libdb4 installed.

---

<div class="post-metadata">

**Author:** ![ganphx](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ganphx/32/2381_2.png) [@ganphx](https://forums.rockylinux.org/u/ganphx)\
**Post date:** [June 9, 2023, 4:12pm UTC](https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241/4 "2023-06-09T16:12:05Z")

</div>

" The `libdb` package is deprecated as of Red Hat Enterprise Linux (RHEL) 9 and might not be available in future major RHEL releases (RHEL 10 or later). Users of `libdb` are advised to migrate to a different key-value database. This article suggests replacements for `libdb` in RHEL.

RHEL 8 and RHEL 9 currently provide `libdb 5.3.28`, which is distributed under the LGPLv2 license. The upstream Berkeley DB version 6 is available under the AGPLv3 license, which is more restrictive and many projects cannot use it.

Berkeley DB (libdb) is mostly used as a key-value store. RHEL provides multiple alternatives, all of which are available for the following architectures:

- AMD and Intel 64-bit architectures
- the 64-bit ARM architecture
- IBM Power Systems, Little Endian
- 64-bit IBM Z

**NOTE:** Do not try to remove the `libdb` package from RHEL 9 and earlier because other packages require it.

> **[Available replacements for the deprecated Berkeley DB (libdb) in RHEL - Red...](https://access.redhat.com/articles/6464541)**
>
> The libdb package is deprecated as of Red Hat Enterprise Linux (RHEL) 9 and might not be available in future major RHEL releases. Users of libdb are advised to migrate to a different key-value database. This article suggests replacements for libdb in...

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [August 24, 2023, 4:53am UTC](https://forums.rockylinux.org/t/need-to-install-libdb4-rpm/10241/5 "2023-08-24T04:53:34Z")

</div>


