Re: yum4 and dnf on CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 23 Nov 2019, Stephen John Smoogen wrote:

On Sat, 23 Nov 2019 at 15:39, Sergio Belkin <sebelk@xxxxxxxxx> wrote:

Hi,

I was using yum for years on CentOS servers, and since a few years ago dnf
on Fedora desktops. My question is:
Is the same yum4 on CentOS 8 that dnf? What should I use?
Thanks in advance


yum4 is a thin wrapper on dnf mainly because Enterprise Linux users
and scripts are used to the yum commands. You can use either dnf or
yum4 on the command line and get the same results.

You mentioned you're familiar with Fedora, so you're probably aware of Application Streams -- but for those reading this thread unfamiliar with AppStreams, I'll add the caveat that dnf behaves differently than yum in this regard.

Here's some background:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_managing_and_removing_user_space_components/using-appstream_using-appstream

Right now, the only EL8 AppStream with multiple versions is postgresql, but it looks like several applications are setup for future multiple streams. To see the AppStream packages, run

dnf module list

If you squint carefully, you'll see that you can install either PostgreSQL 10 (the default) or 9.6.

--
Paul Heinlein
heinlein@xxxxxxxxxx
45°38' N, 122°6' W
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux