How To Install apache2-bin on Ubuntu 20.04

Hostnbit
In this tutorial we learn how to install apache2-bin on Ubuntu 20.04. apache2-bin is Apache HTTP Server (modules and other binary files) Apache HTTP Server (modules and other binary files) Apache HTTP Server (modules and other binary files)

Introduction

In this tutorial we learn how to install apache2-bin on Ubuntu 20.04.

What is apache2-bin

apache2-bin is:

The Apache HTTP Server Project’s goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.

This package contains the binaries only and does not set up a working
web-server instance. Install the “apache2” package to get a fully working
instance.
Task: lamp-server

Package: apache2-bin
Architecture: amd64
Version: 2.4.41-4ubuntu3.3
Priority: optional
Section: httpd
Source: apache2
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Debian Apache Maintainers [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4899
Provides: apache2-api-20120211, apache2-api-20120211-openssl1.1
Depends: perl:any, libapr1 (>= 1.6.2), libaprutil1 (>= 1.6.0), libaprutil1-dbd-sqlite3 | libaprutil1-dbd-mysql | libaprutil1-dbd-odbc | libaprutil1-dbd-pgsql | libaprutil1-dbd-freetds, libaprutil1-ldap, libbrotli1 (>= 0.6.0), libc6 (>= 2.14), libcrypt1 (>= 1:4.1.0), libcurl4 (>= 7.16.2), libjansson4 (>= 2.4), libldap-2.4-2 (>= 2.4.7), liblua5.2-0, libnghttp2-14 (>= 1.15.0), libpcre3, libssl1.1 (>= 1.1.1), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4)
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Breaks: gridsite (« 3.0.0~20170225gitd51b2fd-1~), libapache2-mod-dacs (<= 1.4.38a-2), libapache2-mod-proxy-uwsgi (« 2.4.33)
Replaces: libapache2-mod-proxy-uwsgi (« 2.4.33)
Filename: pool/main/a/apache2/apache2-bin_2.4.41-4ubuntu3.3_amd64.deb
Size: 1178896
MD5sum: 638bcc89abd744af610f004ba5adfd54
SHA1: bbe77efff50d6cc1dd3982b21a5342b15281509f
SHA256: 839677cbd1671265aa1981b379f41a727d403e9bff9ce962bf75d4814f9e3ef2
SHA512: af3ec6c730b1aa37f6a9544a93255d080e31ac3b9903a245397063d7323886732b81c7abbc9a3f1984b9170205f9b8efbf07a78d82117ef419ec54680935bede
Homepage: https://httpd.apache.org/
Description-en: Apache HTTP Server (modules and other binary files)
The Apache HTTP Server Project’s goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.

This package contains the binaries only and does not set up a working
web-server instance. Install the “apache2” package to get a fully working
instance.
Task: lamp-server

Package: apache2-bin
Architecture: amd64
Version: 2.4.41-4ubuntu3
Priority: optional
Section: httpd
Source: apache2
Origin: Ubuntu
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Debian Apache Maintainers [email protected]
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4898
Provides: apache2-api-20120211, apache2-api-20120211-openssl1.1
Depends: perl:any, libapr1 (>= 1.6.2), libaprutil1 (>= 1.6.0), libaprutil1-dbd-sqlite3 | libaprutil1-dbd-mysql | libaprutil1-dbd-odbc | libaprutil1-dbd-pgsql | libaprutil1-dbd-freetds, libaprutil1-ldap, libbrotli1 (>= 0.6.0), libc6 (>= 2.14), libcrypt1 (>= 1:4.1.0), libcurl4 (>= 7.16.2), libjansson4 (>= 2.4), libldap-2.4-2 (>= 2.4.7), liblua5.2-0, libnghttp2-14 (>= 1.15.0), libpcre3, libssl1.1 (>= 1.1.1), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4)
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Breaks: gridsite (« 3.0.0~20170225gitd51b2fd-1~), libapache2-mod-dacs (<= 1.4.38a-2), libapache2-mod-proxy-uwsgi (« 2.4.33)
Replaces: libapache2-mod-proxy-uwsgi (« 2.4.33)
Filename: pool/main/a/apache2/apache2-bin_2.4.41-4ubuntu3_amd64.deb
Size: 1179308
MD5sum: 82e5b63680cb04c906b6a46316e1772e
SHA1: 602315c5007d523136176b547646953ed2ec3c1a
SHA256: 6363c2e80ca284e024598b3fd2929e8dd23ac0a9d31f70ecd41b2d69cf74a22f
Homepage: https://httpd.apache.org/
Description-en: Apache HTTP Server (modules and other binary files)
The Apache HTTP Server Project’s goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.

This package contains the binaries only and does not set up a working
web-server instance. Install the “apache2” package to get a fully working
instance.
Task: lamp-server

There are three methods to install apache2-bin on Ubuntu 20.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 apache2-bin Using apt-get

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

sudo apt-get update

After updating apt database, We can install apache2-bin using apt-get by running the following command:

sudo apt-get -y install apache2-bin

Install apache2-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install apache2-bin using apt by running the following command:

sudo apt -y install apache2-bin

Install apache2-bin 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 apache2-bin using aptitude by running the following command:

sudo aptitude -y install apache2-bin

How To Uninstall apache2-bin on Ubuntu 20.04

To uninstall only the apache2-bin package we can use the following command:

sudo apt-get remove apache2-bin

Uninstall apache2-bin And Its Dependencies

To uninstall apache2-bin and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove apache2-bin

Remove apache2-bin Configurations and Data

To remove apache2-bin configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge apache2-bin

Remove apache2-bin configuration, data, and all of its dependencies

We can use the following command to remove apache2-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge apache2-bin

References

Summary

In this tutorial we learn how to install apache2-bin package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

Menu Title
Scroll to Top