当前位置: 首页>>技术教程>>正文


versions – `lsb` 在“lsb_release”中代表什么?

,

问题描述

我可以通过 lsb_release -a 获取 Ubuntu 版本。\n为了记住这个命令,我想知道 lsb 代表什么?

我找到了“Linux Standard Base”here。这是正确的吗?

最佳方案

是的,确实如此,请参阅 Wikipedia

LSB=Linux Standard Base 

次佳方案

与大多数命令一样,手册通常会提供帮助:

$ man lsb_release

\\n

\\n

DESCRIPTION

\\n

The lsb_release command provides certain LSB (Linux Standard Base) and distribution-specific information.

\\n

\\n

SEE ALSO

\\n

    lsb(8)\\n

\\n

这导致:

$ man lsb

\\n

NAME

\\n

  lsb - Linux Standard Base support for Debian\\n

\\n

DESCRIPTION

\\n

The lsb package provides infrastructure for installing Linux Standard Base applications on Debian. This manual page is designed to refer system adminstrators and others to the documentation available.

\\n

The Linux Standard Base is a common runtime environment for third-party packages. The goal of the LSB is to make it easy to create binary packages that will run on any Linux distribution. For more information on the standard, please see the LSB web site.

\\n

SEE ALSO

\\n

  /usr/share/doc/lsb-core/README.Debian http://www.linuxbase.org/\\n

\\n

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/14281.html,未经允许,请勿转载。