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

How to Check Your Debian Version

  • By Gcore
  • May 18, 2023
  • 2 min read
How to Check Your Debian Version

Linux distributions like Debian come in various versions, each offering a unique set of features, functionalities, and improvements. The specific version can significantly affect software compatibility and system performance, so it’s crucial to know which one is installed on your server. Here’s a straightforward guide on how to check the Debian version.

Fun fact: Debian releases are named after characters from the “Toy Story” films, such as Buzz, Rex, and Jessie.

There are several ways to identify the Debian version on a server: using the  “/etc/os-release” file and the “lsb_release” command.

Method #1: Checking the contents of the “/etc/os-release” file

In modern Debian systems, the “/etc/os-release” file contains OS identification data, including the Debian version. You can view this file’s contents using the “cat” command in the terminal:

cat /etc/os-release

The output will be similar to this: 

PRETTY_NAME="Debian GNU/Linux 10 (buster)"NAME="Debian GNU/Linux"VERSION_ID="10"VERSION="10 (buster)"VERSION_CODENAME=busterID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"

From this output, you can identify the version name (“buster”) and version ID (“10”).

Method 2: Using the “lsb_release” command

The “lsb_release” command provides certain LSB (Linux Standard Base) and distribution-specific information. To check your Debian version, use the “-a” option with this command:

lsb_release -a

The output will be similar to this: 

No LSB modules are available.Distributor ID: DebianDescription:    Debian GNU/Linux 10 (buster)Release:        10Codename:       buster

The line labeled “Description” contains the information you’re interested in. You can run the Debian OS on our Cloud Instances. It allows deploying and scaling projects in just a few clicks.

Conclusion

Want to run Debian on a virtual machine? With Gcore Cloud, you can choose from Basic VM, Virtual Instances, VPS/VDS, or Bare Metal servers suitable for Debian:

  • Gcore Basic VM offers shared virtual machines from €3.2 per month
  • Virtual Instances are virtual machines with a variety of configurations and an application marketplace
  • Virtual Dedicated Servers provide outstanding speed of 200+ Mbps in 20+ global locations
  • Bare Metal offers the ultimate in server power and performance with an entire server dedicated to your needs alone

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.