How to update the system in linux

angryTom
Release: 2019-11-05 15:19:49
Original
16507 people have browsed it

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      # 只升级所有包,不升级软件和系统内核。
Copy after login

Debian Series

Package management tool apt-get

apt-get update       # 更新安装源(Source)
apt-get upgrade      # 更新已安装的软件包
apt-get dist-upgrade # 更新已安装的软件包(识别并处理依赖关系的改变)
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!