{"id":13787,"date":"2025-01-10T06:41:12","date_gmt":"2025-01-10T06:41:12","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=13787"},"modified":"2026-02-26T14:02:09","modified_gmt":"2026-02-26T14:02:09","slug":"how-to-check-the-ubuntu-version","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/","title":{"rendered":"How to Check the Ubuntu Version"},"content":{"rendered":"<p>In this article, you will learn how to check the Ubuntu version.<\/p>\n<p>When managing a server or troubleshooting issues, knowing the version of Ubuntu installed on your system is essential. Below are simple methods to check your Ubuntu version using different tools and commands.<\/p>\n<ol>\n<li>Check Using \u201clsb_release\u201d Command<br \/>\nThe \u201clsb_release\u201d command provides full information about the Linux distribution.<br \/>\nSteps:<\/p>\n<ol>\n<li>Open a terminal window.<\/li>\n<li>Type the following command:\n<pre>lsb_release -a<\/pre>\n<\/li>\n<li>Look for the description and release fields in the output to find your Ubuntu version.<\/li>\n<\/ol>\n<\/li>\n<li>Check Using \u201c\/etc\/os-release\u201d File:<br \/>\nThis file contains information about the operating system.<br \/>\nSteps:<\/p>\n<ol>\n<li>Open the terminal.<\/li>\n<li>Run this command:\n<pre>cat \/etc\/os-release<\/pre>\n<\/li>\n<li>Locate the VERSION or VERSION_ID line to identify your Ubuntu version.<\/li>\n<\/ol>\n<\/li>\n<li>Check Using \/etc\/issue File:<br \/>\nThe \u201c\/etc\/issue\u201d file contains the version information shown before the login prompt.<br \/>\nSteps:<\/p>\n<ol>\n<li>In the terminal, enter:\n<pre>cat \/etc\/issue<\/pre>\n<\/li>\n<li>The output will display the Ubuntu version.<\/li>\n<\/ol>\n<\/li>\n<li>\u00a0Check Using \u201chostnamectl\u201d Command:<br \/>\nThe \u201chostnamectl\u201d command offers additional system information, including the OS version.<br \/>\nSteps:<\/p>\n<ol>\n<li>Open the terminal.<\/li>\n<li>Execute the command:\n<pre>hostnamectl<\/pre>\n<\/li>\n<li>Look for the operating system field in the output.<\/li>\n<\/ol>\n<\/li>\n<li>Check Using Graphical Interface (GUI):<br \/>\nIf you have access to Ubuntu\u2019s graphical interface:<\/p>\n<ol>\n<li>Go to Settings \u2192 About.<\/li>\n<li>The Ubuntu version will be listed under OS Name or Details.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>In this manner, you can use these methods to quickly find the version of Ubuntu running on your system. These commands are compatible with most Ubuntu distributions, ensuring you can install the right software and manage updates effectively.<\/p>\n<p>Learn <a href=\"https:\/\/www.bodhost.com\/kb\/how-to-install-python-3-on-ubuntu-20-04-or-22-04\/\" target=\"_blank\" rel=\"noopener\">how to install Python 3 on Ubuntu 20.04 or 22.04<\/a> with this easy-to-follow step-by-step guide.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, you will learn how to check the Ubuntu version. When managing a server or troubleshooting issues, knowing the version of Ubuntu installed on your system is essential.&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[1591],"class_list":["post-13787","post","type-post","status-publish","format-standard","hentry","category-general","tag-check-the-ubuntu-version"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Check Your Ubuntu Version (5 Methods)<\/title>\n<meta name=\"description\" content=\"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Check Your Ubuntu Version (5 Methods)\" \/>\n<meta property=\"og:description\" content=\"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-10T06:41:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:02:09+00:00\" \/>\n<meta name=\"author\" content=\"Serena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/\"},\"author\":{\"name\":\"Serena\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\"},\"headline\":\"How to Check the Ubuntu Version\",\"datePublished\":\"2025-01-10T06:41:12+00:00\",\"dateModified\":\"2026-02-26T14:02:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/\"},\"wordCount\":263,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Check the Ubuntu Version\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/\",\"name\":\"How To Check Your Ubuntu Version (5 Methods)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2025-01-10T06:41:12+00:00\",\"dateModified\":\"2026-02-26T14:02:09+00:00\",\"description\":\"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-check-the-ubuntu-version\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Check the Ubuntu Version\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\",\"name\":\"Serena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"caption\":\"Serena\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/seema\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Check Your Ubuntu Version (5 Methods)","description":"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/","og_locale":"en_US","og_type":"article","og_title":"How To Check Your Ubuntu Version (5 Methods)","og_description":"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2025-01-10T06:41:12+00:00","article_modified_time":"2026-02-26T14:02:09+00:00","author":"Serena","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Serena","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/"},"author":{"name":"Serena","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830"},"headline":"How to Check the Ubuntu Version","datePublished":"2025-01-10T06:41:12+00:00","dateModified":"2026-02-26T14:02:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/"},"wordCount":263,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Check the Ubuntu Version"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/","name":"How To Check Your Ubuntu Version (5 Methods)","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2025-01-10T06:41:12+00:00","dateModified":"2026-02-26T14:02:09+00:00","description":"Checking the Ubuntu version confirms compatibility with software, updates, and system requirements. Follow the steps.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-check-the-ubuntu-version\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"How to Check the Ubuntu Version"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830","name":"Serena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","caption":"Serena"},"url":"https:\/\/www.bodhost.com\/kb\/author\/seema\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=13787"}],"version-history":[{"count":3,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13787\/revisions"}],"predecessor-version":[{"id":13795,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13787\/revisions\/13795"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=13787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=13787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=13787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}