Home>Article>Operation and Maintenance> What is the difference between linux and ubuntu
The difference between linux and ubuntu: 1. Linux is the GNU suite plus the linux kernel, while ubuntu is a desktop PC operating system based on the linux kernel; 2. linux is the kernel, and the kernel alone cannot be used, ubuntu is GNU/Linux distributions are available.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What is the difference between linux and ubuntu
Linux is the kernel, and the kernel alone cannot be used. Therefore, its peripheral environment software is also needed. Generally, the peripheral software for Linux that everyone sees is software from the GNU project. This combination is called a package, and the GNU software Linux kernel is called a GNU/Linux package. The Linux that everyone sees is released in this kind of package, also called a distribution version.
ubuntu is this GNU/Linux distribution. So does Fedora.
Correspondingly, there are GNU/FreeBSD and GNU/Hurd in this world. There used to be GNU/Darwin (darwin was the base system for MAC OS X). In addition, there are systems that are compatible with non-GNU software. For example, Andorid is a Linux Android software environment.
Let’s take a deeper look. First, let's look at what parts an operating system with a Linux kernel contains. Generally includes four parts: kernel, shell, file system and application. The kernel, shell, and file system together form the basic operating system structure that allows users to easily run applications, manage files, and use the entire system.
1. Linux applications
A good operating system will provide a set of applications that are convenient for users to use the system, such as text editors, office suites, Internet tools, databases, etc.
2. Linux file system
The file system is an organization method for files stored on storage devices (such as disks). Such as EXT2, EXT3, FAT, FAT32, VFAT, etc.
3. Linux Shell
Shell is the user interface of the operating system. It provides an interface for users to interact with the kernel and is a command interpreter. It receives commands entered by the user and sends them to the kernel for execution.
4. Linux kernel
The kernel is the core of the operating system. An operating system needs to perform some tasks, such as requesting memory resources, performing calculations, connecting to the network, etc. The Linux kernel is responsible for handling all such requests, just like the human brain.
Functionally speaking, the Linux kernel has five major modular functions: process management, memory management, file system management, device control and network management.
4.1 The embodiment of process management:
The Linux kernel is responsible for process creation and destruction, and completes communication between processes, as well as process input and output. Moreover, process management controls multiple processes The use of one or more CPU resources on the Soc
4.2 Memory management
The usage strategy of memory resources is particularly important for the performance of the operating system. The kernel establishes a virtual address space for each process based on limited memory resources. Different functional parts of the kernel interact with the memory management subsystem through a set of function calls, making communication efficient and simple.
4.3 File system management
In the Linux operating system, almost anything can be regarded as a file (everything is a file). The kernel uses a large number of structures such as kobject to organize a bunch of non- Structured hardware is organized into a multi-level data system. Additionally, Linux supports multiple file system types. Such as ext4, etc.
4.4 Device Control
Almost any operating system eventually runs on a physical platform. The kernel contains driver code that accesses the hardware devices on the platform.
4.5 Network functions
Most network operations are not associated with specific processes because the transmission of data packets is an asynchronous event. Before an application accesses a data packet, the kernel completes tasks such as collection, identification, and distribution of data packets.
What features does Ubuntu have as an operating system?
At present, it seems that Ubuntu respects "free open source and personalization", has a very user-friendly and beautiful interactive interface, strong software source support, and most mainstream drivers can be found in the installation package; in addition, because Ubuntu is Based on the Debian series, there is a dpkg package that can be used to obtain installation software online. It has a complete package management mechanism, good compatibility, and many applications. You can download many personalized gadgets and the personalized experience is great; it can be said that Ubuntu is a Linux distribution The best PC operating system in the world.
For these reasons, Ubuntu is often used as a platform for Linux enthusiasts to learn Linux application programming and Linux driver development.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What is the difference between linux and ubuntu. For more information, please follow other related articles on the PHP Chinese website!