31 December 2003

    Apt (debian) cheat sheet

    So here's the same thing I did for RPM, but for the Debian apt stuff:

      apt-get
         -s        simulate
         install   install the named package
         (apt.conf defines commonly used options)
         
      apt-setup    sets up /etc/apt/sources.list
    
      dselect      select packages to install
      apt-get dselect-upgrade
                   actually install those packages
    
      dpkg-reconfigure
         --all     make sure all packages have been configured
    
      dpkg
         -s        get status of a package
         -L        list files from a package
         -S        who owns this file?
         -i        install this .deb file
    


posted at: 04:00 | path: /diary | permanent link to this entry