How to Install and Uninstall httpd.x86_64 Package on Amazon Linux 2

Last updated: December 27,2024

1. Install "httpd.x86_64" package

Please follow the instructions below to install httpd.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install httpd.x86_64

2. Uninstall "httpd.x86_64" package

Here is a brief guide to show you how to uninstall httpd.x86_64 on Amazon Linux 2:

$ sudo yum remove httpd.x86_64 $ sudo yum autoremove

3. Information about the httpd.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : httpd
Arch : x86_64
Version : 2.4.52
Release : 1.amzn2
Size : 4.1 M
Repo : installed
From repo : amzn2-core
Summary : Apache HTTP Server
URL : https://httpd.apache.org/
License : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
: web server.