123 about rhel、debian、opensuse、archlinux For these mainstream distributions , They have different package managers to manage the packages on the system If you don't know which release of the system you are using , When the software package is installed, there is no way to start Most distributions use systemd command 123
RHEL Generally refer to Red Hat Enterprise Linux,Red Hat The company's Linux operating system
The generalized Debian It refers to a cooperative organization dedicated to creating a free operating system and its works , because Debian Among the numerous kernel branches of the project Linux The macro kernel is mainly and Debian developer Most of the basic tools in the operating system created come from GNU engineering , therefore “Debian” Often refers to Debian GNU/Linux
openSUSE The project is from Novell The open source community project . To advance Linux Widespread use , Provides a free and easy way to get the best use in the world Linux One of the releases :openSUSE. openSUSE The project is Linux Developers and enthusiasts offer to start using Linux All that is needed . openSUSE It's a general purpose based Linux Kernel GNU/Linux operating system
Arch Linux It's based on x86-64 Architecturally Linux Distribution version . The system is mainly composed of free and open source software , Support community participation . Let's see what basic commands you can use to see linux Release name and version number
Method 1 ：lsb_release -a command LSB（linux Standard library linux standard base）
Method 2 ：cat /etc/os-release
rhel System cat /etc/os-release cat /etc/system-release cat /etc/redhat-release centos System cat /etc/centos-release fedora System cat /etc/fedora-release Method 3 ：uname command uname(unix name) It's a tool for printing system information , Include ： Kernel name 、 Version number 、 Details of the system and the operating system
Method four ：cat /proc/version The document records linux The release of the kernel 、 For compiling the kernel gcc edition 、 Kernel compile time 、 And the user name of the kernel compiler Method five ：dmesg command dmesg( Show information display message perhaps Driver information driver message) It's most unix A command on the operating system , Used to print information about the message buffer of the kernel
Methods six ：yum command Yum yes linux A package management tool on the operating system ,yum Commands are used for some basic RedHat Of linux Installation on distribution 、 to update 、 lookup 、 Remove package Methods seven ：rpm command RPM（ Red hat package manager RedHat Package Manager） Is in CentOS、Oracle、Linux、Fedora These are based on RedHat A powerful command line package management tool on the operating system of , It can also help us to view the version information of the system
CentOS（Community Enterprise Operating System, Community enterprise operating system ） yes Linux One of the releases , It comes from Red Hat Enterprise Linux Compiled from the source code released according to the open source code . Because it comes from the same source code , So some servers require high stability to CentOS Replace the commercial version of Red Hat Enterprise Linux Use . The difference between the two , lie in CentOS Fully open source .
Oracle It generally refers to Oracle This entry is written by “ The popular science of China ” Scientific encyclopedia entry compilation and application project to examine . Oracle , Its full name is Oracle ( Oracle Software Systems Co., Ltd ), Is the world's largest enterprise software company , Headquartered in Redwood beach, California .1989 Officially entered the Chinese market in .2013 year , Oracle has transcended IBM , To become a successor Microsoft The second largest software company in the world .
Linux Is a set of free use and free dissemination classes Unix operating system , It's based on POSIX and UNIX Multiple users of 、 multitasking 、 Support for multithreading and multithreading CPU Operating system of . It can run the main UNIX Tool software 、 Application and network protocols . It supports 32 Bit and 64 Bit hardware .Linux Inherited Unix Design idea with network as the core , It is a multi-user network operating system with stable performance .
Fedora It's a Linux Distribution version , It's a fast app for everyday use built by global community enthusiasts 、 Stable 、 Powerful operating system . It allows anyone to use it freely 、 Modify and republish , Now and in the future . It was developed by a powerful community , Members of this community have made unremitting efforts , Provide and maintain freedom 、 Open source software and open standards .Fedora Project by Fedora The foundation manages and controls , Got it Red Hat Support for .
That's all Liangxu tutorial website For all of you Linux Related knowledge .
本文为[Pioneer of code farmers]所创，转载请带上原文链接，感谢