4

I am building qemu with --enable-linux-io-uring option on Ubuntu 20.04, which requires liburing. But if I tried to install packages liburing1 and liburing-dev using apt, I was told "E: Unable to locate package liburing-dev or liburing1". I checked Ubuntu package official website, these packages are really not shown under focal distribution. So I wanna 1) confirm that packages liburing1 and liburing-dev are not available in Ubuntu 20.04, 2) if so, how to build qemu with linux-io-uring feature on Ubuntu 20.04?

zzzhhh
  • 307

1 Answers1

4

I managed to make it, and here I record it as an answer for the non-conformist whose work has creative and cracking nature.

I downloaded liburing1 and liburing-dev package deb files liburing1_0.6-3ubuntu1_amd64.deb and liburing-dev_0.6-3ubuntu1_amd64.deb from another ubuntu variant. Then I use sudo dpkg -x <def file name> / to install liburing. After that, ./configure, make & make install of qemu succeeds and generated the needed qemu-system-x86_64.

I have not seen any problem so far.

zzzhhh
  • 307