/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: Rev.Eddie 8 years ago
White Belt
0
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,
Eddie

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ