I get the feeling that, at the very least, you should be able to do this from the terminal.
Yes, that's fairly easy to do by looking at the timestamps in /var/lib/dpkg/info/
. For example,
ls -lct /var/lib/dpkg/info |egrep -o "May.*\." |
cut -d. -f1 | uniq | more
-lct
sorts by ctime, "May" is the current (or recent) month you're looking for, cut
simply removes the annoying period at the end, and uniq
removes duplicates. This gives you something like:
...
May 11 18:03 libcogl-pango0:amd64
May 11 18:03 libcogl9:amd64
May 11 18:03 libcaribou0:amd64
May 11 18:03 libcaribou-common
May 11 03:35 libcpufreq0
May 11 03:35 cpufrequtils
...
Suppose you want to batch-remove all the packages installed on May 11 at 18:03, you would do something like this:
apt-get remove `ls -lct /var/lib/dpkg/info |
egrep -o "May.*18:03.*\." |
cut -d. -f1 | uniq |
cut -d' ' -f4 | tr '\n' ' '`
where the 2nd cut
simply selects the package names and tr
converts the linebreaks to spaces to give you a list suitable for apt-get
.
Assuming you followed the instructions on the github, I would suggest that you use ppa-purge to remove the 'deadsnakes' ppa
sudo apt-get install ppa-purge
sudo ppa-purge ppa:fkrull/deadsnakes
Update your path to remove the path extensions added as instructed at the github, and most of lime should be inactive.
As for removing it entirely, the manner in which it was installed may require looking into the makefiles to determine what directories need to be deleted.
Best Answer
To remove the history.
I would advise to make a backup just in case! That can be done by
You also need
/var/log/dpkg.log