https://www.qemu.org/download/#source
To download and build QEMU 5.1.0:
wget https://download.qemu.org/qemu-5.1.0.tar.xz tar xvJf qemu-5.1.0.tar.xz cd qemu-5.1.0 ./configure make
apt install ninja-build