Announcement

Collapse
No announcement yet.

Installed SW List [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installed SW List [SOLVED]

    Is there a command I could use to generate an installed SW list in a text file?

    Searched the database but couldn't find anything on the topic.
    The way to see by faith is to shut the eye of reason .....Benjamin Franklin<br />Kubuntu 9.10 x64&nbsp; Xbuntu 9.10 x64&nbsp; Win7 x64 Ultimate<br />Linux User: 416878&nbsp; &nbsp; Kubuntu User: 22154

    #2
    Re: Installed SW List

    Code:
    dpkg --get-selections
    Seems to be a question that turns up quite often.

    If you want to use the list to install software,

    Code:
    dpkg --set-selections < selections_file
    dselect
    (might find they need to be run with sudo)

    Bear in mind this won't do stuff that's not from the repositories, for example stuff you compiled yourself.
    I am running Ubuntu 8.10 (yes Gnome) with upgrades applied daily about 0900 UK time. Hardware is Dell Precision 420, 2x 800 MHz PIII, 512 MB RDRAM, nVidia GeForce 6800 128 MB AGP graphics, 18GB SCSI and 500GB IDE HDDs, DVD burner, Hauppage TV card.

    Comment


      #3
      Re: Installed SW List

      I actually just want the installed list in a text file.

      I like to keep it for archival purposes should I have a total system failure and need to install from scratch. I often add something someone recommends and may forget what I installed when time for a reinstall comes. So such a list would come in handy.

      I don't foresee an automated install using such a list.
      The way to see by faith is to shut the eye of reason .....Benjamin Franklin<br />Kubuntu 9.10 x64&nbsp; Xbuntu 9.10 x64&nbsp; Win7 x64 Ultimate<br />Linux User: 416878&nbsp; &nbsp; Kubuntu User: 22154

      Comment


        #4
        Re: Installed SW List

        With aptitude:
        Code:
        aptitude search '~i' > installed.txt

        Search Term Reference
        http://algebraicthunk.net/~dburrows/...h02s03s05.html
        ?installed ~i Select installed packages.

        Links:

        FAQ: How to get list of installed packages.
        http://kubuntuforums.net/forums/inde...opic=3094373.0

        Topic: Get list of installed packages?
        http://kubuntuforums.net/forums/inde...opic=3085703.0

        Topic: How to clone an installation?
        http://kubuntuforums.net/forums/inde...opic=3091589.0

        FAQ: Package Managers
        http://kubuntuforums.net/forums/inde...opic=3092288.0
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Installed SW List

          Way cool Rog! The aptitude search '~i' command is a gem! I'll be using aptitude search '~U' as well after Adept Notifier appears. This will definitely help me with my Adept Notifier log I maintain.
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: Installed SW List

            cantab and Rog131 many thanks for the input.

            Just what I was looking for, particularly the one using Aptitude.

            Regards!
            The way to see by faith is to shut the eye of reason .....Benjamin Franklin<br />Kubuntu 9.10 x64&nbsp; Xbuntu 9.10 x64&nbsp; Win7 x64 Ultimate<br />Linux User: 416878&nbsp; &nbsp; Kubuntu User: 22154

            Comment

            Working...
            X