A
A
Ald4rson2019-04-13 12:21:20
linux
Ald4rson, 2019-04-13 12:21:20

How to remove all unused dependencies in Linux?

Hi all. I am going through testing at Immversive Labs, I have already solved all the tasks, there is one left that does not want to accept an answer.
The task "Remove all unused dependencies." (Linux Command Line > Package Management)
Used "apt-get autoremove" "apt-get autoclean", Immversive Labs still doesn't see this as a valid answer.
I hope you can help me)
Thank you

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dpsz, 2019-04-15
@dpsz

You can also try deborphan - it removes "orphaned" (unused) packages.

Y
Yaroslav, 2019-04-18
@xenon

apt autoremove maybe? (on new debians just apt, not apt-get)

B
BlacklightSorane, 2019-04-13
@BlacklightSorane

"dpkg-query && awk && apt-get"
Removes all packages except the base ones.
"apt-get autoremove" removes non-removed dependencies on already removed packages. I would still carefully watch what it is going to remove.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question