AkshatPal
AkshatPal

Reputation: 47

How to uninstall packages installed with dpkg

I've installed steam in my Kali Linux machine with dpkg. I want to uninstall steam.

I've already tried uninstalling steam with dpkg -r steam_latest and dpkg --purge steam_latest but it's giving me error

dpkg: warning: ignoring request to remove steam_latest which isn't installed

Also I've tried uninstalling it with apt. Here is the result with apt

Reading package lists... Done Building dependency tree
Reading state information... Done
Package 'steam:i386' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies: steam-launcher : Depends: python-apt but it is not going to be installed Recommends: jockey-common but it is not installable

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Upvotes: 1

Views: 12074

Answers (2)

alson
alson

Reputation: 59

the ^ character is used to match any first file name or word for the steam and the * character is used to match any characters can be more than one or zero and the period . character is used to match more than 1 characters

Upvotes: -1

ed22
ed22

Reputation: 1237

Try: sudo apt-get purge '^steam.*'

Upvotes: 6

Related Questions