Monday, April 29, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 579  / 2 Years ago, thu, december 9, 2021, 7:14:44

I installed a package by mistake and immediately removed (purged it to be exact) it, but other than the package itself, none of the dependencies that installed alongside was removed. I do not know if it's required or not, but if no, I would like to remove them.


More From » package-management

 Answers
2

man apt-get provides information that the parameter autoremove is used to remove packages that were automatically downloaded to satisfy dependencies for some package and are no longer required.



So, you could use sudo apt-get autoremove to remove dependencies that are now useless.



Additional source: Ubuntugeek


[#43368] Thursday, December 9, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;