Tomcat installation error

Hi, i am new i try to install DHIS2 on ubuntu 22.04.2. I followed the steps decribed here Installation - DHIS2 Documentation here is the command that gives me an error “sudo apt-get install -y tomcat8-user”

sudo apt-get install -y tomcat8-user
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package tomcat8-user

Please I need your help, thank you.

Hi @Ornella

Welcome to the DHIS2 Community of Practice!

tomcat8-user is available for earlier Ubuntu version; however, for the Ubuntu 22 version that you are using, the package name is tomcat9-user:
sudo apt-get install -y tomcat9-user


@Gassim thank you, it works.

1 Like