lsb-release
LSB release detection module for Debian
LSB release detection module for Debian
To install this package, run one of the following:
This conda package provides the lsb_release command for Debian-based Linux
distributions such as Debian and Ubuntu. It provides a simple command-line interface
for accessing metadata about the installed Linux distribution.
Installation instructions for many Linux programs rely on the lsb_release command
to detect the release number and/or codename of the installed Linux distribution.
For example, as of the time of writing,
PostgreSQL uses
the lsb_release -cs command to detect the proper codename for the apt repository.
The Debian-based
lsb-release package
unfortunately depends on a system-wide installation of python3. This conda
package avoids the need for a system-wide installation of python3 when a conda
environment is already available. The distribution-specific data is comes from
a tiny system package named
distro-info-data,
which can be installed with apt-get install -y distro-info-data.
Bash:
sudo apt-get install -y distro-info-data
mamba install -y lsb-release
lsb_release -a
(Substitute conda for mamba above in case you use that instead.)
Docker:
FROM condaforge/mambaforge:4.10.1-0
RUN : \
&& apt-get update \
&& apt-get install -y distro-info-data \
&& rm -rf /var/lib/apt/lists/* \
&& mamba install -y lsb-release \
&& conda clean -afy \
;
RUN lsb_release -a
Summary
LSB release detection module for Debian
Last Updated
Jun 26, 2021 at 09:54
License
GPL-2.0-only
Supported Platforms
GitHub Repository
https://salsa.debian.org/debian/lsb