I am installing jre 32-bit and tomcat using apt-get in ubuntu desktop 14.04 64-bit operating systems.
It get installs but only a specific version.
How can i mention the version during apt-get install command for jre 32-bit and tomcat?
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


You can install specific version of a desired package using APT, but only if the version is still in the repository and APT knows about it. If it's no longer there (or never was), you may need to add additional sources or build from source. More details are in man apt-get or man aptitude. Using Tomcat, for example, our options are the current version (7.0.52-1ubuntu0.1):

apt-get install tomcat

or a previous version:

apt-get install tomcat=6.0.39-1

Keep in mind that older (or source-built) packages may have missing dependencies, security issues, bugs, etc. that have been resolved in newer versions.

Hope that helps,
Answered 05/05/2015 by: Rev.Eddie
White Belt

Please log in to comment