Created
October 31, 2012 15:34
-
-
Save lydonchandra/3987712 to your computer and use it in GitHub Desktop.
apt-get install package=version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before you install a specific version of a package you need it's complete version. | |
This will be displayed when you run: | |
apt-cache showpkg <package name> | |
e.g. | |
apt-cache showpkg subversion-tools | |
> Package: subversion-tools | |
> Versions: | |
> 1.3.2-5~bpo1(/var/lib/dpkg/status) | |
> 1.1.4-2 (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_stable_main_binary-i386_Packages) | |
To install the specific version simply run run: | |
apt-get install <package name>=<version> | |
e.g. | |
apt-get install subversion-tools=1.3.2-5~bpo1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment