{"id":392209,"date":"2022-01-10T22:00:36","date_gmt":"2022-01-10T19:00:36","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-install-a-deb-file-in-linux\/"},"modified":"2022-01-10T22:00:36","modified_gmt":"2022-01-10T19:00:36","slug":"how-to-install-a-deb-file-in-linux","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-install-a-deb-file-in-linux\/","title":{"rendered":"#How to Install a DEB File in Linux"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2e208000d1d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2e208000d1d\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-a-deb-file-in-linux\/#What_Is_a_DEB_File_Anyway\" >What Is a DEB File Anyway?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-a-deb-file-in-linux\/#How_to_Install_DEB_Files\" >How to Install DEB Files<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-a-deb-file-in-linux\/#Install_DEB_Files_Graphically\" >Install DEB Files Graphically<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-a-deb-file-in-linux\/#Install_DEB_Files_in_the_Terminal\" >Install DEB Files in the Terminal<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#How to Install a DEB File in Linux&#8221;<\/strong><\/p>\n<div>\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage alignnone size-full wp-image-775205\" data-pagespeed-lazy-srcset=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/How-to-Install-DEB-Files-In-Ubuntu.png?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/How-to-Install-DEB-Files-In-Ubuntu.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/How-to-Install-DEB-Files-In-Ubuntu.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"How to Install DEB Files In Ubuntu\" width=\"1200\" height=\"675\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>So, you finally installed Linux and when <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">download<\/a>ing your favorite app you got a file with the \u201c.deb\u201d extension. Now what? In this article, let\u2019s look at the two ways you can easily install apps using DEB files on Linux.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Is_a_DEB_File_Anyway\"><\/span>What Is a DEB File Anyway?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A file ending with \u201c.deb\u201d is called a Debian Software Package file, and it\u2019s used to install apps on Linux. DEB files are used only in Debian-based Linux distributions like Ubuntu and its various flavors, Pop!_OS, Linux Mint, and others. That means distributions based on Arch or Fedora won\u2019t be able to install it.<\/p>\n<p>If you\u2019re coming to Linux after using Windows for a long time, you might be tempted to think of DEB files as similar to EXE files. A file that ends with \u201c.exe\u201d is a Windows executable file used to install and run Windows programs. However, it\u2019s not the same as a DEB file. EXE files come with pre-compiled source code, whereas you need an application to install DEB files, compile the file\u2019s contents, and install it on Linux.<\/p>\n<p>Think of pre-compiled code as instant cup noodles. All you need to do is pour hot water (double-click on the file), mix it well (follow the instructions in the installer wizard), and eat it (start using the application). On the other hand, think of a DEB file as the ingredients you need for a recipe. You\u2019ll need to put and mix everything and cook them to get the final dish ready. Fortunately, you have free apps that will take care of the process for you.<\/p>\n<p>GDebi and Eddy are some of the popular package installers that are used to install DEB files. However, distributions like Ubuntu open DEB packages in the software center by default, where you can click on install, and the app will be installed for you. You can also install GDebi to install DEB packages.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Install_DEB_Files\"><\/span>How to Install DEB Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can install DEB files\u00a0using both the graphical desktop (GUI) and the Terminal. We\u2019ll go through both methods so that you can choose the one that looks easy.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Install_DEB_Files_Graphically\"><\/span>Install DEB Files Graphically<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Download the DEB package of the app you want to install. Let\u2019s install Slack for this tutorial.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774265\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/download-slack-and-save-the-.deb-file.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"download slack and save the .deb file\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>After downloading, double-clicking on the file will load the contents of the package in Ubuntu Software, or whatever software manager your distribution uses.<\/p>\n<p>Once it loads up, all you need to do is click on the \u201cInstall\u201d button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-775204\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/install-slack-from-Ubuntu-software-center.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"install slack from Ubuntu software center\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If for some reason the software manager doesn\u2019t open, you can install a package using GDebi or the <code>dpkg<\/code> command.<\/p>\n<p>If you don\u2019t have it already, open the terminal to begin installing GDebi.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774266\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/open-the-terminal-to-install-gdebi.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"open the terminal to install gdebi\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Type the following command and hit enter.<\/p>\n<pre>sudo apt install gdebi<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-774267 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/install-gdebi-using-apt.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"install gdebi using apt\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once installation is complete, head over to the location of the DEB package that you downloaded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774272\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/go-to-the-.deb-file-location.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"go to the DEB file location\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If you\u2019re using Ubuntu, right-click on the app package and click on \u201cOpen With Other Application.\u201d Otherwise, look for another \u201cOpen With\u201d option, or try double-clicking the file.<\/p>\n<p>Find and click on GDebi Package Installer, and finally, click on select.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774273\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/select-GDebi-package-installer.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"select GDebi package installer\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The GDebi package installer will now open and retrieve the details of the package you want to install.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774274\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/Install-package-button-in-GDebi.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Install package button in GDebi\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Finally, click on the \u201cInstall Package\u201d button and give it some time to install.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774275\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/GDebi-installing-Slack.deb_.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"GDebi installing Slack.deb\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You should now see the application in the applications list.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774277\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/slack-in-ubuntu-applications.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"slack in ubuntu applications\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Install_DEB_Files_in_the_Terminal\"><\/span>Install DEB Files in the Terminal<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you\u2019re comfortable using the terminal, the <code>dpkg<\/code> (Debian Package) command can install DEB files for you. Here\u2019s how to use it.<\/p>\n<p>Open the terminal. Then cd into the directory where the downloaded DEB file resides. In our case, the file is in the Downloads directory.<\/p>\n<pre>cd Downloads<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774294\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/go-to-the-directory.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"go to the directory\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Type the <code>dpkg<\/code> command followed by the package name and hit Enter. Here\u2019s an example.<\/p>\n<pre>sudo dpkg -i \"package_name.deb\"<\/pre>\n<p>Replace <code>package_name.deb<\/code> with the name of your package (but keep the quote marks), then hit Enter, and the installation should begin. You\u2019ll probably be asked to enter the administrator password.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-774296\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/install-the-app-using-dpkg.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"install the app using dpkg\" width=\"650\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Alternatively, you can go to the file location using the default file manager, type <code>sudo dpkg -i<\/code>, drag and drop the file into the terminal, and hit Enter to install it.<\/p>\n<p>Whichever method you use with <code>dpkg<\/code>, we recommend checking that any necessary dependencies are installed before running the app. <code>dpkg<\/code> doesn\u2019t check to make sure your system has everything it needs to run the program, but <code>apt<\/code> can do it for you.<\/p>\n<pre>sudo apt install -f<\/pre>\n<p>If anything is installed on your PC that needs additional dependencies, <code>apt<\/code> will help you install them. Then you\u2019re free to run your program!<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>10 Basic Linux Commands for Beginners<\/em><\/strong><\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/772548\/how-to-install-a-deb-file-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How to Install a DEB File in Linux&#8221; So, you finally installed Linux and when downloading your favorite app you got a file with the \u201c.deb\u201d extension. Now what? In this article, let\u2019s look at the two ways you can easily install apps using DEB files on Linux. What Is a DEB File Anyway? A&#8230;<\/p>\n","protected":false},"author":1,"featured_media":392210,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/12\/How-to-Install-DEB-Files-In-Ubuntu.png?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-392209","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/392209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=392209"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/392209\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/392210"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=392209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=392209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=392209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}