pydoc > lsb_release

๐Ÿ“› NAME

lsb_release

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Get distribution informationget_distro_information()Returns a tuple with distributor ID, description, release, and codename
Guess Debian release from apt sourcesguess_release_from_apt()Determines the release based on APT repository configuration
Look up codename for a releaselookup_codename('11')Maps a release number to its codename (e.g., 'bullseye')
Compare two releasescompare_release('11', '10')Compares two Debian release identifiers
Check if LSB modules are installedcheck_modules_installed()Verifies that required LSB packages are present (Debianโ€‘specific)

๐Ÿ“ DESCRIPTION

# LSB release detection module for Debian

# (C) 2005-10 Chris Lawrence <lawrencc AT debian.org>

# (C) 2018 Didier Raboud <odyx AT debian.org>

๐Ÿ”ง FUNCTIONS

๐Ÿ“Š DATA

๐Ÿ“ FILE

/usr/lib/python3/dist-packages/lsb_release.py

lsb_release
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“ DESCRIPTION ๐Ÿ”ง FUNCTIONS ๐Ÿ“Š DATA ๐Ÿ“ FILE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 16:24 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format