+4 votes
65 views
in Install Linux by (242k points)
reopened
DEB in Debian systems - this is how it works

1 Answer

+5 votes
by (1.6m points)
 
Best answer

Install deb packages via the software center
Install deb packages from the terminal
1st step:
2nd step:
3rd step:

Deb packages can be used to install programs on Debian systems that are not available in the official package sources..

image image

You can think of deb packages like exe files in Windows. Software providers provide the packages as downloads for Linux. The subsequent installation works analogously to Windows via a double click or alternatively via the terminal. The packages can be installed on all Debian-based Linux operating systems. In the following, we will show you the installation using Ubuntu.

Install deb packages via the software center

The simplest method is to install via software installation. Here the installation of the deb file is similar to the installation of exe files under Windows. To do this, download the deb file and navigate to its download folder. There you double-click on the file and the software installation will open automatically. Using the example of Ubuntu, the means to an end is called software installation - alternative solutions are opening up in other Debian-based Linux operating systems. The process remains the same. Click on " Install " and the installation will start.

image
The software installation opens automatically with a double click. Here you have to click on "Install". In this way, for example, Google Chrome can be installed.

Install deb packages from the terminal

If you prefer to use the terminal and not the graphical installation, this can of course also be done easily via the apt package manager. The dependencies on other packages are automatically resolved and installed as well. This installation method works on all Debian-based systems..

1st step:

image
Open a terminal either with the key combination [Ctrl] + [Alt] + [T] or click on the corresponding icon. Enter the following command in the terminal: " sudo apt install /PFAD/ZUR/DATEI/NAMEDESPAKETS.deb " and press [Enter] . In our example, the package "google-chrome-stable_current_amd64.deb" is in the path " / home / heisetippstricks / Downloads ".

2nd step:

image
When asked, enter your password and confirm again with [Enter] .

3rd step:

image
The deb package with all its dependencies on other packages is now automatically installed by apt. The program is then available for immediate use.

...