inaabi / Guides / Check whether this server is Ubuntu 22.04 x86_64
Check whether this server is Ubuntu 22.04 x86_64
Two read-only commands show the Ubuntu release and the CPU architecture, which is what decides whether Inaabi supports the machine today.
Tested on Ubuntu 22.04.5 LTS, amd64, 2026-12-04.
Inaabi is supported on Ubuntu 22.04 x86_64 only; 24.04 support is in progress.
These commands only read files. They do not install anything and they do not change the server.
Read the release file
Ubuntu writes the release into /etc/os-release. The line that matters is VERSION_ID.
. /etc/os-release
printf 'VERSION_ID=%s\n' "$VERSION_ID"
On the Ubuntu 22.04.5 LTS machine used for the test on 2026-12-04, that printed:
VERSION_ID=22.04
Your server prints its own release. A 22.04.1 or 22.04.5 image still has VERSION_ID=22.04.
Read the architecture
dpkg --print-architecture
On that same test machine, the command printed:
amd64
amd64 is the name Ubuntu uses for a 64-bit x86 processor. That is the x86_64 Inaabi supports.
Decide if Inaabi supports it
Use both answers together.
VERSION_ID=22.04andamd64: this is the release Inaabi supports today.VERSION_ID=24.04: 24.04 support is in progress. Inaabi does not run there yet.- Other distributions are not supported yet.
- Any other release or architecture: not the supported combination.
Questions
Does a newer 22.04 point release still count?
Yes, when VERSION_ID is 22.04. The test machine was 22.04.5 LTS and printed 22.04.
Does Ubuntu 24.04 count?
No. 24.04 support is in progress.
Will these commands change the server?
No. One reads /etc/os-release. The other asks dpkg for the architecture name.