B
B
Blackmure2020-09-10 18:44:25
linux
Blackmure, 2020-09-10 18:44:25

How to remove unnecessary?

Recently installed linux ubuntu.
Due to inexperience, I downloaded all sorts of simply unnecessary programs.
Many of them are out of office. shop.
How to remove them?
Tried through the terminal, but it didn't work out. I do not know the exact names of the programs themselves.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kocherman, 2020-09-10
@Blackmure

List of installed packages
sudo apt list --installed | less
Display a list of packages sorted by used hard disk space

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr

Remove package packagename
apt-get remove --purge packagename
Remove unnecessary packages
apt-get autoremove

S
SOTVM, 2020-09-11
@sotvm

go to sinaptic (file/history tab) and see what you installed))),
then sudo apt purge PACKAGE_NAMES separated by a space
example
sudo apt purge package1 package2 etc.
then
sudo apt autoremove

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question