Install Tomcat via yum? (centos)

Frank LaRosa 1 Reputation point
2021-03-11T02:20:25.463+00:00

Hi, I'm somewhat new to Azure but have a lot of experience with AWS. I set up a Linux VM using centos. I chose this figuring it would be similar to Amazon Linux. I logged in and installed a variety of applications that I need using the 'yum' command, but I cannot install Apache Tomcat. With Amazon Linux it's a simple matter of typing 'yum install tomcat8'. How is it done here? Thanks, Frank

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,983 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,901 Reputation points MVP
    2021-03-11T07:21:48.637+00:00

    Hi @Frank LaRosa

    Thank you for posting in Q & A

    Refer to this link it may help you.
    Install Apache Tomcat On Your Azure Linux Redhat VM

    Please don’t forget to Accept the answer and up-vote wherever the information provided helps you, this can be beneficial to other community members.


  2. TravisCragg-MSFT 5,676 Reputation points Microsoft Employee
    2021-03-22T23:34:57.54+00:00

    From what I can gather, Tomcat is not available on default yum repositories. You will either need to add a repository with Tomcat available (I could not easily find one), or use wget to download the tomcat .tar file. From what I was able to find, most people use wget. You can easily find how to articles of installing tomcat on CentOS, like this one.

    0 comments No comments