How to Install Deb Package with Command ?
Published on Aug. 22, 2023, 12:14 p.m.
The Deb package is used to install software for Linux distributions like Debian, Ubuntu, Mint, Kali etc. The deb packages can be installed via the command line interface by using different commands or desktop environment.
How to Install Deb Package with apt Command
The command is a top-level command line interface for package management. The apt command is generally used to manage software via repositories. You can use the command “apt” to install deb packages.
$ sudo apt install ./google-chrome-stable_current_amd64.deb
How to Install Deb Package with apt-get Command
The apt-get command is the previous version. we can use the apt-get command to install deb packages.
$ sudo apt-get install ./google-chrome-stable_current_amd64.deb
How to Install Deb Package with dpkg Command
The dpkg command is the official command. It is to manage deb packages. You can use the dpkg command to install deb packages.
$ sudo dpkg -i google-chrome-stable_current_amd64.deb