Ways to Install or Uninstall mini-httpd-run on Ubuntu 22.04

Updated: September 7, 2022

mini-httpd implements all basic features of a HTTPD, including: GET,HEAD,POST methods, common MIME types, basic authentication, virtual hosting, CGI, directory listing, trailing-slash redirection, standard logging, custom error pages etc. It also can be configured to do SSL and IPv6. In this tutorial, I will show you ways to install mini-httpd-run Ubuntu 22.04.

Requirements

  • Operating system: mini-httpd-run needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install mini-httpd-run on Ubuntu 22.04

Install mini-httpd-run Ubuntu 22.04

mini-httpd-run is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install mini-httpd-run using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to get mini-httpd-run on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install mini-httpd-run Ubuntu by executing this command in the terminal.

sudo apt-get install mini-httpd-run

Install mini-httpd-run using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After installing, you can now install mini-httpd-run by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. You can now install mini-httpd-run Ubuntu by executing this command in the terminal.

sudo aptitude -y install mini-httpd-run

Uninstall mini-httpd-run on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

You can uninstall mini-httpd-run on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove mini-httpd-run

If you want to uninstall mini-httpd-run and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge mini-httpd-run

Ending

In this tutorial, I showed you ways to install mini-httpd-run on Ubuntu 22.04 and some ways to uninstall mini-httpd-run too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.