install .deb code example

Example 1: install deb file

sudo dpkg -i /path/to/deb/file
sudo apt-get install -f

Example 2: instal .deb ubuntu

sudo dpkg -i package_file.deb

Example 3: install deb file in ubuntu

sudo apt install path_to_deb_file

Example 4: install ubuntu deb

#install downloaded .deb
sudo dpkg -i /path/name.deb

#install packages
sudo apt install package_name

Example 5: install *.deb file in ubuntu

Install a downloaded program in Ubuntu - Linux
sudo dpkg -i package_file.deb
//or
sudo apt install path_to_deb_file

Tags:

C Example