Determining Mint version

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Locked
Curious George
Level 1
Level 1
Posts: 21
Joined: Wed Nov 09, 2016 5:20 pm

Determining Mint version

Post by Curious George » Wed Jan 25, 2017 2:08 pm

How does one determine (from the command line) the version of Linux Mint being run? Entering "cat /proc/version" on my system gives

Code: Select all

Linux version 4.4.0-21-generic (buildd@lgw01-06) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016
.

Pretty sure this is Mint 18; it was installed November 2016 and upgraded Jan 2017. But where is this information available on the system?

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Determining Mint version

Post by xenopeek » Wed Jan 25, 2017 2:28 pm

You can use the command inxi -S to find the distro release version. inxi is a system information tool that can quickly get you many different types of information about your system.
Image

Curious George
Level 1
Level 1
Posts: 21
Joined: Wed Nov 09, 2016 5:20 pm

Re: Determining Mint version

Post by Curious George » Wed Jan 25, 2017 2:33 pm

Should have looked further down in the forum before posting. It looks like

Code: Select all

cat ~/doc/log/mint18:$ cat /etc/*-release
will give this information. Mine shows

Code: Select all

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18
DISTRIB_CODENAME=sarah
DISTRIB_DESCRIPTION="Linux Mint 18 Sarah"
Does this mean I'm running 18.0 and not 18.1 ?

thanks

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Determining Mint version

Post by xenopeek » Wed Jan 25, 2017 2:44 pm

It would appear so. Open Update Manager, click Refresh to update it and if you're not told to update mintupdate itself open the Edit menu and see if the option to upgrade to Linux Mint 18.1 is there. If the option is there you indeed have Linux Mint 18 and if you want you can follow the considerations and steps in http://blog.linuxmint.com/?p=3185 to upgrade to 18.1
Image

Curious George
Level 1
Level 1
Posts: 21
Joined: Wed Nov 09, 2016 5:20 pm

ue

Post by Curious George » Thu Jan 26, 2017 1:25 pm

Thanks to xenopeek for suggesting "inxi -S" (with a capital S) to get version number; this works. Also the file /etc/linuxmint/info gives version information.

xenopeek also suggested:
Open Update Manager, click Refresh to update it and if you're not told to update mintupdate itself open the Edit menu and see if the option to upgrade to Linux Mint 18.1 is there.
.
An option to upgrade to Linux Mint 18.1 does indeed appear when opening Update Manager\Edit; apparently I'm still on 18.0.

Question: Ran "sudo aptitude update" followed by "sudo aptitude upgrade" on both 19-Jan and 25-Jan, and apparently this did not effect a change to 18.1. Is a different set of commands required?

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Determining Mint version

Post by xenopeek » Thu Jan 26, 2017 1:55 pm

There is no single command to upgrade from 18 to 18.1. It involves editing software repository configuration, selectively changing certain other files and transitioning certain packages (removing one and installing a replacement). It is not trivial to do that by hand.

apt upgrade just upgrades all packages with available security upgrades.
Image

Rillian
Level 1
Level 1
Posts: 6
Joined: Sun Dec 04, 2016 10:27 am

Re: Determining Mint version

Post by Rillian » Fri Jan 27, 2017 8:22 am

Use Ctrl+Alt+F1 to go to a virtual terminal you should see:

------------Linux Mint [version number]

login:

Something like that.

To go back use Ctrl+Alt+F7.
Rillian

User avatar
sdcphoneguy
Level 1
Level 1
Posts: 2
Joined: Sat Feb 17, 2018 12:54 pm

Re: Determining Mint version

Post by sdcphoneguy » Sat Feb 17, 2018 1:13 pm

I am running Mint 18.1. I appreciate finding out about the inxi command in terminal.
the -s key didn't give me the version but (inxi -b) gave me everything including the distro.

Locked

Return to “Newbie Questions”