I accidentally installed this app in Ubuntu. Now I want to uninstall it, but I forgot its name. How can I do it?
Asked
Active
Viewed 5,786 times
0
2 Answers
4
You may be able to jog your memory with one or both commands below
ls -artl /var/cache/apt/archives
this will provide a list of the packages with the most recent ones listed near the end.
If an alphabetical approach appeals to you, then try
sudo apt list
When you find the package, then try
sudo apt remove pkgname
Another approach is to try finding the package name in your command history if you installed it with the terminal program
history | grep apt
will return all the commands you entered to manage packages.
If you used the dpkg command instead, then
history | grep dpkg

SwissCodeMen
- 152

mondotofu
- 777
0
One thing you could do is to list all the recent installs with the command
grep " install " /var/log/dpkg.log
and see if you could find the name of the package you installed.

SomannaK
- 111
- 4
snap remove
, if a deb package,apt remove
etc. If an extension for gnome, it can be removed by the gnome-linked browser, or.... You've however tagged an EOL/ESM release which is now off-topic here. – guiverc Feb 27 '21 at 21:17