Lesson 2

Date: 5/31/2017
Linux installation and upgrade
Linux System Administration


Package Management (dpkg)
  • Installation
    dpkg -i linux-image-4.4.0-22-generic_4.4.0-22.40_amd64.deb 
    

  • Removal
    dpkg --purge linux-image-4.4.0-21-generic_4.4.0-21.40_amd64.deb 
    

  • queries (list of all packages)
    dpkg -l '*'
    dpkg -l '*kernel*'
    

  • List files in the package
    dpkg -L  ncurses-term
    

  • Info on a package
    dpkg -s ncurses-term
    

  • To find out what package owns the file
    dpkg -S ncurses-term
    



  • Take me to the Course Website