Mobile wallpaper 1Mobile wallpaper 2Mobile wallpaper 3Mobile wallpaper 4Mobile wallpaper 5Mobile wallpaper 6
493 字
2 分钟
LINUX,REHAT安装命令
2022-09-22
统计加载中...
功能DebianRedhatRedhat (dnf)
安装软件包dpkg -irpm -ivhdnf install
移除软件(保留配置)dpkg -rrpm -evh
移除软件(不保留配置)dpkg -P
列出安装包的内容dpkg -crpm -qlp
配合|grep,查找主机包dpkg -l|greprpm -qa|grep
查找包的详细信息dpkg -sdnf info nano
查看已安装的软件包文件分布dpkg -L
显示安装包的状态信息dpkg -Srpm -ql
列出软件的所有设置文件rpm -qc
查询安装包依赖软件rpm -qR
查询文件出生(文件名)rpm -qfdnf provides
安装软件包apt-get installyum -y install
卸载软件(不包含配置)apt-get removeyum removednf remove
卸载指令(包含配置)apt-get purge
将所有包的来源更新(更新源)apt-get updateyum makecachednf update
将系统中旧版本的包更新至最新apt-get upgradeyum update
用关键词搜索包apt-cache searchyum search
显示特定包的基本信息apt-cache showyum info
列出包的依赖apt-cache dependsyum deplist rpm
清理本地包占用apt-get cleanyum clean alldnf clean all
卸载软件附带依赖且不要的包apt-get autoremovednf autoremove
显示所有已经安装和可以安装的程序包yum listgrep
列出组yum group list
安装’Security Tools’软件组yum group install “Security Tools”
显示系统中可用的 DNF 软件库dnf repolist
显示系统中可用和不可用的所有的 DNF 软件库dnf repolist all
列出所有来自软件库的可用软件包和所有已经安装在系统上的软件包dnf list
列出所有安装了的 RPM 包dnf list installed
列出所有可用软件库的可供安装的软件包dnf list available
查找某一文件的提供者dnf provides
升级指定软件包dnf update systemd
检查系统中所有软件包的更新dnf check-update
查看系统上dnf命令的执行历史dnf history
列出所有的软件包组dnf grouplist
安装一个软件包组dnf groupupdate
卸载一个软件包组dnf groupremove
重新安装特定软件包dnf reinstall
LINUX,REHAT安装命令
https://blog.jisuk.top/posts/linuxrehat安装命令/
作者
不鹤Buhe
发布于
2022-09-22
许可协议
CC BY-NC-SA 4.0

部分信息可能已经过时

封面
Sample Song
Sample Artist
封面
Sample Song
Sample Artist
0:00 / 0:00