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.

Share:
5,823

Related videos on Youtube

Brijesh
Author by

Brijesh

Updated on September 18, 2022

Comments

  • Brijesh
    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
      Vijay over 5 years
      See the bug.
    • mikewhatever
      mikewhatever over 5 years
      Who say you "need to install them"?
    • AlexP
      AlexP over 5 years
      Use lsb_release -cdir. Plain lsb_release is not supposed to work on Ubuntu.
    • Rinzwind
      Rinzwind over 5 years
    • Brijesh
      Brijesh over 5 years
      Thanks @VeeJay. I got why it is showing the error. But I didn't get what are these modules!
    • Brijesh
      Brijesh over 5 years
      @mikewhatever in the below link, one suggests to install for removing the error. askubuntu.com/questions/230766/…
    • Brijesh
      Brijesh over 5 years
      Thanks @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).