ebian查看版本名称
DebianisoldandmatureLinuxdistribution.Debianusesversionsinordertodistinguish.InthistutorialwewilllearnandlistDebianReleasesandNames.
Debian是古老而成熟Linux发行版。Debian使用版本来区分。在本教程中,我们将学习并列出Debian版本和名称。
版本名称(VersionNames)
Debianprovidesdifferentreleasesasversions.Thereareversion,codename.
Debian提供了不同的发行版本。有版本,代号。
VersionisthenumericalpresentationoftheDebianrelease.
Version是Debian版本的数字表示。
CodeNameisthenameofthereleasewhichismorehumanfriendly.ThiscodenamesarechosenfromthemovienamedToyStory.
CodeName是更人性化的版本名称。此代号选自电影《ToyStory。
不稳定,测试稳定(Unstable,Testing,Stable)
Aspackagesofdebianisdevelopedbydifferentpartiesinanarchicalmannertheyarenotalwaysstableasexpected.Debianuses3phasetospecifythepackagestability.
由于debian软件包是由不同方以无政府方式开发的,因此它们并不总是如预期那样稳定。Debian使用3个阶段来指定软件包的稳定性。
Unstableisthefirstphasewherepackageenterstothedebianecosystem.Thisisunstableasitnamed.
Unstable是软件包进入debian生态系统的第一阶段。正如它的名字那样,这是不稳定的。
Testingissecondphaseandprovidesmorestability.Testingcanbeusedformostofthecases.
Testing是第二阶段,提供了更高的稳定性。测试可用于大多数情况。
Stableisarock.Itcanworkwithoutanyproblemandusedforproductionsystems.Onedisadvantageofstableispackagesaregenerallyoutdated.
Stable是一块石头。它可以正常工作,并用于生产系统。稳定的一个缺点是包装通常已经过时。
发布清单(ReleaseList)
HereisthereleaselistwhichprovidesinformationlikeVersion,CodeName,ReleaseDataandToyStoryCharacter.
以下是发布列表,其中提供了诸如Version,CodeName,ReleaseData和ToyStoryCharacter。
检查Debian发行版本和代码名称(CheckDebianReleaseVersionandCodeName)
WemaywanttocheckourcurrentDebiansystemreleaseversionandcodename.theeasiestandmostcompatiblewayisprintingthe/etc/lsb-releasefilewhichprovidesdetailedinformationlike
我们可能要检查我们当前的Debian系统发行版本和代码名称。最简单,最兼容的方法是打印/etc/lsb-release文件,该文件提供详细信息,例如
DISTRIB_IDfordistributionsnamewhichisDebian
DISTRIB_ID版名称为Debian的DISTRIB_ID
DISTRIB_RELEASEforversion
DISTRIB_RELEASE为DISTRIB_RELEASE
DISTRIB_CODENAMEforcodenameinhumancompatibleformat
DISTRIB_CODENAME用于人为兼容格式的代码名称
$cat/etc/lsb-release
原文链接:https://blog.csdn.net/cunjiu9486/article/details/109076490