Run samples on Ubuntu

Providing detailed information on how to install and get Ubuntu OS running is beyond scope of this article. However, to get us to the same starting point, the article will start by creating an Ubuntu OS based virtual machine from Winodws 11 OS. If you already have a computer with Ubuntu OS installed, you may skip this part.
The article also assumees you have Hyper-V installed. If you don’t read this article on Microsoft web site first.

Create Ubuntu v. 22.04 OS virtual machine
  1. On your Windows 11 OS PC, click start and type hyper-v quick create.
  2. Select Ubuntu 22.04 LTS OS from the menu on the left. Click on blue Creaet Virtual Machine button.
  3. When download finishes, click “Connect” button, then “Start” button.
  4. Perform quick setup of the OS. Choose language (English is recommended, if you want to follow this guide). Choose your keyboard layout, your timezone, user name, hostname and password.
    For the sake of this guide, we will assume, that your username is developer, password is developer, computer’s hostname is developer-VM.
  5. It is also recommended (for the sake of virtual machine) to choose automatic login.

Documentation notice

Information may change over time

Created
Last technically reviewed

Technical details on this page may change as vendor tools, board support packages, operating system images, and runtime versions evolve.

This page was last technically reviewed on May 8, 2026. If your setup differs from the one described here, please contact us for help.