archlinux: reinstall

Tim Chase blinux.list at thechases.com
Mon Jul 13 18:27:36 UTC 2015


This page is where I got my answer:

https://wiki.archlinux.org/index.php/Pacman_tips#Backing_up_and_retrieving_a_list_of_installed_packages

There's a section on AUR/yaourt backup/restore at the bottom of that
section, but I don't do much with Arch, so I can't say I've tried
them.

-Tim


On July 13, 2015, Jude DaShiell wrote:
> Hi Tim,
> 
> I forgot to mention I have 107 packages installed from aur as
> well.  I used yaourt to install most of them and used makepkg for a
> few in the beginning of this system's life.  I am pretty sure aur/
> will appear to the left of those packages so I'll probably just
> need to put a duplicate line for reinstallation using yaourt in the
> script as was done with pacman to reinstall those aur packages.
> 
> On Mon, 13 Jul 2015, Tim Chase wrote:
> 
> > Date: Mon, 13 Jul 2015 11:08:57
> > From: Tim Chase <blinux.list at thechases.com>
> > To: Jude DaShiell <jdashiel at panix.com>
> > Cc: blinux-list at redhat.com
> > Subject: Re: archlinux: reinstall
> > 
> > On July 13, 2015, Jude DaShiell wrote:
> >> using archlinux, did you find out how to get a listing of all
> >> software installed on a system?
> >
> > You should be able to use
> >
> >  pacman -Qqen > installed_packages.txt
> >
> > you can the copy/move that file in a directory that you won't
> > overwrite (such as your $HOME if it's on its own partition, or an
> > external drive)
> >
> >> When I do a reinstall, I want to be able to have all packages
> >> installed on the new system that were on the old system before
> >> reinstallation.  I may end up writing a script and have the
> >> script do the post-installs for me before I do the reinstall.
> >
> > If you have the package-list generated above, you can use
> >
> >  pacman -S $(< installed_packages.txt)
> >
> > to re-install the same packages that were previously installed.
> >
> > -tim
> >
> >
> >
> >
> 
> -- 
> 




More information about the Blinux-list mailing list