

Apt package management is capable to resolve dependencies and download from network repositories. This tells the Apt package manager to complete the unfinished installations. In case the installation failed with dependencies, issue the next command to complete the installation process. The above command will install the defined package on the command line.

sudo dpkg -i google-chrome-stable_current_b Then issue the following command to install google-chrome-stable_current_b file. Then use dpkg command to install locally downloaded deb file.įor example, I have downloaded the Google Chrome Debian file in the local system. Before installation, download or copy the deb file in the local drive. deb file with dpkgĭpkg is a command-line tool to install, build, remove and manage Debian packages. This tutorial will help you to install deb files on Ubuntu and other Debian-based systems. Another apt command is a powerful command-line tool, which works with Ubuntu’s Advanced Packaging Tool, and helps in managing Debian packages. Run the wget command below to download, and save the Chrome deb package ( google-chrome-stable_current_b) to your Downloads directory.The Ubuntu and other Debian based systems provides dpkg (Debian Package Management System) for directly installing. But no worries, this tutorial has got you covered.

Why? Because Google Chrome is not really an open-source project but Google-owned. For this tutorial, you’ll download the Chrome deb package from Google.Īt this time of writing, Google Chrome packages are unavailable in the default Ubuntu repositories.

Related: How to Install Ubuntu 20.04 Downloading a Deb Package and Listing its Dependenciesīefore installing a deb package, your goal is first to download the deb package. This tutorial uses Ubuntu 20.04, but any modern version of Ubuntu will work. If you’d like to follow along, be sure you have an Ubuntu system set up. This tutorial will be a hands-on demonstration. Read on to get your hands dirty with Ubuntu package management! Prerequisites In this tutorial, you’ll learn many ways to install deb packages on Ubuntu, what can go wrong, and how you can fix it. In such cases, you can install the software by manually downloading and installing the deb file. Installing packages doesn’t always follow the same steps as when you plan to install a deb package on Ubuntu that is not available in the default repositories.
