How To Install open-infrastructure-apache-icons on Ubuntu 18.04

In this tutorial we learn how to install open-infrastructure-apache-icons on Ubuntu 18.04. open-infrastructure-apache-icons is alternative icons for Apache autoindex

Introduction

In this tutorial we learn how to install open-infrastructure-apache-icons on Ubuntu 18.04.

What is open-infrastructure-apache-icons

open-infrastructure-apache-icons is:

The Apache HTTP Server is the world’s most used web server software.

apache-icons provides alternative icons for Apache autoindex:

  • tango-png: Tango Icon Theme based, PNG format
  • tango-svg: Tango Icon Theme based, SVG format
  • awesome-png: Font Awesome based, PNG format
  • awesome-svg: Font Awesome based, SVG format

There are three methods to install open-infrastructure-apache-icons 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 open-infrastructure-apache-icons Using apt-get

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

sudo apt-get update

After updating apt database, We can install open-infrastructure-apache-icons using apt-get by running the following command:

sudo apt-get -y install open-infrastructure-apache-icons

Install open-infrastructure-apache-icons Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install open-infrastructure-apache-icons using apt by running the following command:

sudo apt -y install open-infrastructure-apache-icons

Install open-infrastructure-apache-icons 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 open-infrastructure-apache-icons using aptitude by running the following command:

sudo aptitude -y install open-infrastructure-apache-icons

How To Uninstall open-infrastructure-apache-icons on Ubuntu 18.04

To uninstall only the open-infrastructure-apache-icons package we can use the following command:

sudo apt-get remove open-infrastructure-apache-icons

Uninstall open-infrastructure-apache-icons And Its Dependencies

To uninstall open-infrastructure-apache-icons and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove open-infrastructure-apache-icons

Remove open-infrastructure-apache-icons Configurations and Data

To remove open-infrastructure-apache-icons configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge open-infrastructure-apache-icons

Remove open-infrastructure-apache-icons configuration, data, and all of its dependencies

We can use the following command to remove open-infrastructure-apache-icons configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge open-infrastructure-apache-icons

References

Summary

In this tutorial we learn how to install open-infrastructure-apache-icons package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.