Re: archlinux: reinstall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]