【yum remove パッケージ】で
パッケージを削除することが出来ます。
とりあえず不要になった【httpd】を削除します。
関連パッケージもアンインストールするか聞かれますので
しっかりと内容の確認が必要になります。
[root@localhost ~]# yum remove httpd
Loaded plugins: fastestmirror
Resolving Dependencies
-
- > Running transaction check
- > Package httpd.armv7hl 0:2.4.6-89.el7.centos will be erased
- > Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
httpd armv7hl 2.4.6-89.el7.
centos @updates 9.0 M
Transaction Summary
================================================================================
Remove 1 Package
Installed size: 9.0 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing :
httpd-2.4.6-89.el7.
centos.armv7hl 1/1
warning: /etc/
httpd/conf/
httpd.conf saved as /etc/
httpd/conf/
httpd.conf.rpmsave
warning: /etc/
httpd/conf.d/welcome.conf saved as /etc/
httpd/conf.d/welcome.conf.rpmsave
Verifying :
httpd-2.4.6-89.el7.
centos.armv7hl 1/1
Removed:
httpd.armv7hl 0:2.4.6-89.el7.
centos
Complete!