Home >Operation and Maintenance >Linux Operation and Maintenance >How to update the system in linux
How to update the system in Linux
Updating the system in Linux is very simple and only requires a few commands to solve it, as follows I have summarized the upgrade system commands of different distributions for everyone. I hope it will be helpful to you.
RedHat Series
Package Management Tool yum
yum -y update # 升级所有包同时也升级软件和系统内核; yum -y upgrade # 只升级所有包,不升级软件和系统内核。
Debian Series
Package management tool apt-get
apt-get update # 更新安装源(Source) apt-get upgrade # 更新已安装的软件包 apt-get dist-upgrade # 更新已安装的软件包(识别并处理依赖关系的改变)
Recommended: [Linux video tutorial]
The above is the detailed content of How to update the system in linux. For more information, please follow other related articles on the PHP Chinese website!