How To Install apachedex on Ubuntu 18.04
Introduction
In this tutorial we learn how to install apachedex
on Ubuntu 18.04.
What is apachedex
apachedex is:
APacheDEX parses Apache-style logs and generates several statistics intended for a website developer audience:
APDEX (Application Performance inDEX, see http://www.apdex.org) ratio (plotted) because you want to know how satisfied your users are.
hit count (plotted) because achieving 100% APDEX is easy when there is nobody around.
HTTP status codes, with optional detailed output of the most frequent URLs per error status code, along with their most frequent referers because your forgot to update a link to that conditionally-used browser compatibility javascript you renamed.
Hottest pages (pages which use rendering time the most) because you want to know where to invest time to get highest user experience improvement.
ERP5 sites: per-module statistics, with module and document views separated because module and document types are not born equal in usage patterns.
There are three methods to install apachedex
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install apachedex Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install apachedex
using apt-get
by running the following command:
sudo apt-get -y install apachedex
Install apachedex Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install apachedex
using apt
by running the following command:
sudo apt -y install apachedex
Install apachedex Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install apachedex
using aptitude
by running the following command:
sudo aptitude -y install apachedex
How To Uninstall apachedex on Ubuntu 18.04
To uninstall only the apachedex
package we can use the following command:
sudo apt-get remove apachedex
Uninstall apachedex And Its Dependencies
To uninstall apachedex
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove apachedex
Remove apachedex Configurations and Data
To remove apachedex
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge apachedex
Remove apachedex configuration, data, and all of its dependencies
We can use the following command to remove apachedex
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge apachedex
References
Summary
In this tutorial we learn how to install apachedex
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.