Contents
How do I install a Debian package?
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.
How do I install a package in Linux?
To install a new package, complete the following steps:
- Run the dpkg command to ensure that the package is not already installed on the system: …
- If the package is installed already, ensure it is the version you need. …
- Run apt-get update then install the package and upgrade: