S
S
Star Trooper2020-07-04 13:23:58
linux
Star Trooper, 2020-07-04 13:23:58

How to uninstall Oracle Virtual Box on Ubuntu 20?

I can't uninstall VM VirtualBox from Ubuntu. It keeps giving the same thing.
Not an expert in Linux, help, who can do it?
Here's what it says on the command line.
5f0058a9cded6283635885.png

When I try to uninstall through Ubuntu Software, I get the following.
5f00590a5d15c832669197.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2020-07-04
@MonsterCatz

It's likely that you didn't enter the full name of the package you want to remove. Try the following commands

systemctl stop virtualbox
dpkg -l | grep virtualbox*
ii  virtualbox-6.1                             6.1.10-138449~Ubuntu~bionic                      amd64        Oracle VM VirtualBox

The output will be something like this, depending on which version you have.
After that, try to uninstall with the following command
apt-get remove --purge virtualbox-6.1
or
apt-get remove --purge virtualbox*
The purge key will also remove all files related to VB. I hope my advice helps you

D
Dmitry Pavlov, 2020-07-04
@Stalker31

Perhaps you removed some packages through the terminal and now the software cannot uninstall the program correctly, maybe you should try to remove the program files through the file manager (delete the folder with the program files).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question