Installing deb package on Ubuntu/Debian Install gdebi tool and then open and install the . deb file using it. Use dpkg and apt-get command line tools as follows: sudo dpkg -i /absolute/path/to/deb/file sudo apt-get install -f.