Replicate package selection from one Ubuntu install to another clean one

Saturday, 19th September 2009

To replicate your packages selection on another machine (or restore it if re-installing),
You can type:
$ aptitude –display-format ‘%p’ search ‘?installed!?automatic’ >~/my-packages Move the file “my-packages” to the other machine, and there type:$ sudo xargs aptitude –schedule-only install < my-packages ; sudo aptitude installIt might be interesting for you to always check the automate commandEND—–

Share this on:

Download PDFDownload PDF

Tags: , , , , ,

Leave a Reply

CommentLuv badge