How to install jre and tomcat for a specific version using apt repository?
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
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
Rev.Eddie
9 years ago
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):
Hope that helps,
Eddie
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,
Eddie