The Apache Portable Runtime (APR) enhances Tomcat's performance by providing features such as improved scalability, integration with native server technologies, and support for OpenSSL in HTTPS. While Tomcat offers a precompiled APR for Windows, Linux users, particularly on Centos 7, often need to install APR from distribution package repositories, which may not be up-to-date for newer Tomcat versions like 9.01. The article highlights an incompatibility issue with the available APR and Tomcat Native versions from the Centos package manager, necessitating users to manually compile the required libraries. Instructions are provided to download, compile, and install the appropriate APR and Tomcat Native versions using development tools and the Java Development Kit on Centos. The process involves downloading source files, configuring, making, and installing them, followed by configuring Tomcat to recognize the compiled libraries. Successful installation is confirmed via specific log messages in Tomcat, and the article briefly mentions Octopus Deploy as a tool for automating Java application deployment.