Skip to content

Linux lsb release Guide

Mattscreative edited this page Dec 5, 2025 · 2 revisions

Linux lsb-release Guide

Complete beginner-friendly guide to lsb-release on Linux, covering Arch Linux, CachyOS, and other distributions including distribution information, release details, and system identification.


Table of Contents

  1. lsb-release Installation
  2. lsb-release Basics
  3. Distribution Information
  4. Release Details
  5. Troubleshooting

lsb-release Installation

Install lsb-release

Arch/CachyOS:

# Install lsb-release
sudo pacman -S lsb-release

Debian/Ubuntu:

sudo apt install lsb-release

Fedora:

sudo dnf install redhat-lsb-core

lsb-release Basics

Distribution Information

Basic usage:

# Show distribution information
lsb_release -a

# -a = all (shows all information)

Short Description

Brief info:

# Short description
lsb_release -d

# -d = description (distribution description)

Distribution Information

Distribution ID

Distro name:

# Distribution ID
lsb_release -i

# -i = id (distribution identifier)

Release Number

Version:

# Release number
lsb_release -r

# -r = release (release number)

Release Details

Codename

Release codename:

# Codename
lsb_release -c

# -c = codename (release codename)

All Information

Complete details:

# All information
lsb_release -a

# Shows:
# - Distributor ID
# - Description
# - Release
# - Codename

Troubleshooting

lsb-release Not Found

Check installation:

# Check lsb-release
which lsb_release

# Install if missing
sudo pacman -S lsb-release

Summary

This guide covered lsb-release usage, distribution information, and release details for Arch Linux, CachyOS, and other distributions.


Next Steps


This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.

Clone this wiki locally