How to install .deb file in Ubuntu


In OpenSUSE we can install apps from repository using snap install command command. Linux apps comes in many formats, some of them come in binary, rpm and so on. So how do we install apps from a .debian binary file

We can use dpkg to install .deb file in Ubuntu and OpenSUSE.

After that open the corresponding file folder in console. and execute the command. ( in the example I have typora debian file )

sudo dpkg -i typora_0.9.96_amd64.deb

How to install .deb file in OpenSUSE/Linux


In OpenSUSE we can install apps from repository using Zypper install command command. Linux apps comes in many formats, some of them come in binary, rpm and so on. So how do we install apps from a .debian binary file

We can use dpkg to install .deb file in Ubuntu and OpenSUSE. By default SUSE don’t have the dpkg package, we should install it first using

sudo Zypper install dpkg

After that open the corresponding file folder in console. and execute the command. ( in the example I have typora debian file )

sudo dpkg -i typora_0.9.96_amd64.deb