解释一下下面这段话
1.挂载光盘
2.查找软件包是否存在光盘中
3.用rpm -ivh安装软件包
4.根据需求,如果需要卸载用rpm -e
[root@sc Packages]# rpm -ivh zsh-5.0.2-31.el7.x86_64.rpm
准备中... ################################# [100%]
正在升级/安装...
1:zsh-5.0.2-31.el7 ################################# [100%]
[root@sc Packages]#
[root@sc Packages]# rpm -Uvh zsh-5.0.2-31.el7.x86_64.rpm
准备中... ################################# [100%]
软件包 zsh-5.0.2-31.el7.x86_64 已经安装
[root@sc Packages]#
[root@sc Packages]# rpm -e zsh
[root@sc Packages]#
[root@sc Packages]# rpm -qa
firewalld-filesystem-0.5.3-5.el7.noarch
grub2-common-2.02-0.76.el7.centos.noarch
kbd-1.15.5-15.el7.x86_64
kbd-legacy-1.15.5-15.el7.noarch
tuned-2.10.0-6.el7.noarch
tzdata-2018e-3.el7.noarch
。。。。。
[root@sc Packages]# rpm -q gpgme
gpgme-1.3.2-5.el7.x86_64
[root@sc Packages]#
[root@sc Packages]# rpm -qi vim-enhanced
Name : vim-enhanced
Epoch : 2
Version : 7.4.160
Release : 5.el7
Architecture: x86_64
Install Date: 2019年03月23日 星期六 22时56分02秒
Group : Applications/Editors
Size : 2296666
License : Vim
Signature : RSA/SHA256, 2018年11月12日 星期一 22时48分44秒, Key ID 24c6a8a7f4a80eb5
Source RPM : vim-7.4.160-5.el7.src.rpm
Build Date : 2018年10月31日 星期三 03时57分29秒
Build Host : x86-01.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.vim.org/
Summary : A version of the VIM editor which includes recent enhancements
Description :
VIM (VIsual editor iMproved) is an updated and improved version of the
vi editor. Vi was the first real screen-based editor for UNIX, and is
still very popular. VIM improves on vi by adding new features:
multiple windows, multi-level undo, block highlighting and more. The
vim-enhanced package contains a version of VIM with extra, recently
introduced features like Python and Perl interpreters.
Install the vim-enhanced package if you'd like to use a version of the
VIM editor which includes recently added enhancements like
interpreters for the Python and Perl scripting languages. You'll also
need to install the vim-common package.
[root@sc Packages]# rpm -ql vim-enhanced
/etc/profile.d/vim.csh
/etc/profile.d/vim.sh
/usr/bin/rvim
/usr/bin/vim
/usr/bin/vimdiff
/usr/bin/vimtutor
[root@sc Packages]#
[root@sc Packages]# rpm -qf /usr/bin/vim
vim-enhanced-7.4.160-5.el7.x86_64
[root@sc Packages]#