YouTube Icon

Code Playground.

How to Install Deb Files (Packages) on Ubuntu

CFG

How to Install Deb Files (Packages) on Ubuntu

Deb is the establishment bundle design utilized by all Debian based dispersions. 

The Ubuntu vaults contain a huge number of deb bundles that can be introduced either from the Ubuntu Software Center or from the order line utilizing the adept and well-suited get utilities. 

Numerous applications are excluded from the Ubuntu or any outsider vaults. Those applications must be downloaded from the engineer's sites and introduced physically. Be extra cautious when introducing deb bundles from informal sources. 

In this instructional exercise, we will disclose how to introduce deb records on Ubuntu 18.04. Similar directions apply for Ubuntu 16.04 and any Debian based appropriation, including Debian, Linux Mint and Elementary OS. 

Downloading deb Files

For the motivations behind exhibit, we will download and introduce the TeamViewer deb document . TeamViewer is an across the board answer for distant help, work area sharing, online gatherings, and document move between PCs. 

Dispatch your internet browser and explore to the TeamViewer for Linux download page . Download the deb bundle by tapping on the Ubuntu and Debian download connect. 

On the off chance that you lean toward the terminal, you can download the deb record with wget or twist : 

wget --no-check-certificate https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
curl -k -O -L https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

Installing deb Files from the Command Line

With regards to introducing deb bundles from the order line you have a few devices available to you. In the accompanying areas, we will tell you the best way to utilize adept, gdebi, and dpkg utilities to introduce deb bundles. 

Installing deb files with apt

well-suited is an order line utility for introducing, refreshing, eliminating, and in any case overseeing deb bundles on Ubuntu, Debian, and related Linux conveyances. It was presented in Ubuntu 14.04 and consolidates the most regularly utilized orders from well-suited get and adept store. 

To introduce nearby deb bundles with able you need to give the full way to the deb record. In the event that the record is situated in your present working index as opposed to composing the supreme way, you can prepend ./before the bundle name. Something else, adept will attempt to recover and introduce the bundle from Ubuntu's vaults. 

sudo apt install ./teamviewer_amd64.deb

 

You will be provoked to type Y to proceed: 

...
0 upgraded, 84 newly installed, 0 to remove and 64 not upgraded.
Need to get 21.0 MB of archives.
After this operation, 66.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

The able bundle supervisor will resolve and introduce all the bundle conditions. 

Installing deb files with gdebi

gdebi is a device for introducing nearby deb bundles. It isn't introduced as a matter of course in Ubuntu, yet you can introduce it with the accompanying order: 

sudo apt install gdebi

To introduce the deb bundle with gdebi type: 

sudo gdebi teamviewer_amd64.deb
...
Do you want to install the software package? [y/N]:

Type y when incited and gdebi will resolve and introduce the deb bundle and every one of its conditions for you. 

Installing deb files with dpkg

dpkg is a low-level bundle chief for Debian-based frameworks. Utilize the - I (or - introduce) choice to introduce deb bundles with dpkg. 

sudo apt install ./teamviewer_amd64.deb

 

In contrast to adept and gdebi, dpkg doesn't resolve conditions. On the off chance that you get any reliance blunders when introducing deb bundles, you can utilize the accompanying adept order to determine and introduce all bundle conditions: 

sudo apt install -f

Installing deb Packages using GUI

In the event that you like to utilize a graphical interface, basically download the deb record and open it with a double tap. 

This will open the default distro Graphical Software Center: 

Snap on the Install button and the Authenticate exchange box will open. 

Enter the authoritative secret word and snap on the Authenticate button. 

The establishment may take some time contingent upon the record size and its conditions. When the deb bundle is introduced, the "Introduce" button inside the Ubuntu Software Center will change to "Eliminate". 

That is all, the application has been introduced on your framework and you can begin utilizing it. 

Conclusion

We have told you the best way to introduce nearby deb documents in Ubuntu. When introducing bundles from the order line favor utilizing adept as it will resolve and introduce all the bundle conditions. 

Don't hesitate to leave a remark on the off chance that you have any inquiries.




CFG