tomcat9-instance-create command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tomcat9-instance-create: command not found
or when using sudo you get the following error message
sudo: tomcat9-instance-create: command not found
Solutions to tomcat9-instance-create: command not found
How To Fix tomcat9-instance-create: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tomcat9-instance-create is provided by tomcat9-user package.
tomcat9-user is:
Apache Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle, and provides a “pure Java” HTTP web server environment for Java code to run.
This package contains files needed to create a user Tomcat instance. This user Tomcat instance can be started and stopped using the scripts provided in the Tomcat instance directory.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tomcat9-user
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tomcat9-user.
sudo apt -y install tomcat9-user
Or if you have aptitude installed you can use the following command.
sudo aptitude install tomcat9-user
Summary
In this tutorial we learn how to fix tomcat9-instance-create command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.