How to install deb with dependencies in Ubuntu/Debian

Описание к видео How to install deb with dependencies in Ubuntu/Debian

If you download a .deb file, this package may require the dependencies. You can install deb with dependencies using dpkg command in Ubuntu or Debian.

Read more: https://doneaz.com/install-deb/

Install deb with dependencies

1. Open Terminal.

2. Use the following command:

sudo dpkg -i /path/to/package.deb

You can navigate to the folder containing the file deb or use the full path. You can drag and drop files into the Terminal window to get the full path. Example:

cd /home/tu/Downloads
sudo dpkg -i google-chrome-stable_current_amd64.deb

Or:

sudo dpkg -i /home/tu/Downloads/google-chrome-stable_current_amd64.deb

Enter your password if asked.

3. If it is sure that the dependencies is not installed. Please use the following command to install them:

sudo apt -f install

Reconfigure Deb Package

If you want to reconfigure the package, use the following command:
sudo dpkg-reconfigure packagename

Remove package and dependencies

Remove package:
sudo dpkg -r packagename

In the above example is google-chrome-stable.
sudo dpkg -r google-chrome-stable

Remove dependencies:
sudo apt autoremove

Комментарии

Информация по комментариям в разработке