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

Re: Install matching set of software while preserving aptitude auto/manual install info



On Wed,05.Nov.08, 12:58:42, Douglas A. Tutty wrote:
 
> aptitude install <followed by the list of packages>
> 
> Remember to escape the newlines with \
> 
> I forget what the maximum command-line length is; it may be an issue
> depending on how many packages you manually installed.
> 
> You could make the package list with one package per line and use xargs
> to pipe it through aptitude (may take longer).
> 
> Or you can just use the aptitude user interface on the new box and
> manually mark the packages off the list.  For a one-off, this may be the
> fastest way.
> 
> It all depends on how automated you want the process to be.

Or you could just feed the list to 'dpkg --get-selections' ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: