Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 84

Thread: HOWTO: Backup all installed programs/packages

  1. #11
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup all installed programs/packages

    It'll give you a massive directory of .deb files. Its completely upto you what you want to do with them. I have them backed up in an external hard drive. You could burn them to DVD if you want.

  2. #12
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: HOWTO: Backup all installed programs/packages

    Quote Originally Posted by abhiroopb View Post
    It'll give you a massive directory of .deb files. Its completely upto you what you want to do with them. I have them backed up in an external hard drive. You could burn them to DVD if you want.
    Well, my /var/cache/apt tells me 359+MB so if it's the same it could go to my second HD or even a CD.

    Could I use this to "install" on another machine (ie: not mine)?

  3. #13
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup all installed programs/packages

    the /var/cache/apt directory is debs from a while back (which haven't been erased and are still lying around even after uninstall) and some new installed packages won't be listed there.

    Installing on a clean machine is ok. But I have NO idea what will happen if you try it on a machine that already has some programs installed. Apt is quite smart so it should be ok, be careful though.

  4. #14
    Join Date
    Jul 2007
    Location
    Virginia, US
    Beans
    Hidden!

    Re: HOWTO: Backup all installed programs/packages

    To reinstall everything couldn't you 'cd' to the directory that ther are in and use
    Code:
    sudo dpkg -i *.deb
    If remembered the command correctly, that will install all deb's in the current folder, it will also handle any depencencies (install packages that need to be installed first, first).
    Last edited by Het Irv; June 5th, 2008 at 09:23 PM.
    Registered Linux User: 453202 Registered Ubuntu User:17339
    WARNING: Don't take code or candy from strangers.

  5. #15
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup all installed programs/packages

    I have added that already (but I forgot to add the sudo)

  6. #16
    Join Date
    Jul 2007
    Location
    Virginia, US
    Beans
    Hidden!

    Re: HOWTO: Backup all installed programs/packages

    Quote Originally Posted by abhiroopb View Post
    I don't really want to create a username but would it be ok if I were to suggest requests for QuickStart? It seems like a great program!
    I guess so, but It would be easier for you to join. If you are busy thats fine, We used to have a thread here in the Ubuntu Forums, but there was a little dust up, and the program was getting to big for one thread anyway. It's not the most active of forums but mdplaow is usually on two or three times a day.
    Registered Linux User: 453202 Registered Ubuntu User:17339
    WARNING: Don't take code or candy from strangers.

  7. #17
    Join Date
    Feb 2007
    Location
    U.S.A.
    Beans
    1,835
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Backup all installed programs/packages

    Have you tried apt on cd?

    Code:
    sudo apt-get install aptoncd

  8. #18
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup all installed programs/packages

    I have already mentioned EXACTLY why aptoncd is not appropriate. Thanks for mentioning anyway.

  9. #19

    Re: HOWTO: Backup all installed programs/packages

    Moved to Tips and Tricks.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  10. #20
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Backup all installed programs/packages

    Wouldnt it just be easier to do this?

    Code:
    To make the list:
    sudo dpkg --get-selections > installed-software
    
    To restore packages:
    sudo dpkg --set-selections < installed-software
    This gives you the list of packages without all of the deb files. Mind that you'll need an internet connection, but most computers do.



    EDIT: installed-software is a file btw. It just acts as a list that you pipe back into the dpkg command so it will know what packages to download.
    Linux User #460341 || Ubuntu User #19510 || Unanswered Posts Team

Page 2 of 9 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •