Wednesday, October 31, 2018

software installation - How to install latest version of tomcat on ubuntu using apt?



apt-get install will only install 7.0.26, what is the prescribed way to get the latest version which is 7.0.47.



I'm on 12.04. I am trying to avoid manual download and install.



If you want latest version,which is not available on ubuntu repos, there are following alternate ways of getting it.




  • manual download from website


  • download from unofficial repositories.

  • download and build latest source code.

  • download from other linux repository and convert using alien.



Now as you don't want to install manually,lets speak about other methods.






download from unofficial repositories.




once you find the repository you need,open a terminal and type.




sudo add-apt-repository ppa:(Your ppa here)
sudo apt-get update
sudo apt-get install tomcat




NOTE:-



you will first have to temporarily block the repo which contains older version of tomcat,or they will interfere.you can do this by





sudo add-apt-repository -r ppa:(Your ppa here)




and dont forget to add it back, once you are done.






download and build




this link provides the source code.for building and installing software read software documentation/forums and compile easy how to






download from other source



download package using website or any other place.then use alien to convert package.read alien man pagesfor help on using alien.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...