Replicate package selection from one Ubuntu install to another clean one

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:

More helpful Articles

Download PDFDownload PDF

Tags: , , , , ,

Leave a Reply

CommentLuv badge