RE: apt libvirt package

Hello again, So I have been struggling to compile the libvirt newest version 7.8.0. I am running CentOS 8 and during the meson build process I am getting non stop dependency fails. I keep installing the necessary packages and slowly progressing. Now the last one that stopped was gnutls. When I go to install that package via yum install gnutls -y it says that it is already complete and installed. Sigh... I am very surprised that there is no package for libvirt via rpm,yum etc. the lastest one installed via yum was 6.0.0. Can someone help by pointing to some where that has these latest packages? Or how best to compile this from source. It is amazing how much is missing from this distro. Thanks again. Brad From: admin@foundryserver.com <admin@foundryserver.com> Sent: October 23, 2021 12:54 PM To: 'libvirt-users@redhat.com' <libvirt-users@redhat.com> Subject: apt libvirt package Hello, I am new to kvm/qemu/libvirt. I am loving it. I am working on setting my first vm with shared file system with virtio-fs. I got an error, and google foo said, my version was too old. When I checked it said. libvirt version: 6.0.0, package: 0ubuntu8.14 (Matthew Ruffell matthew.ruffell@canonical.com <mailto:matthew.ruffell@canonical.com> Tue, 14 Sep 2021 14:00:49 +1200) I used apt package manager to install libvirt. I am running on ubuntu 20.04. I have tried apt update libvirt and I get..no updates available. What do I do at this point? Do I have to build it from source? Any help would be greatly appreciated. Brad

Do you want this on CentOS 8, Ubuntu 20.04, or something else? The help we can give you will vary quite considerably depending on the distro you use; and, as you point out, RedHat-derived and Debian-derived distributions are very different. For CentOS, do you have the advanced virtualization repo enabled? https://centos.pkgs.org/8-stream/centos-extras-x86_64/centos-release-advance... Cheers, Peter On Sun, 24 Oct 2021 at 20:31, <admin@foundryserver.com> wrote:
Hello again,
So I have been struggling to compile the libvirt newest version 7.8.0. I am running CentOS 8 and during the meson build process I am getting non stop dependency fails. I keep installing the necessary packages and slowly progressing. Now the last one that stopped was gnutls. When I go to install that package via yum install gnutls -y it says that it is already complete and installed. Sigh…….
I am very surprised that there is no package for libvirt via rpm,yum etc… the lastest one installed via yum was 6.0.0.
Can someone help by pointing to some where that has these latest packages? Or how best to compile this from source. It is amazing how much is missing from this distro.
Thanks again.
Brad
*From:* admin@foundryserver.com <admin@foundryserver.com> *Sent:* October 23, 2021 12:54 PM *To:* 'libvirt-users@redhat.com' <libvirt-users@redhat.com> *Subject:* apt libvirt package
Hello,
I am new to kvm/qemu/libvirt. I am loving it. I am working on setting my first vm with shared file system with virtio-fs. I got an error, and google foo said, my version was too old. When I checked it said.
libvirt version: 6.0.0, package: 0ubuntu8.14 (Matthew Ruffell matthew.ruffell@canonical.com Tue, 14 Sep 2021 14:00:49 +1200)
I used apt package manager to install libvirt. I am running on ubuntu 20.04. I have tried apt update libvirt and I get..no updates available. What do I do at this point? Do I have to build it from source?
Any help would be greatly appreciated.
Brad

I would prefer the ubuntu packages. I am most familiar with that distro. I can make centos8 work if I have to but I prefer not. Thanks Brad From: Peter Crowther <peter.crowther@melandra.com> Sent: October 24, 2021 2:38 PM To: admin@foundryserver.com Cc: libvirt-ML <libvirt-users@redhat.com> Subject: Re: apt libvirt package Do you want this on CentOS 8, Ubuntu 20.04, or something else? The help we can give you will vary quite considerably depending on the distro you use; and, as you point out, RedHat-derived and Debian-derived distributions are very different. For CentOS, do you have the advanced virtualization repo enabled? https://centos.pkgs.org/8-stream/centos-extras-x86_64/centos-release-advance... Cheers, Peter On Sun, 24 Oct 2021 at 20:31, <admin@foundryserver.com <mailto:admin@foundryserver.com> > wrote: Hello again, So I have been struggling to compile the libvirt newest version 7.8.0. I am running CentOS 8 and during the meson build process I am getting non stop dependency fails. I keep installing the necessary packages and slowly progressing. Now the last one that stopped was gnutls. When I go to install that package via yum install gnutls -y it says that it is already complete and installed. Sigh……. I am very surprised that there is no package for libvirt via rpm,yum etc… the lastest one installed via yum was 6.0.0. Can someone help by pointing to some where that has these latest packages? Or how best to compile this from source. It is amazing how much is missing from this distro. Thanks again. Brad From: admin@foundryserver.com <mailto:admin@foundryserver.com> <admin@foundryserver.com <mailto:admin@foundryserver.com> > Sent: October 23, 2021 12:54 PM To: 'libvirt-users@redhat.com <mailto:libvirt-users@redhat.com> ' <libvirt-users@redhat.com <mailto:libvirt-users@redhat.com> > Subject: apt libvirt package Hello, I am new to kvm/qemu/libvirt. I am loving it. I am working on setting my first vm with shared file system with virtio-fs. I got an error, and google foo said, my version was too old. When I checked it said. libvirt version: 6.0.0, package: 0ubuntu8.14 (Matthew Ruffell matthew.ruffell@canonical.com <mailto:matthew.ruffell@canonical.com> Tue, 14 Sep 2021 14:00:49 +1200) I used apt package manager to install libvirt. I am running on ubuntu 20.04. I have tried apt update libvirt and I get..no updates available. What do I do at this point? Do I have to build it from source? Any help would be greatly appreciated. Brad

Hi Brad, For Ubuntu add the Linbit PPA. From this page: https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-from-source 3.3.3. Ubuntu Linux For Ubuntu LTS, LINBIT offers a PPA repository athttps://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack <https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack>. SeeAdding Launchpad PPA Repositories <https://help.ubuntu.com/community/Repositories/CommandLine#Adding_Launchpad_PPA_Repositories>for more information 20.04 LTS then has DRBD9 from apt. * Paul O'Rorke* On 2021-10-25 9:49 a.m., admin@foundryserver.com wrote:
I would prefer the ubuntu packages. I am most familiar with that distro. I can make centos8 work if I have to but I prefer not.
Thanks
Brad
*From:*Peter Crowther <peter.crowther@melandra.com> *Sent:* October 24, 2021 2:38 PM *To:* admin@foundryserver.com *Cc:* libvirt-ML <libvirt-users@redhat.com> *Subject:* Re: apt libvirt package
Do you want this on CentOS 8, Ubuntu 20.04, or something else? The help we can give you will vary quite considerably depending on the distro you use; and, as you point out, RedHat-derived and Debian-derived distributions are very different.
For CentOS, do you have the advanced virtualization repo enabled? https://centos.pkgs.org/8-stream/centos-extras-x86_64/centos-release-advance...
Cheers,
Peter
On Sun, 24 Oct 2021 at 20:31, <admin@foundryserver.com> wrote:
Hello again,
So I have been struggling to compile the libvirt newest version 7.8.0. I am running CentOS 8 and during the meson build process I am getting non stop dependency fails. I keep installing the necessary packages and slowly progressing. Now the last one that stopped was gnutls. When I go to install that package via yum install gnutls -y it says that it is already complete and installed. Sigh…….
I am very surprised that there is no package for libvirt via rpm,yum etc… the lastest one installed via yum was 6.0.0.
Can someone help by pointing to some where that has these latest packages? Or how best to compile this from source. It is amazing how much is missing from this distro.
Thanks again.
Brad
*From:*admin@foundryserver.com <admin@foundryserver.com> *Sent:* October 23, 2021 12:54 PM *To:* 'libvirt-users@redhat.com' <libvirt-users@redhat.com> *Subject:* apt libvirt package
Hello,
I am new to kvm/qemu/libvirt. I am loving it. I am working on setting my first vm with shared file system with virtio-fs. I got an error, and google foo said, my version was too old. When I checked it said.
libvirt version: 6.0.0, package: 0ubuntu8.14 (Matthew Ruffell matthew.ruffell@canonical.com Tue, 14 Sep 2021 14:00:49 +1200)
I used apt package manager to install libvirt. I am running on ubuntu 20.04. I have tried apt update libvirt and I get..no updates available. What do I do at this point? Do I have to build it from source?
Any help would be greatly appreciated.
Brad

Sorry - wrong list/question/everything... * Paul O'Rorke* On 2021-10-25 9:59 a.m., Paul D. O'Rorke wrote:
Hi Brad,
For Ubuntu add the Linbit PPA. From this page: https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-from-source
3.3.3. Ubuntu Linux
For Ubuntu LTS, LINBIT offers a PPA repository athttps://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack <https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack>. SeeAdding Launchpad PPA Repositories <https://help.ubuntu.com/community/Repositories/CommandLine#Adding_Launchpad_PPA_Repositories>for more information
20.04 LTS then has DRBD9 from apt.
* Paul O'Rorke*
On 2021-10-25 9:49 a.m., admin@foundryserver.com wrote:
I would prefer the ubuntu packages. I am most familiar with that distro. I can make centos8 work if I have to but I prefer not.
Thanks
Brad
*From:*Peter Crowther <peter.crowther@melandra.com> *Sent:* October 24, 2021 2:38 PM *To:* admin@foundryserver.com *Cc:* libvirt-ML <libvirt-users@redhat.com> *Subject:* Re: apt libvirt package
Do you want this on CentOS 8, Ubuntu 20.04, or something else? The help we can give you will vary quite considerably depending on the distro you use; and, as you point out, RedHat-derived and Debian-derived distributions are very different.
For CentOS, do you have the advanced virtualization repo enabled? https://centos.pkgs.org/8-stream/centos-extras-x86_64/centos-release-advance...
Cheers,
Peter
On Sun, 24 Oct 2021 at 20:31, <admin@foundryserver.com> wrote:
Hello again,
So I have been struggling to compile the libvirt newest version 7.8.0. I am running CentOS 8 and during the meson build process I am getting non stop dependency fails. I keep installing the necessary packages and slowly progressing. Now the last one that stopped was gnutls. When I go to install that package via yum install gnutls -y it says that it is already complete and installed. Sigh…….
I am very surprised that there is no package for libvirt via rpm,yum etc… the lastest one installed via yum was 6.0.0.
Can someone help by pointing to some where that has these latest packages? Or how best to compile this from source. It is amazing how much is missing from this distro.
Thanks again.
Brad
*From:*admin@foundryserver.com <admin@foundryserver.com> *Sent:* October 23, 2021 12:54 PM *To:* 'libvirt-users@redhat.com' <libvirt-users@redhat.com> *Subject:* apt libvirt package
Hello,
I am new to kvm/qemu/libvirt. I am loving it. I am working on setting my first vm with shared file system with virtio-fs. I got an error, and google foo said, my version was too old. When I checked it said.
libvirt version: 6.0.0, package: 0ubuntu8.14 (Matthew Ruffell matthew.ruffell@canonical.com Tue, 14 Sep 2021 14:00:49 +1200)
I used apt package manager to install libvirt. I am running on ubuntu 20.04. I have tried apt update libvirt and I get..no updates available. What do I do at this point? Do I have to build it from source?
Any help would be greatly appreciated.
Brad

Please do not send HTML messages or top-post when using mailing lists. It makes it more difficult to reply while keeping context. On Mon, Oct 25, 2021 at 09:49:27AM -0700, admin@foundryserver.com wrote:
On October 24, 2021 2:38 PM, Peter Crowther wrote:
Do you want this on CentOS 8, Ubuntu 20.04, or something else? The help we can give you will vary quite considerably depending on the distro you use; and, as you point out, RedHat-derived and Debian-derived distributions are very different.
For CentOS, do you have the advanced virtualization repo enabled?
Using CentOS Stream 8 with Advanced Virtualization, as Peter suggested, is a good way to get access to relatively fresh packages. Right now, that would net you libvirt 7.6.0 and QEMU 6.0.0, which are just a few months old and should allow you to set up virtiofs.
I would prefer the ubuntu packages. I am most familiar with that distro. I can make centos8 work if I have to but I prefer not.
If at all possible, I recommend using binary packages instead of building libvirt from scratch. It just makes everything so much easier. If you really want to build from source, have a look at the Dockerfiles in ci/containers: there's one for Ubuntu 20.04, and it includes the full list of packages you need to install in order to satisfy all build dependencies. -- Andrea Bolognani / Red Hat / Virtualization
participants (4)
-
admin@foundryserver.com
-
Andrea Bolognani
-
Paul D. O'Rorke
-
Peter Crowther