How To Install trafficserver-experimental-plugins on Ubuntu 18.04

In this tutorial we learn how to install trafficserver-experimental-plugins on Ubuntu 18.04. trafficserver-experimental-plugins is experimental plugins for Apache Traffic Server

Introduction

In this tutorial we learn how to install trafficserver-experimental-plugins on Ubuntu 18.04.

What is trafficserver-experimental-plugins

trafficserver-experimental-plugins is:

This package provides the Apache Traffic Server. A fast, scalable reverse proxy server which may operate as forward proxy as well.

This package provides experimental plugins: authproxy, channel stats, combo handler, custom_redirect, esi, geoip acl, healthchecks, Lua, metalink, rfc5861, spdy and tcp info.

There are three methods to install trafficserver-experimental-plugins 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 trafficserver-experimental-plugins Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install trafficserver-experimental-plugins using apt-get by running the following command:

sudo apt-get -y install trafficserver-experimental-plugins

Install trafficserver-experimental-plugins Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install trafficserver-experimental-plugins using apt by running the following command:

sudo apt -y install trafficserver-experimental-plugins

Install trafficserver-experimental-plugins 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 trafficserver-experimental-plugins using aptitude by running the following command:

sudo aptitude -y install trafficserver-experimental-plugins

How To Uninstall trafficserver-experimental-plugins on Ubuntu 18.04

To uninstall only the trafficserver-experimental-plugins package we can use the following command:

sudo apt-get remove trafficserver-experimental-plugins

Uninstall trafficserver-experimental-plugins And Its Dependencies

To uninstall trafficserver-experimental-plugins and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove trafficserver-experimental-plugins

Remove trafficserver-experimental-plugins Configurations and Data

To remove trafficserver-experimental-plugins configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge trafficserver-experimental-plugins

Remove trafficserver-experimental-plugins configuration, data, and all of its dependencies

We can use the following command to remove trafficserver-experimental-plugins configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge trafficserver-experimental-plugins

References

Summary

In this tutorial we learn how to install trafficserver-experimental-plugins package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.