Wednesday, May 8, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 952  / 2 Years ago, wed, may 4, 2022, 3:37:57

I will be switching hard drives and upgrading to an ssd drive.
The questions I have are:



1) How can I get a list of programs currently installed on my Ubuntu 13.04 machine.
2) how can install those programs again on the new 13.10 drive without reinstalling each program one by one.



Thanks


More From » installation

 Answers
6

The following will get a list of all installed packages and store that list into a file in your user directory:



dpkg --get-selections | grep -v deinstall > ~/packages.list


Then to use that to install the packages on another PC:



sudo dpkg --set-selections < ~/packages.list; sudo apt-get -u dselect-upgrade

[#28941] Thursday, May 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ticeate

Total Points: 497
Total Questions: 128
Total Answers: 112

Location: Samoa
Member since Fri, Nov 27, 2020
4 Years ago
;