从 流行linux发行版 看 发行版参数

  • 关注的发行版
// 发新版 流行度 排行 https://distrowatch.com/
Debian系列
	--debian
    --Ubuntu
    --deepos

Slackware系列
    --Opensuse

Redhat系列
    --Centos
  • 发行版之间有什么不同
// 发行版之间的不同一句话就能明了: 包不同 , 但是我感觉我关注的是4个方面
1. 包管理方式
	前端主要有 apt yum dnf zypper , 其次还有 pacman,slackpkg, upmi , emege , conay , pisi
	后端主要有 dpkg rpm 
2. 桌面环境
	gnome xfce kde dde
3. init系统
	sysvinit systemd busybox(linuxrc) upstart openrc 
4. 内核版本
	从 4.19.05.3.0 
5. 其他预装软件

2020年发行版状态

1. 包管理方式
	前端主要有 apt yum dnf zypper
	后端主要有 dpkg rpm 
2. 桌面环境
	gnome xfce kde dde
3. init系统
	只有systemd
4. 内核版本
	从 4.19.05.3.0 
5. 其他预装软件
	X11 : 有逐渐向 Xwayland 过渡的趋势
Debian系列
  • debian

http://mirrors.163.com/debian-cd/10.6.0/amd64/iso-cd/

pop@debian:~/work$ uname -a
Linux debian 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux
pop@debian:~/work$ lsb_release  -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
pop@debian:~/work$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"



1858 个软件包


BIOS

grub2-common                          2.02


4个入口
	vmlinuz-4.19.0-12-amd64  非 recovery 模式
	vmlinuz-4.19.0-12-amd64     recovery 模式
	vmlinuz-4.19.0-11-amd64  非 recovery 模式
	vmlinuz-4.19.0-11-amd64     recovery 模式

init 系统
	systemd 241-7~deb10u4


user@mmt:~$ echo $XDG_SESSION_TYPE
x11
user@mmt:~$ echo $DESKTOP_SESSION
ubuntu-wayland

X 系统(可选)
	Xorg X server
	ii  xserver-xorg-core                     2:1.20.4-1+deb10u1                           amd64        Xorg X server - core server
	

X 系统
	Xwayland
	ii  xwayland                              2:1.20.4-1+deb10u1                           amd64        Xwayland X server


包管理方式
	ii  apt                                   1.8.2.1                                      amd64        commandline package manager
	ii  dpkg                                  1.19.7                                       amd64        Debian package management system


默认桌面
	gnome


pop@debian:~/work$ gnome-shell --version
GNOME Shell 3.30.2
  • ubuntu

https://cn.ubuntu.com/download


pop@mmt:~/work$ uname -a
Linux mmt 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
pop@mmt:~/work$ lsb_release  -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal




1590 个软件包


BIOS

(GRUB) 2.04-1ubuntu26.6


6个入口
	Linux 5.4.0-54-generic  非 recovery 模式
	Linux 5.4.0-54-generic     recovery 模式
	Linux 5.4.0-42-generic  非 recovery 模式
	Linux 5.4.0-42-generic     recovery 模式
	knetbsd /boot/memtest86+.elf
	linux16 /boot/memtest86+.bin console=ttyS0,115200n8


init 系统
	systemd 245 (245.4-4ubuntu3.2)


pop@mmt:~$ echo $XDG_SESSION_TYPE
x11
user@mmt:~$ echo $DESKTOP_SESSION
ubuntu-wayland

X 系统
	Xorg X server
	2:1.20.8-2ubuntu2.2
	

X 系统(可选) 
	Xwayland
	2:1.20.8-2ubuntu2.2


包管理方式
	ii  apt                                        2.0.2ubuntu0.1                      amd64        commandline package manager


默认桌面
	gnome


user@mmt:~$ gnome-shell --version
GNOME Shell 3.36.4

  • deepos
https://www.deepin.org/zh/


pop@pop-PC:~/work$ uname -a
Linux pop-PC 5.3.0-3-amd64 #1 SMP deepin 5.3.15-6apricot (2020-04-13) x86_64 GNU/Linux
pop@pop-PC:~/work$ lsb_release  -a
No LSB modules are available.
Distributor ID: Deepin
Description:    Deepin 20 Beta
Release:        20 Beta
Codename:       n/a

pop@pop-PC:~/work$ cat /etc/os-release 
PRETTY_NAME="Deepin 20 Beta"
NAME="Deepin"
VERSION_ID="20 Beta"
VERSION="20 Beta"
ID=Deepin
HOME_URL="https://www.deepin.com/"
BUG_REPORT_URL="https://bbs.deepin.org/"



1619 个软件包


BIOS

grub2       2.02.9.1


6个入口
	vmlinuz-5.3.0-3-amd64  非 recovery 模式,并且用 /dev/sda5 做 文件系统的分区
	vmlinuz-5.3.0-3-amd64     recovery 模式, 并且用 /dev/sda5 做 文件系统的分区
	deepin_ab_recovery /deepin-ab-recovery/vmlinuz-5.3.0-3-amd64 , 并且用 /dev/sda6 做 文件系统的分区





init 系统
	systemd                                       241.5




X 系统
	Xorg X server
	Version: 2:1.20.4.2-1+deepin
	


包管理方式
	ii  dpkg                                          1.19.7                              amd64        Debian package management system
	ii  apt                                           1.8.2+deepin-1+deepin               amd64        commandline package manager


默认桌面
	dde


Slackware系列
  • Opensuse

https://software.opensuse.org/distributions/leap




安装的时候可选装
	KDE
	gnome
	无桌面


localhost:/etc/init.d # chkconfig  sshd on 
Created symlink /etc/systemd/system/multi-user.target.wants/sshd.service → /usr/lib/systemd/system/sshd.service.


systemctl  stop  firewalld
systemctl  disable  firewalld

pop@localhost:~> uname -a
Linux localhost.localdomain 5.3.18-lp152.19-default #1 SMP Tue Jun 9 20:59:24 UTC 2020 (960cb00) x86_64 x86_64 x86_64 GNU/Linux
pop@localhost:~> cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.2"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.2"
PRETTY_NAME="openSUSE Leap 15.2"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"






2235 个软件包


BIOS

grub2 2.04


2个入口
	vmlinuz-5.3.18-lp152.19-default  非 recovery 模式
	vmlinuz-5.3.18-lp152.19-default  	recovery 模式


init 系统
	systemd 234



X 系统
	xorg-x11-server-wayland-1.20.3-lp152.7.2.x86_64
	

X 系统(可选) 
	xorg-x11-server-1.20.3-lp152.7.2.x86_64


包管理方式
	zypper-1.14.36-lp152.1.3.x86_64
	rpm-4.14.1-lp152.17.5.x86_64


默认桌面
	gnome

	pop@localhost:~/work> gnome-shell --version
	GNOME Shell 3.34.4
Redhat系列
  • Centos
https://mirrors.aliyun.com/centos/8.2.2004/isos/x86_64/



[pop@localhost ~]$ uname -a            
Linux localhost.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[pop@localhost ~]$ cat /etc/os-release 
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

[pop@localhost ~]$ 



1332 个软件包


BIOS


grub2 

Version     : 2.02

[pop@localhost work]$ cat all.txt | grep grub
grub2-tools-extra-2.02-81.el8.x86_64
grub2-common-2.02-81.el8.noarch
grubby-8.40-38.el8.x86_64
grub2-pc-modules-2.02-81.el8.noarch
grub2-pc-2.02-81.el8.x86_64
grub2-tools-2.02-81.el8.x86_64
grub2-tools-minimal-2.02-81.el8.x86_64


2个入口 // 注意 : grub2 的 默认配置文件换了位置
	引导条目配置文件位于/boot/loader/entries/
		7185b46988dc43ad8ea47e01de3ad451-0-rescue.conf
			vmlinuz-0-rescue-7185b46988dc43ad8ea47e01de3ad451
		7185b46988dc43ad8ea47e01de3ad451-4.18.0-193.el8.x86_64.conf
			vmlinuz-4.18.0-193.el8.x86_64


init 系统
	systemd-239


X 系统
	xorg-x11-server-Xwayland
	1.20.6

X 系统(可选)
	xorg-x11-server-Xorg
	1.20.6
	




包管理方式
	yum-4.2.17
	dnf-4.2.17


默认桌面
	gnome
	[pop@localhost ~]$ gnome-shell --version
	GNOME Shell 3.32.2
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值