lsb_release command not found

Linux裏的lsb_release命令用來查看當前系統的發行版信 息(prints certain LSB (Linux Standard Base) and Distribution information.)。有了這個命令就能夠清楚的知道究竟是RedHat的、仍是別的發行版,還有具體的版本號,好比3.4仍是5.4等等。有些系 統上不必定安裝了這個命令,能夠經過查看/etc/issue文件獲得發行版信息。linux

 

這裏咱們使用yum 來安裝,可是首先咱們得知道lsb_release 命令屬於哪一個軟件包ide

yum provides */lsb_releaseorm

 

找出來後咱們安裝使用它htm

# yum -y install redhat-lsb*get

 

原文章:it

https://www.linuxidc.com/Linux/2017-05/143937.htmio

相關文章
相關標籤/搜索