To get versions of a package Ubuntu/Debain
apt-cache showpkg <packagename>
you'll get available versions or if you know the specific version use below
apt-get install <packagename>=<version>
To remove binaries, Config files and more use
apt-get remove --purge <packagename>
If you want to remove its dependencies as well use below cmd unless its not needed by any other pkg
apt-get autoremove
apt-cache showpkg <packagename>
you'll get available versions or if you know the specific version use below
apt-get install <packagename>=<version>
To remove binaries, Config files and more use
apt-get remove --purge <packagename>
If you want to remove its dependencies as well use below cmd unless its not needed by any other pkg
apt-get autoremove
No comments:
Post a Comment