Niektoré distribúcie ho už majú:
Ako pracuje:
Syntax:
lsb_release -parameter:
napr:
lsb_release - d
root@guliverkel:/home/martin# lsb_release -d
Description: Debian GNU/Linux 9.11 (stretch)
root@guliverkel:/home/martin# lsb_release -r
Release: 9.11

root@guliverkel:/home/martin# lsb_release -c
Codename: stretch
(distribúcie Debianu majú meno po postavičkách Toy Story)

root@guliverkel:/home/martin# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch
a= all
na záver:
Ako ich nainštalovať?
Ubuntu, Debian, Linux Mint
apt-get install lsb-core
CentOS, RHEL, Oracle Linux
yum install redhat-lsb-core
Fedora, RHEL8, CentOS8
dnf install redhat-lsb-core
SUSE
zypper install lsb-core
Žiadne komentáre:
Zverejnenie komentára