LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-27-2005, 11:43 PM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
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.
 
Old 08-28-2005, 04:58 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving m3u list in XMMS Napper Linux - Software 9 02-20-2006 05:48 PM
List installed Programs philthee Linux - General 8 10-07-2005 03:35 PM
saving list of RPMS DAChristen29 Mandriva 8 08-23-2004 11:01 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM
Knoppix : Installed on HDD : Saving settings heartagram Debian 1 11-14-2003 07:47 AM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration