Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Situation:

  • want to move from 32-bit to 64-bit environment (taking advantage of >4GB RAM)
  • bought new HDD and installed new OS
  • mounted old HDD as a secondary device

Question:

  • How can I determine all package I had installed (irrespective of platform - I'll install proper platform on the new install)?
share|improve this question
    
related question about services –  warren May 9 '13 at 15:57
add comment

1 Answer

up vote 4 down vote accepted

A method to automate the new installation and have it install anything you had on your old system would be:

dpkg --get-selections > installed-software

Back that file up and after installation do...

dpkg --get-selections < installed-software
dselect

If needed you can edit the text file and remove, alter the name of, or include packages.


Noteworthy

cat /var/log/apt/history.log

shows a list of what you did using apt-get.

apt-mark showmanual

will list packagas that where installed manually.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.