To install a package along with dependencies, open a terminal and run:

  • deb package:
    dpkg -i [package]
    apt-get install -f
    
    
  • rpm package:
    rpm -i [package]
    
    


    or

    yum install [package]
    
    

To upgrade an existing package:

  • deb package:
    dpkg -i [package]
    
    


  • rpm package:
    rpm -U [package]
    
    

    or

    yum update [package]