How To Install virtualbox-qt on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 376 words
Introduction
In this tutorial we learn how to install virtualbox-qt
on Ubuntu.
What is virtualbox-qt
virtualbox-qt is:
VirtualBox is a free x86 virtualization solution allowing a wide range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a Linux system.
This package provides the Qt based graphical user interface for VirtualBox.
There are three methods to install virtualbox-qt
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install virtualbox-qt Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install virtualbox-qt
using apt-get
by running the following command:
sudo apt-get -y install virtualbox-qt
Install virtualbox-qt Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install virtualbox-qt
using apt
by running the following command:
sudo apt -y install virtualbox-qt
Install virtualbox-qt Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install virtualbox-qt
using aptitude
by running the following command:
sudo aptitude -y install virtualbox-qt
How To Uninstall virtualbox-qt on Ubuntu
To uninstall only the virtualbox-qt
package we can use the following command:
sudo apt-get remove virtualbox-qt
Uninstall virtualbox-qt And Its Dependencies
To uninstall virtualbox-qt
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove virtualbox-qt
Remove virtualbox-qt Configurations and Data
To remove virtualbox-qt
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge virtualbox-qt
Remove virtualbox-qt configuration, data, and all of its dependencies
We can use the following command to remove virtualbox-qt
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge virtualbox-qt
Dependencies
virtualbox-qt have the following dependencies:
- virtualbox
- libc6
- libgcc-s1
- libgl1
- libqt5core5a
- libqt5gui5
- libqt5opengl5
- libqt5printsupport5
- libqt5widgets5
- libqt5x11extras5
- libstdc++6
- libx11-6
- libxcb1
- libxext6
References
Summary
In this tutorial we learn how to install virtualbox-qt
package on Ubuntu using different package management tools: apt, apt-get and aptitude.