You are not logged in.

#1 2022-12-02 03:28:50

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

[SOLVED] How to check release version

How do I check the Arch Release version (e.g., 2022.12.01) I am on?

I found I can get the kernel version with:

uname -srm

Last edited by ThinkPad (2022-12-02 18:57:42)

Offline

#2 2022-12-02 03:32:13

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,677

Re: [SOLVED] How to check release version

As soon as you install it and do the initial pacman update, the Arch Release you used to install from is meaningless

Offline

#3 2022-12-02 04:08:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How to check release version

┌─[Centurion ~]
└─╼ head -n1 /var/log/pacman.log 
[2018-04-27 08:57] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg --noconfirm base base-devel tmux neovim'

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2022-12-02 04:38:59

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED] How to check release version

$ cat /etc/os-release 
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-12-02 11:27:52

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 714

Re: [SOLVED] How to check release version

If you're asking how to get the version from the live environment, then there's a /version file and the IMAGE_VERSION value in /etc/os-release.

root@archiso ~ # cat /version
2022.12.01
root@archiso ~ # cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
IMAGE_ID=archlinux
IMAGE_VERSION=2022.12.01

Offline

#6 2022-12-02 18:56:31

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

Re: [SOLVED] How to check release version

Ah, I guess that was my misunderstanding.

My takeaway is the release is only relevant for the installation media, and can be found in that live environment with:

cat /version
cat /etc/os-release

Marking as solved.

Last edited by ThinkPad (2022-12-02 18:57:25)

Offline

Board footer

Powered by FluxBB