Debian - Install specific version of package

By xngo on February 17, 2020

With apt-get, you can specify which version of the package you would like to install. For example, you want to install version 5.4.8-1~bpo10+1 of linux-image-amd64 package. You have to run the command as follows:

apt-get -y install linux-image-amd64=5.4.8-1~bpo10+1

linux-image-amd64-package - homepage

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.