Currently evaluating Rocky Linux as a replacement for Centos v7. My knowledge of Linux is middling and I get very confused by package managers I’m trying to install MariaDB server with the development modules (needed by Seafile). yum -y install mariadb-server works a treat but it fails when I try to install the development modules: yum -y install mariadb-devel
Last metadata expiration check: 0:00:20 ago on Mon 02 Oct 2023 19:02:31 BST.
No match for argument: mariadb-devel
Error: Unable to find a match: mariadb-devel
Can’t find anything specific on here around mariadb-devel except somebody mentioned that none of the devel modules are available. How do I enable them? Ta!
Use the devel repo and you’ll find your package.
[root@xmpp01 ~]# dnf install mariadb-devel --enablerepo=devel;
Rocky Linux 9 - Devel WARNING! FOR BUILDROOT ONLY DO NOT LEAVE ENABLED 4.6 MB/s | 13 MB 00:02
Last metadata expiration check: 0:00:04 ago on Mon 02 Oct 2023 11:06:57 AM MST.
Package Architecture Version Repository Size
mariadb-devel x86_64 3:10.5.16-2.el9_0 crb 1.0 M
mariadb-connector-c x86_64 3.2.6-1.el9_0 appstream 195 k
mariadb-connector-c-config noarch 3.2.6-1.el9_0 appstream 9.8 k
mariadb-connector-c-devel x86_64 3.2.6-1.el9_0 appstream 55 k
openssl-devel x86_64 1:3.0.7-17.el9_2 appstream 3.0 M
zlib-devel x86_64 1.2.11-39.el9 appstream 44 k
Installing weak dependencies:
mariadb-connector-c-doc noarch 3.2.6-1.el9_0 crb 98 k
Install 7 Packages
Total download size: 4.4 M
Installed size: 11 M
Is this ok [y/N]:
Thanks for the VERY rapid answer. Worked a treat The package manager dnf isn’t something I’ve used before.
What I’ve learnt today is that dnf is effectively a replacement for yum with more features.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.