How to install a specific version of a package

See what versions are available

To see what versions of a package are available, use the command

# apt-cache show <package_name>

This will give you a description of the package and some other stuff like md5 and sha hashs.

You can also run,

# apt-cache showpkg <package_name>

and that will show a little less information. Try them both.

Install the specific version

Once you have your version number, you can use the following command,

# apt-get install <package_name>=<version#>

An example would be version 0.45.1-1 of inkscape.

# apt-cache show inkscape
# apt-cache showpkg inkscape
# apt-get install inkscape=0.45.1-1

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.