On Mon, Feb 12, 2001 at 12:06:30AM -0500, Adrian wrote: > I thought it would be nice if when installing with apt we could assign a > "session" name. Then later we could remove all applications +installed when > "session" was created. As an example tonight I wanted to install task-kde > which has something like 54 dependencies. If in a +week I didn't want KDE > I'd have to track down all 54 install packages and remove them manually. > There are ways to record what apt installs, +but creating such lists manually > each time would be a pain.
It isn't too much of a pain to do this manually; use the -u option to apt-get and cut and paste (or |tee) the result into a file. You can then later pipe the list of packages into an 'xargs apt-get --purge remove' or similar. You could also record the output of 'apt-get -s <blah>'. -- - mdz

