Home>Article>Operation and Maintenance> What is the difference between centos and ubuntu
Difference: 1. Centos is developed based on EHEL, while ubuntu is developed based on Debian; 2. Centos uses rpm and flatpak software packages, while ubuntu uses deb and snap software packages; 3. Centos uses yum to update, and Ubuntu uses apt to update.
The operating environment of this article: CentOS 7 system, DELL G3 computer
In Linux The options are seemingly endless, as anyone can build Linux by modifying an already released version or a new build from scratch (LFS).
Regarding the selection of Linux distributions, we pay attention to factors such as user interface, file system, software package distribution, new features, update cycle and maintainability, etc.
In this article, we will talk about two well-known Linux distributions. In fact, it is more about introducing the differences between the two and in what aspects one is better than the other. .
What is CentOS?
CentOS (Community Enterprise Operating System) is a community-supported clone derived from and compatible with Red Hat Enterprise Linux (RHEL) Linux distribution, so we can think of CentOS as a free version of RHEL. Each CentOS release has a 10-year maintenance period, and the release cycle of each new version is 2 years. On January 8, 2014, CentOS announced that it would officially join Red Hat and be governed by the new CentOS Board of Directors, but still maintain its independence from RHEL.
The history and first release of CentOS
CentOS was first released in 2004, when it was called cAOs Linux; it is an RPM-based system maintained and managed by the community release version.
CentOS combines many aspects, including Debian, Red Hat Linux/Fedora and FreeBSD, to enable servers and clusters to work stably for 3 to 5 years. It has a group of open source software developers as supporters and is part of a large organization (CAOS Foundation).
In June 2006, David Parsley announced that TAO Linux (another RHEL clone) developed by him would withdraw from the stage of history and fully transfer to the development of CentOS. However, his domain shift will not affect previous TAO users, as they can migrate to CentOS by updating their systems using yum update.
In January 2014, Red Hat began sponsoring the CentOS project and handed over ownership and trademarks.
CentOS Design
To be precise, CentOS is a clone of the paid RHEL (Red Had Enterprise Edition) version. RHEL provides source code for subsequent CentOS modifications and changes (removal of trademarks and logos) and improvement into the final product.
Ubuntu
Ubuntu is a Debian-based Linux operating system used in many fields such as desktops, servers, smartphones, and tablets. Ubuntu is distributed by a British company called Canonical Ltd., founded and sponsored by Mark Shuttleworth of South Africa.
The design of Ubuntu
Ubuntu is an open source distribution generated by the joint efforts of developers around the world. After years of careful management, Ubuntu's interface has become more and more modern and user-friendly, the entire system runs smoother and more securely, and there are thousands of applications available for download.
Since it is based on Debian, it also supports .deb packages, newer package systems, and the more secure snap package format (snappy).
This new packaging system allows distributed applications to come with the required dependencies.
The difference between CentOS and Ubuntu
Ubuntu is based on Debian, CentOS is based on RHEL;
Ubuntu uses .deb and .snap software packages, and CentOS uses .rpm and flatpak software packages;
Ubuntu uses apt to update, CentOS uses yum;
CentOS seems to be more stable because it does not regularly update packages like Ubuntu does. But this does not mean that Ubuntu is not more secure than CentOS;
Ubuntu has more documentation and free questions and information support;
Ubuntu server version supports cloud services and container deployment More.
Conclusion
No matter what your choice is, Ubuntu or CentOS, both are very good and stable distributions. If you want a version with a shorter release cycle, then choose Ubuntu; if you want a version with less frequent package changes, then choose CentOS.
Recommended: "centos usage tutorial"
The above is the detailed content of What is the difference between centos and ubuntu. For more information, please follow other related articles on the PHP Chinese website!