Table of Contents

Install specific package version

apt-get

Show available versions:

apt-cache policy <package_name>

Install package:

sudo apt-get install apache2=2.3.35-4ubuntu1

apt

List:

apt list <package_name> -a

Install:

apt install <package_name>=4.6.0.20220906-1

aptitude

Show available versions:

In aptitude pressing Enter on the package name displays information about the package and on the bottom of this screen there is a list of the available versions.

Install package:

aptitude install linux-image-3.16.0-4-amd64=3.16.43-2+deb8u5

Tested on

See also

References