Friday, October 7, 2022

[SOLVED] How to differentiate between manually installed packages and dependencies on linux

Issue

I am a noob in linux and right now I am using a raspberry pi with raspbian to learn about it. I am trying the commands to install and uninstall packages (apt) but i have the following doubt.

Is there a way to differentiate between packages that I have installed and packages that were automatically installed because they are dependencies?

Thanks


Solution

Is there a way to differentiate between packages that I have installed and packages that were automatically installed because they are dependencies?

Probably not, and that should not matter. Suppose you have some package foo that has been installed as a dependency for bar. A few days latter, you might want to install foo (and since it is already installed, nothing will happen).



Answered By - Basile Starynkevitch
Answer Checked By - Katrina (WPSolving Volunteer)