install tomcat 9 in centos code example Example: install tomcat on centos 7 sudo yum install tomcat-webapps tomcat-admin-webapps