记录我的一些生活写照、无聊的牢骚、内心世界的活动 注册 | 登陆

Ubuntu 和 Debian 之间的版本关系

Ubuntu 和 Debian 之间的版本关系
查看方法
在Ubuntu或Debian系统上查看系统版本,可以使用以下几种方法:
1. 使用 lsb_release 命令
XML/HTML代码
  1. lsb_release -a
2. 查看 /etc/os-release 文件
XML/HTML代码
  1. cat /etc/os-release
3. 查看 /etc/issue 文件
XML/HTML代码
  1. cat /etc/issue
  2. #或者
  3. cat /etc/issue.net
4. 查看 /etc/debian_version
XML/HTML代码
  1. cat /etc/debian_version
5. 使用 hostnamectl 命令
XML/HTML代码
  1. hostnamectl
这几种方法都可以获取Ubuntu或Debian的版本信息,你可以选择适合你的方式。
版本关系
XML/HTML代码
  1. Ubuntu Version  Ubuntu Codename  /etc/debian_version Debian Version  
  2. 24.04 LTS       Noble Numbat      trixie/sid              13
  3. 23.10           Mantic Minotaur   trixie/sid              13
  4. 23.04           Lunar Lobster     bookworm/sid            12
  5. 22.10           Kinetic Kudu      bookworm/sid            12
  6. 22.04 LTS       Jammy Jellyfish   bookworm/sid            12
  7. 21.10           Impish Indri      bullseye/sid            11
  8. 21.04           Hirsute Hippo     bullseye/sid            11
  9. 20.10           Groovy Gorilla    bullseye/sid            11
  10. 20.04 LTS       Focal Fossa       bullseye/sid            11
  11. 19.10           Eoan Ermine       buster/sid              10
  12. 19.04           Disco Dingo       buster/sid              10
  13. 18.10           Cosmic Cuttlefish buster/sid              10
  14. 18.04 LTS       Bionic Beaver     buster/sid              10
  15. 17.10           Artful Aardvark   stretch/sid              9
  16. 17.04           Zesty Zapus       stretch/sid              9
  17. 16.10           Yakkety Yak       stretch/sid              9
  18. 16.04 LTS       Xenial Xerus      stretch/sid              9
  19. 15.10           Wily Werewolf     jessie/sid               8
  20. 15.04           Vivid Vervet      jessie/sid               8
  21. 14.10           Utopic Unicorn    jessie/sid               8
  22. 14.04 LTS       Trusty Tahr       jessie/sid               8
  23. 13.10           Saucy Salamander  wheezy/sid               7
  24. 13.04           Raring Ringtail   wheezy/sid               7
  25. 12.10           Quantal Quetzal   wheezy/sid               7
  26. 12.04 LTS       Precise Pangolin  wheezy/sid               7
  27. 11.10           Oneiric Ocelot    wheezy/sid               7
  28. 11.04           Natty Narwhal     squeeze/sid              6
  29. 10.10           Maverick Meerkat  squeeze/sid              6
  30. 10.04 LTS       Lucid Lynx        squeeze/sid              6
Ubuntu各个版本支持周期
XML/HTML代码
  1. Released                    End of Standard Support End of Ubuntu Pro Support End of Legacy Support End of Legacy Support
  2. 24.10 (Oracular Oriole)     Oct 2024                Jul 2025
  3. 24.04 LTS (Noble Numbat)    Apr 2024                Apr 2029                  Apr 2034               Apr 2036
  4. 22.04 LTS (Jammy Jellyfish) Apr 2022                Apr 2027                  Apr 2032               Apr 2034
  5. 20.04 LTS (Focal Fossa)     Apr 2020                May 2025                  Apr 2030               Apr 2032
  6. 18.04 LTS (Bionic Beaver)   Apr 2018                May 2023                  Apr 2028               Apr 2030
  7. 16.04 LTS (Xenial Xerus)    Apr 2016                Apr 2021                  Apr 2026               Apr 2028
  8. 14.04 LTS (Trusty Tahr)     Apr 2014                Apr 2019                  Apr 2024               Apr 2026
Debian各个版本支持周期
XML/HTML代码
  1. LTS schedule (last updated: August 14th, 2024)
  2. 版本                    支持构架                             支持期
  3. 到期LTS版本
  4. Debian 6  “Squeeze”     i386 and amd64                       2nd June 2014 to 29th of February 2016
  5. Debian 7  “Wheezy”      i386, amd64, armel and armhf         26th April 2016 to 31st May 2018
  6. Debian 8  “Jessie”      i386, amd64, armel and armhf         17th June 2018 to June 30, 2020
  7. Debian 9  “Stretch”     i386, amd64, armel, armhf and arm64  July 6, 2020 to June 30, 2022
  8. Debian 10  “Buster”     i386, amd64, armhf and arm64         August 1st, 2022 to June 30th, 2024
  9. 当期LTS版本
  10. Debian 11  “Bullseye”   i386, amd64, armhf and arm64         August 15th, 2024 to August 31st, 2026
  11. 未来LTS版本
  12. Debian 12  “Bookworm”   i386, amd64, armhf and arm64         June 11th, 2026 to June 30th, 2028
Debian稳定版本提供3年的完整支持和额外2年的LTS支持。LTS由志愿者团队维护,而ELTS是商业服务,由Freexian管理,可将支持延长至10年。稳定版本的生命周期结束日期通常是在下一个版本发布后的一年。也就是上面支持到期后还有5年的支持期。
总结:通过对比可以发现Ubuntu和Debian的版本对应关系对应,Ubuntu的偶数04版本对应Debian稳定版,是长期支持版本,支持周期和Debian的支持周期几乎一样。奇数版本为不稳定版本,如果做服务器或者长期使用,Debian任意版本都可以,尽可能采用新版本,支持周期长,Ubuntu采用22.04,24.04等长期支持版本,稳定并且支持周期长。

« 上一篇 | 下一篇 »

发表评论

评论内容 (必填):