查看版本命令
查看内核命令
cat /proc/version #方法1
uname -a #方法2
查看Linux系统版本的命令
lsb_release -a #LSB是Linux Standard Base的缩写
cat /etc/redhat-release #该方法只适合Redhat系的Linux系统。
cat /etc/issue
版本名称对照
Armbian_20.05.2_Orangepilite_bullseye_current_5.4.43.img
Bionic = Ubuntu Bionic 18.04 (LTS)
Disco = Ubuntu Disco 19.04, no end-user support
Focal = Ubuntu Focal 20.04, no end-user support
Stretch = Debian Stretch (oldstable),limited support
Buster = Debian Buster (stable)
Bullseye = Debian Bullseye, no end-user support
legacy = initial stable or the only kernel
current = builds with best possible support
dev = development kernels, no end-user support
nightly = automated untested builds, no end-user support
minimal = lean image with bare minium, without Python
desktop = comes with a lean XFCE based desktop
archive = old builds, no end-user support
Orangepilite 开发板型号
ubuntu20.04对应的是“focal”,“eoan”代表ubuntu19.10,“xenial”代表ubuntu16.04,“bionic”代表ubuntu18.04,“disco”代表ubuntu19.04
Ubuntu 14.04 LTS Trusty
查看版本 lsb_release -c
补充:
4.10 Warty Warthog(长疣的疣猪)
5.04 Hoary Hedgehog(灰白的刺猬)
5.10 Breezy Badger(活泼的獾)
6.06(LTS) Dapper Drake(整洁的公鸭)
6.10 Edgy Eft(急躁的水蜥)
7.04 Feisty Fawn(坏脾气的小鹿)
7.10 Gutsy Gibbon(勇敢的长臂猿)
8.04(LTS) Hardy Heron(耐寒的苍鹭)
8.10 Intrepid Ibex (勇敢的野山羊)
9.04 Jaunty Jackalope(得意洋洋的怀俄明野兔)
9.10 Karmic Koala(幸运的考拉)
10.04(LTS) Lucid Lynx(清醒的猞猁)
10.10 Oneiric Ocelot(梦幻的豹猫)
11.04 Natty Narwhal(敏捷的独角鲸)
11.10 Oneiric Ocelot(有梦的虎猫)
12.04(LTS) Precise Pangolin(精准的穿山甲)
12.10 Quantal Quetzal(量子的绿咬鹃)
13.04 Raring Ringtail(铆足了劲的猫熊)
13.10 Saucy Salamander(活泼的蝾螈)
14.04(LTS) Trusty Tahr (可靠的塔尔羊)(LTS)
14.10 Utopic Unicorn(乌托邦独角兽)
15.04 Vivid Vervet (活泼的小猴)
15.10 Wily Werewolf (狡猾的狼人)
16.04(LTS) Xenial Xerus (好客的非洲地松鼠)
16.10 Yakkety Yak(牦牛)
17.04 Zesty Zapus(开心的跳鼠)
17.10 Artful Aardvark(机灵的土豚)
18.04(LTS) Bionic Beaver(仿生海狸)
18.10 Cosmic Cuttlefish(宇宙墨鱼)
19.04 Disco Dingo(舞动的灵犬)
19.10 Eoan Ermine(白貂)
20.04(LTS) Focal Fossa(专注的马达加斯加长尾狸猫)