How To Install apache2-ssl-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install apache2-ssl-dev
on Ubuntu 20.04.
What is apache2-ssl-dev
apache2-ssl-dev 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 provides the development header and the dependencies for modules that interact with mod_ssl’s internal openssl state.
Package: apache2-ssl-dev 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: 13 Depends: apache2-dev (= 2.4.41-4ubuntu3.3), libssl-dev (>= 1.1) Filename: pool/main/a/apache2/apache2-ssl-dev_2.4.41-4ubuntu3.3_amd64.deb Size: 3152 MD5sum: 8325bc2c381d211a778839e33119a8d0 SHA1: 7fd56ca3f3aa29735662f7c463691982adbbfb45 SHA256: c3d80bf5ba0dbd79d436e31b1ae27eb7b09c2ecc575d144c406e379250898e6a SHA512: 8f1fb3a8d2088ed5df38251df64e326efba592a59430edea50662d0640eb92609c38ad05ee5b220e974bbb3e3c4f956bc1950d5ab078d92de82149c91cef7aec Homepage: https://httpd.apache.org/ Description-en: Apache HTTP Server (mod_ssl development headers) 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 provides the development header and the dependencies for modules that interact with mod_ssl’s internal openssl state.
Package: apache2-ssl-dev 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: 13 Depends: apache2-dev (= 2.4.41-4ubuntu3), libssl-dev (>= 1.1) Filename: pool/main/a/apache2/apache2-ssl-dev_2.4.41-4ubuntu3_amd64.deb Size: 3156 MD5sum: c66b822fe7c395b8cd7481926bd76a6b SHA1: f22dd441ba44fc64cb2f9fe8567fe744b31022d4 SHA256: 6065beb99bd64069117648306a07af9bfb87dce6c55193e3fcb92bfe218587c0 Homepage: https://httpd.apache.org/ Description-en: Apache HTTP Server (mod_ssl development headers) 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 provides the development header and the dependencies for modules that interact with mod_ssl’s internal openssl state.
There are three methods to install apache2-ssl-dev
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-ssl-dev 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-ssl-dev
using apt-get
by running the following command:
sudo apt-get -y install apache2-ssl-dev
Install apache2-ssl-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install apache2-ssl-dev
using apt
by running the following command:
sudo apt -y install apache2-ssl-dev
Install apache2-ssl-dev 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-ssl-dev
using aptitude
by running the following command:
sudo aptitude -y install apache2-ssl-dev
How To Uninstall apache2-ssl-dev on Ubuntu 20.04
To uninstall only the apache2-ssl-dev
package we can use the following command:
sudo apt-get remove apache2-ssl-dev
Uninstall apache2-ssl-dev And Its Dependencies
To uninstall apache2-ssl-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove apache2-ssl-dev
Remove apache2-ssl-dev Configurations and Data
To remove apache2-ssl-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge apache2-ssl-dev
Remove apache2-ssl-dev configuration, data, and all of its dependencies
We can use the following command to remove apache2-ssl-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge apache2-ssl-dev
References
Summary
In this tutorial we learn how to install apache2-ssl-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.