Hello to all. I’ve been trying out different commands in the terminal to figure out which version of Lubuntu I have. I’ve been using this command:
And this is what I got back:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
I’ve also tried:
As well as many more that I can’t even remember. But it does not refer to Lunbuntu or the release. I guess that I have:
Lubuntu 22.04.3 LTS? I this correct? I have tried so many different commands and the thing that surprises me the most is that Lubuntu refuses to admit that it is Lubuntu! It doesn’t even show it in the Discover Software application/package manger or whatever it’s called.
Here is my question in a nutshell. Is there any terminal command I can use, as a universal tool for all distibutions, that will tell me the exact distribution and flavor/flavour?
Any help I receive would be very much appriciated. Cheers!
Written: Sep 07, 2023, 07:40:11
Your release is Lubuntu 22.04 LTS, and your codename jammy, as you worked out.
A simple tool included by default on recent releases of Lubuntu is
neofetch which provides a fair amount of system detail, for mine it’ll show
guiverc@d7050-next:~$ neofetch --off
OS: Lubuntu Mantic Minotaur (development branch) x86_64
Host: OptiPlex 7050
Uptime: 2 days, 32 mins
Packages: 3207 (dpkg), 11 (snap)
Shell: bash 5.2.15
Resolution: 1920x1080, 1920x1080, 1920x1080, 1280x1024, 1280x1024
DE: LXQt 1.3.0
WM Theme: Pills
Theme: Greybird [GTK2/3]
Icons: oxygen [GTK2/3]
Terminal Font: IBM Plex Mono Text 14
CPU: Intel i5-6500 (4) @ 3.600GHz
GPU: AMD ATI Radeon HD 5000/6000/7350/8350 Series
GPU: Intel HD Graphics 530
Memory: 9289MiB / 15842MiB
I used the
--off option so I didn’t get the default graphic logo.
Lubuntu is a Ubuntu system, using the Ubuntu base packages, thus some tools will identify themselves as [running] Ubuntu; your installation media can be viewed on a Ubuntu system via installer logs (see
/var/log/installer/media-info), but that is not universal.
No there isn’t one. If using Ubuntu, commands will be consistent for those systems, and very similar to Debian too, being its part of the same ‘stream’, but what packages & locations will differ if moving further afield (OpenSuSE, Fedora etc) though some will contain the same detail with minor differences (sorry I’m not going to turn on another system to provide evidence). If you move across to BSD; expect more differences.
Many of those differences are hard coded into tools like
neofetch which allows easy comparison, but even it will have problems as details (locations & assumptions in the code) change over time, and the hardcoded nature of
neofetch can be incorrect or outdated (thus misleading). I still feel it’s a useful tool (just don’t take it as gospel).
Guiverc, many thanks! This is just what I needed. This is the only program (I have found, no, you found) that will tell me the “flavor” and other very helpful things. Many thanks for your help.
I would have responded sooner but my Lubuntu computer had a major upset. It seems that I accidently removed the taskbar when I was trying to uninstal some “widgets” and couldn’t get it back.
If you made a change to a panel, and it disappeared, a logout & login again should cause it to restart.
I tried that and it did work. It did say that this couldn’t be undone but I thought I was clicking on one thing and it ended up being another.
You knew already how to get the version:
The following command line can detect the installed desktop program packages (meta packages) in Ubuntu family flavours.
LANG=C apt-cache policy *-desktop|grep -B1 'Installed: [^(]'
[^(] is to avoid listing the desktop packages that are available but not installed “Installed: (none)”.
If you have Lubuntu, the package
lubuntu-desktop should be listed.
If you want to know more details about your installed system (for example for debugging), you can install and run the Ubuntu Forum’s system-info script.
Thanks for the reply Sudodus, I haven’t been here in a few weeks. I still prefer “NeoFetch” because it has more information than any terminal command I’ve found. Cheers!
Copy and paste this command into the terminal and then enter your password.
sudo lshw > lshw.txt
When completed look in your home folder for a file listed as lshw.txt.
The command below displays the same information although leaves out the personal information that doesn’t need to be displayed for everyone to see.
sudo lshw -sanitize > lshw.txt
These commands will tell you everything about your computer and than some.