Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1166  / 1 Year ago, sun, february 26, 2023, 2:27:04

Based on man apt-get for autoremove we got




autoremove is used to remove packages that were automatically
installed to satisfy dependencies for some package and that are no
more needed.




Can any one tell me what is satisfy dependencies meaning ? I see this command widly used also in somewhere which we do not instsall any thing. Ok what is autoremove realy is and why it used


More From » apt

 Answers
2

A dependency is a package required by another package to complete its own functionality. There are two popular packaging mechanisms:





Both these mechanisms use the concept of dependencies. Ubuntu uses debian packaging.



If A and B are two packages and A is a dependency for B, satisfying dependency means installing the version of package A as required by B. So, if you just remove B, A will still be there on your system. If you do sudo apt-get autoremove and no other package requires A, then A will be removed. However, note that if you remove A, B will be automatically removed since B depended on A.


[#26026] Monday, February 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rofity

Total Points: 182
Total Questions: 98
Total Answers: 115

Location: Albania
Member since Sat, Jan 7, 2023
1 Year ago
;