- Using:
sudo dpkg -i /path/to/deb/file sudo apt-get install -f
- Using:
sudo apt install ./name.deb
Orsudo apt install /path/to/package/name.deb
With oldapt-get
versions you must first move your deb file to/var/cache/apt/archives/
directory. For both, after executing this command, it will automatically download its dependencies. - First installing
gdebi
and then opening your .deb file using it (Right-click -> Open with). It will install your .deb package with all its dependencies.
https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt
0 Comments