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