How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it.
For example, I might install graphic design packages with:
apt-get install inkscape gimp
and mathematics packages with:
apt-get install texlive-full gnuplot
I could use virtual machines for each set of packages (
math
or design
), but it seems like overkill (I do not needed the added security/computational costs).
I could also use apt list --installed
and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot
(but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
Asked by wjwrpoyob
(460 rep)
Aug 14, 2019, 04:27 AM
Last activity: Jul 13, 2025, 01:03 PM
Last activity: Jul 13, 2025, 01:03 PM