Gaming industry under DDoS attack. Get DDoS protection now. Start onboarding
  1. Home
  2. Developers
  3. How to Check Your Ubuntu Version

How to Check Your Ubuntu Version

  • By Gcore
  • May 28, 2023
  • 1 min read
How to Check Your Ubuntu Version

You may need to determine the distribution version of your operating system if you want to connect third-party repositories or install specific software on a server that was not built and configured by you. In this guide, we will explore three methods to check the version of Ubuntu.

Method #1: Using the command line

1. Connect to the server. 

2. Open the terminal window and execute the following command:

lsb_release -a

This command retrieves the release information of your Ubuntu system. Look for the line that starts with “Description” or “Release” in the output.

Note: Ubuntu version numbers follow a pattern of <Year>.<Month>, representing the year and month of the release.

Method #2: Using the command line (alternative)

1. Open the Terminal.

2. Enter the following command:

cat /etc/lsb-release

This command displays the contents of the “/etc/lsb-release” file, which contains information about your Ubuntu version.

Look for the line starting with “DISTRIB_RELEASE=”. The text after the equals sign (“=”) indicates your Ubuntu version number. Additionally, you can find information about the Ubuntu version on the line “DISTRIB_DESCRIPTION”.

Method #3: Using the system settings

1. Connect to the server where a graphical user interface (GUI) such as GNOME is installed.

2. Search for and open “Settings”.

3. In the “Settings” page, locate the “About” section.

Under the “OS Name” section, you will find your Ubuntu version mentioned.

By following these methods, you can easily check the version of Ubuntu installed on your system.

Conclusion

Want to run Ubuntu in a virtual environment? With Gcore Cloud, you can choose from Basic VM, Virtual Instances, or VPS/VDS suitable for Ubuntu:

Choose an instance

Related articles

What's the difference between multi-cloud and hybrid cloud?

Multi-cloud and hybrid cloud represent two distinct approaches to distributed computing architecture that build upon the foundation of cloud computing to help organizations improve their IT infrastructure.Multi-cloud environments involve us

What is multi-cloud? Strategy, benefits, and best practices

Multi-cloud is a cloud usage model where an organization utilizes public cloud services from two or more cloud service providers, often combining public, private, and hybrid clouds, as well as different service models, such as Infrastructur

What is cloud migration? Benefits, strategy, and best practices

Cloud migration is the process of transferring digital assets, such as data, applications, and IT resources, from on-premises data centers to cloud platforms, including public, private, hybrid, or multi-cloud environments. Organizations can

What is a private cloud? Benefits, use cases, and implementation

A private cloud is a cloud computing environment dedicated exclusively to a single organization, providing a single-tenant infrastructure that improves security, control, and customization compared to public clouds.Private cloud environment

What is a cloud GPU? Definition, types, and benefits

A cloud GPU is a remotely rented graphics processing unit hosted in a cloud provider's data center, accessible over the internet via APIs or virtual machines. These virtualized resources allow users to access powerful computing capabilities

What is cloud networking: benefits, components, and implementation strategies

Cloud networking is the use and management of network resources, including hardware and software, hosted on public or private cloud infrastructures rather than on-premises equipment. Over 90% of enterprises are expected to adopt cloud netwo

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.