ubuntu

C++
$ sudo apt-get update
$ sudo apt-get install apt-transport-https
$ sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
$ sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
yum install VirtualBox-6.1
How to install Ubuntu 20.10 in VMware Workstation

Step 01: Create a New Virtual Machine
Step 02: Select Hardware Compatibility
Step 03: Use or select Ubuntu 20.10 Image to install
Step 04: Configure Virtual Machine Name and file Location
Step 05: Configure Virtual processor for new virtual machine
Step 06: Setup Virtual RAM memory for new virtual machine
Step 07: Setup Virtual Machine Network 
Step 08: Configure Virtual storage disk for new virtual machine
Step 09: Now power on of the virtual machine after finish the VMware setup
Step 10: Get the Ubuntu setup screen on display

follow the given instruction on screen and it will install in 10 min.
# For Desktop 
https://ubuntu.com/download/desktop

# For Server
https://ubuntu.com/download/server
Source

Also in C++: