I think I'll probably also make some backups of configuration files, so that I can restore them after the full install.
Lakin
ps, I'm replying to the list in case some others want something similar.
On 10/12/05, Michael Moore <[EMAIL PROTECTED]> wrote:
> Is there a relatively easy way to store the list of currently installed
> packages and then have apt/dpkg re-install all of these?
>
> Lakin
What I do is have a text file named InstallMe with one piece of
software per line. Any line that has a "#" in it is a comment line and
the whole line is ignored.
On my new installs, I just run this command (after configuring
sources.list, and running apt-get update).
sudo apt-get install `cat InstallMe | grep -v \#`
If you haven't been keeping such a list, and want to know what you've
got now these might help.
$ dpkg --list
This command will list everything that's installed, but won't be
usefull for reinstalling without a bit of regex magic that's beyond my
powers. It will also list the things that are installed by default.
If you run as root when you do installs, you can run
# cat ~/.bash_history | grep apt-get > run_this
and run_this will have all your apt commands and you can see what
you've installed so far.
--
Michael Moore
-------------------------------
www.stuporglue.com
-- laptop-testing-team mailing list [email protected] http://lists.ubuntu.com/mailman/listinfo/laptop-testing-team
