PDA

View Full Version : [ubuntu] uninstall by day and with cli



Morpholinux
April 24th, 2011, 02:06 AM
hi! I was wondering if there is a way to uninstall the last programs installed in a certain day with the cli?

I know that with
cat /var/log/dpkg.log | grep "\ install\ "|grep 2011-04-23 " I can get the "lots of things" I installed today....but how to give that list to apt or something to get them uninstalled?

thanks

ps. I do not want to open synaptic package manager and uninstall all of them one by one...

K_45
April 24th, 2011, 02:09 AM
Get the name of the packages with that command, then


sudo apt-get remove app app app replacing app with what you want to uninstall. You can also remove the config files with --purge switch.