Linux mint version check

Как узнать версию Linux Mint

Linux Mint — это дистрибутив Linux, основанный на Ubuntu. Иногда возникает необходимость узнать, какую же версию Linux Mint вы используете на компьютере. Это может понадобиться для установки специфических программ или корректного обновления.

В основном здесь работают те же способы, что и в Ubuntu, но некоторые из них показывают неточную информацию — только версию дистрибутива Ubuntu, на котором основана система. Да, это поможет приблизительно определить с какой системой мы имеем дело. Например, мы знаем что Linux Mint 17 основан на Ubuntu 14.04, если нам нужна точная версия, то пригодны далеко не все методы.

В этой статье мы рассмотрим как узнать версию Linux Mint. Причем не Ubuntu, на которой основана система, а именно версия linux mint.

Графический способ

Как и в других дистрибутивах, в Linux Mint есть утилита справки. Здесь можно определить мажорную версию Linux Mint. Открыть ее можно из главного меню:

linuxmint2

Выглядит утилита справки вот так:

linuxmint1

Как узнать версию Linux Mint в терминале

Inxi — удобная утилита для сбора информации о системе, предустановленная в Linux MInt. Среди всего прочего позволяет узнать версию linux mint. Для этого используйте ключ -S:

linuxmint3

С помощью опции -F можно посмотреть всю доступную информацию о системе:

linuxmint4

Узнать версию mint можно также в файле /etc/lsb_release:

linuxmint5

А также /etc/issue, если вы там ничего не изменяли. Потому что по умолчанию в этом файле хранится приветствие, выводимое при подключении по ssh:

linuxmint6

Вот и все, теперь у вас не возникнет проблем с тем, как узнать версию Linux Mint. Знаете еще способы? Напишите в комментариях!

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Похожие записи

Оцените статью

Об авторе

Основатель и администратор сайта losst.ru, увлекаюсь открытым программным обеспечением и операционной системой Linux. В качестве основной ОС сейчас использую Ubuntu. Кроме Linux, интересуюсь всем, что связано с информационными технологиями и современной наукой.

4 комментария к “Как узнать версию Linux Mint”

Я у себя на manjaro проверил. inxi -F
System: Host: user-pc Kernel: 4.4.0-4-MANJARO i686 (32 bit)
Desktop: Xfce 4.12.3 Distro: ManjaroLinux 15.12 Capella
Machine: Mobo: Dell model: CN0Y53 v: A06 Bios: Dell v: A06 date: 07/29/2009
CPU: Single core Intel Atom N270 (-HT-) cache: 512 KB
clock speeds: max: 1600 MHz 1: 1333 MHz 2: 800 MHz
Graphics: Card: Intel Mobile 945GSE Express Integrated Graphics Controller
Display Server: X.Org 1.17.4 driver: intel
Resolution: 1024×600@60.01hz
GLX Renderer: Mesa DRI Intel 945GME x86/MMX/SSE2
GLX Version: 2.1 Mesa 11.1.1
Audio: Card Intel NM10/ICH7 Family High Definition Audio Controller
driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-4-MANJARO
Network: Card-1: Broadcom BCM4312 802.11b/g LP-PHY driver: wl
IF: wlp3s0 state: up mac: c4:17:fe:45:ba:ef
Card-2: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
driver: r8169
IF: enp4s0 state: down mac: 00:26:b9:a1:c4:bf
Drives: HDD Total Size: 160.0GB (10.7% used)
ID-1: /dev/sda model: WDC_WD1600BEVT size: 160.0GB
Partition: ID-1: / size: 34G used: 5.2G (17%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 110G used: 8.5G (9%) fs: ext4 dev: /dev/sda4
ID-3: /tmp size: 1.1G used: 1.5M (1%) fs: ext4 dev: /dev/sda3
ID-4: swap-1 size: 2.76GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
Sensors: System Temperatures: cpu: 47.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 133 Uptime: 18 min Memory: 562.2/2009.7MB
Client: Shell (bash) inxi: 2.2.32
[user@user-pc ~]$
inxi -F
System: Host: user-pc Kernel: 4.4.0-4-MANJARO i686 (32 bit)
Desktop: Xfce 4.12.3 Distro: ManjaroLinux 15.12 Capella
Machine: Mobo: Dell model: CN0Y53 v: A06 Bios: Dell v: A06 date: 07/29/2009
CPU: Single core Intel Atom N270 (-HT-) cache: 512 KB
clock speeds: max: 1600 MHz 1: 1333 MHz 2: 800 MHz
Graphics: Card: Intel Mobile 945GSE Express Integrated Graphics Controller
Display Server: X.Org 1.17.4 driver: intel
Resolution: 1024×600@60.01hz
GLX Renderer: Mesa DRI Intel 945GME x86/MMX/SSE2
GLX Version: 2.1 Mesa 11.1.1
Audio: Card Intel NM10/ICH7 Family High Definition Audio Controller
driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-4-MANJARO
Network: Card-1: Broadcom BCM4312 802.11b/g LP-PHY driver: wl
IF: wlp3s0 state: up mac: c4:17:fe:45:ba:ef
Card-2: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
driver: r8169
IF: enp4s0 state: down mac: 00:26:b9:a1:c4:bf
Drives: HDD Total Size: 160.0GB (10.7% used)
ID-1: /dev/sda model: WDC_WD1600BEVT size: 160.0GB
Partition: ID-1: / size: 34G used: 5.2G (17%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 110G used: 8.5G (9%) fs: ext4 dev: /dev/sda4
ID-3: /tmp size: 1.1G used: 1.5M (1%) fs: ext4 dev: /dev/sda3
ID-4: swap-1 size: 2.76GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
Sensors: System Temperatures: cpu: 47.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 133 Uptime: 18 min Memory: 562.2/2009.7MB
Client: Shell (bash) inxi: 2.2.32
[user@user-pc ~]$ Ответить

Читайте также:  Play on linux archive

Источник

How to Check Linux Mint Version Number & Codename

Linux Mint has a major release (like Mint 19) every two years and minor releases (like Mint 19.1, 19.2 etc) every six months or so. You can upgrade Linux Mint version on your own or it may get automatically update for the minor releases.

Between all these release, you may wonder which Linux Mint version you are using. Knowing the version number is also helpful in determining whether a particular software is available for your system or if your system has reached end of life.

There could be a number of reasons why you might require the Linux Mint version number and there are various ways you can obtain this information. Let me show you both graphical and command line ways to get the Mint release information.

Ways to check Linux Mint version number using terminal

Check Linux Mint Version

I’ll go over several ways you can check your Linux Mint version number and codename using very simple commands. You can open up a terminal from the Menu or by pressing CTRL+ALT+T (default hotkey).

The last two entries in this list also output the Ubuntu release your current Linux Mint version is based on.

1. /etc/issue

Starting out with the simplest CLI method, you can print out the contents of /etc/issue to check your Version Number and Codename:

[email protected]:~$ cat /etc/issue Linux Mint 19.2 Tina \n \l

2. hostnamectl

hostnamectl

This single command (hostnamectl) prints almost the same information as that found in System Info. You can see your Operating System (with version number), as well as your kernel version.3.

Читайте также:  Восстановить пароль администратора линукс

3. lsb_release

lsb_release is a very simple Linux utility to check basic information about your distribution:

[email protected]:~$ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 19.2 Tina Release: 19.2 Codename: tina

Note: I used the a tag to print all parameters, but you can also use -s for short form, -d for description etc. (check man lsb_release for all tags).

4. /etc/linuxmint/info

Check Linux Mint version number with /etc/linuxmint/info

This isn’t a command, but rather a file on any Linux Mint install. Simply use cat command to print it’s contents to your terminal and see your Release Number and Codename.

5. Use /etc/os-release to get Ubuntu codename as well

Check Linux Mint version number with /etc/os-release

Linux Mint is based on Ubuntu. Each Linux Mint release is based on a different Ubuntu release. Knowing which Ubuntu version your Linux Mint release is based on is helpful in cases where you’ll have to use Ubuntu codename while adding a repository like when you need to install the latest Virtual Box in Linux Mint.

os-release is yet another file similar to info, showing you the codename for the Ubuntu release your Linux Mint is based on.

6. Use /etc/upstream-release/lsb-release to get only Ubuntu base info

If you only want to see information about the Ubuntu base, output /etc/upstream-release/lsb-release:

[email protected]:~$ cat /etc/upstream-release/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"

Bonus Tip: You can just check Linux kernel version with the uname command:

Note: -r stands for release, however you can check the other flags with man uname.

Check Linux Mint version information using GUI

If you are not comfortable with the terminal and commands, you can use the graphical method. As you would expect, this one is pretty straight-forward.

Читайте также:  Test if directory exists linux

Open up the Menu (bottom-left corner) and then go to Preferences > System Info:

Linux Mint Menu

Alternatively, in the Menu you can search for System Info:

Menu Search System Info

Here you can see both your operating system (including version number), your kernel and the version number of your DE:

Linux Mint System Info

Wrapping Up

I have covered some different ways you can quickly check the version and name (as well as the Ubuntu base and kernel) of the Linux Mint release you are running. I hope you found this beginner tutorial helpful. Let us know in the comments which one is your favorite method!

Источник

What Version of Linux Mint Am I Running?

Every Linux distribution has different versions available in the market. Whenever a newer version is released, most users are tempted to upgrade their systems. However, to install the latest available release, they must know the current Linux version that they are using. Therefore, this guide will explain the four different methods of checking the Linux Mint version.

Methods of Checking the Linux Mint Version

You can check the current version of your Linux Mint system with the help of the following four methods:

Method 1: From the System Info

This method will show you how to find the Linux Mint version through its GUI. You have to look for “system info” in the Mint Menu of your system, as shown below:

Then, in the System Info window, you will be able to find the version of Linux Mint that you are currently working with, as shown in the following image:

Method 2: Through the HOSTNAMECTL Command

Use this method to check the current Linux Mint version by running the command shown below:

The version of the Linux Mint system is highlighted in the following image:

Method 3: Through the LSB_RELEASE Command

In order to use this method, you will have to execute the command stated below:

Again, the version of our Linux Mint system is highlighted in the image that follows:

Method 4: Through the /etc/issue File

Finally, we will use the /etc/issue file to display the current Linux Mint version. For that, the following command will be used:

The current Linux Mint version is shown in the following image:

Conclusion

This tutorial focused on the four different methods of checking the current Linux Mint version. The first method uses the Linux Mint GUI, whereas the other three methods are CLI-based. Therefore, you can easily pick the one that you feel most comfortable with for finding your Linux Mint version.

About the author

Karim Buzdar

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.

Источник

Оцените статью
Adblock
detector