jinose c
jinose c

Reputation: 63

How to solve installation error, while installing tomcat

I got an error while installing tomcat 7. I have searched for it, but couldn't find any solutions.

The error is..

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package tomcat 7

Please help me...

Upvotes: 3

Views: 13283

Answers (3)

Mazi
Mazi

Reputation: 29

you need to use the latest tomcat version - tomcat9: "sudo apt install tomcat9"

Upvotes: 2

Joe Giusti
Joe Giusti

Reputation: 179

As of now (5-5-2019) use 8 instead of 7. sudo apt-get install tomcat8

Upvotes: 5

RaviTezu
RaviTezu

Reputation: 3125

Looks like you have a space between tomcat and 7. Use the following command to install tomcat7: sudo apt-get install tomcat7

[Update]
1. Add deb http://security.ubuntu.com/ubuntu trusty-security main universe to /etc/apt/sources.list file.
2. Run sudo apt-get update
3. Run sudo apt-get install tomcat7

Upvotes: 8

Related Questions