What are lsb modules? And why do I need to install them?
5,823
After trying lsb_release -cdir and seeing that it worked, I just set it up as an alias with
alias lsb_release='lsb_release -cdir'
I'm running Ubuntu 18.04, so doing this made sense for me.
Related videos on Youtube
Author by
Brijesh
Updated on September 18, 2022Comments
-
Brijesh almost 2 years
When I used the command lsb_release, System threw an error that "No lsb modules are available". So what are they and why to install them to get my system info(through command lsb_release)?
-
Vijay over 5 yearsSee the bug.
-
mikewhatever over 5 yearsWho say you "need to install them"?
-
AlexP over 5 yearsUse
lsb_release -cdir
. Plainlsb_release
is not supposed to work on Ubuntu. -
Rinzwind over 5 years
-
Brijesh over 5 yearsThanks @VeeJay. I got why it is showing the error. But I didn't get what are these modules!
-
Brijesh over 5 years@mikewhatever in the below link, one suggests to install for removing the error. askubuntu.com/questions/230766/…
-
Brijesh over 5 yearsThanks @AlexP. This command worked. However, in the link provided by VeeJay I saw "lsb_release -a" also worked(but it showed the error too with the required result).
-