LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   saving list of installed programs (https://www.linuxquestions.org/questions/ubuntu-63/saving-list-of-installed-programs-357683/)

DAChristen29 08-27-2005 11:43 PM

saving list of installed programs
 
is there a way to save a list of the installed packages installed from the debian repos, and that way if i reinstall ubuntu i can just refer the apt-get program to the list or config file and it will go and redownload/install all those programs again?

im wondering because there's about a hundred different programs i keep forgetting to install and i want it all done at once.

alongside this im going to create a backup script that will backup my apt sources among other things.

HappyTux 08-28-2005 04:58 PM

Re: saving list of installed programs
 
Quote:

Originally posted by DAChristen29
is there a way to save a list of the installed packages installed from the debian repos, and that way if i reinstall ubuntu i can just refer the apt-get program to the list or config file and it will go and redownload/install all those programs again?

im wondering because there's about a hundred different programs i keep forgetting to install and i want it all done at once.

alongside this im going to create a backup script that will backup my apt sources among other things.


Use dpkg --get-selections > selections.txt to get the list of packages then once newly installed dpkg --set-selections < selections.txt to set the selections back in the database now use dselect update to get both apts and the dpkg/dselect databases in sync to install use apt-get dselect-upgrade.


All times are GMT -5. The time now is 11:36 AM.