linux:debian:check-debian-version
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:debian:check-debian-version [2026/09/04 07:44] – [32 or 64 Architecture] oscar | linux:debian:check-debian-version [2026/09/04 07:58] (current) – oscar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Check Debian Version | + | ====== Check Architecture & Distribution |
| ---- | ---- | ||
| This guide explains several ways to check your Debian version from the command line. | This guide explains several ways to check your Debian version from the command line. | ||
| ===== 32 or 64 Architecture ===== | ===== 32 or 64 Architecture ===== | ||
| To check if system is running a 32 (Raspberry) or 64 (X86) architecture, | To check if system is running a 32 (Raspberry) or 64 (X86) architecture, | ||
| + | < | ||
| + | # dpkg --print-architecture | ||
| + | ------------------------- | ||
| + | armhf | ||
| + | </ | ||
| < | < | ||
| # getconf LONG_BIT | # getconf LONG_BIT | ||
| ------------------ | ------------------ | ||
| 32 | 32 | ||
| - | + | </ | |
| - | + | < | |
| - | file / | + | # file / |
| ------------------------- | ------------------------- | ||
| / | / | ||
| </ | </ | ||
| - | |||
| - | dpkg --print-architecture | ||
| - | ------------------------- | ||
| - | armhf | ||
| ===== Distribution & Version ===== | ===== Distribution & Version ===== | ||
| Use one of the following commands to verify the distribution and version: | Use one of the following commands to verify the distribution and version: | ||
linux/debian/check-debian-version.1788507899.txt.gz · Last modified: by oscar
