Dear experts,
initiated by an observation oshunluvr made I have the following question:
I install a program, let's say "myprogram", with apt or apt-get or Dolphin, Muon - you get the idea - and the package manager also automatically installs a dependency for myprogram called myprogramsdependency.
Just before that I had e.g. a kernel update, but I have not removed the oldest kernel (the third installed kernel then in case of *Ubuntu) yet.
Now I want to get rid of myprogram again and I deinstall it with:
Do both 1. and 2. remove myprogram, myprogramsdependency and the old kernel and have I misunderstood apt-get for all these years?
initiated by an observation oshunluvr made I have the following question:
I install a program, let's say "myprogram", with apt or apt-get or Dolphin, Muon - you get the idea - and the package manager also automatically installs a dependency for myprogram called myprogramsdependency.
Just before that I had e.g. a kernel update, but I have not removed the oldest kernel (the third installed kernel then in case of *Ubuntu) yet.
Now I want to get rid of myprogram again and I deinstall it with:
- either
sudo apt-get remove --autoremove myprogram - or
sudo apt-get remove myprogram
sudo apt-get autoremove
- in case number 1.) only myprogram and myprogramsdependency would be removed
and - in case number 2.) myprogram - and with the second command - myprogramsdependency and the old kernel would be removed.
Do both 1. and 2. remove myprogram, myprogramsdependency and the old kernel and have I misunderstood apt-get for all these years?
Comment