0% found this document useful (0 votes)
74 views1 page

3 Ways To Install Software From .Deb Packages in Ubuntu

Uploaded by

Sandow fit2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views1 page

3 Ways To Install Software From .Deb Packages in Ubuntu

Uploaded by

Sandow fit2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

VITUX Home Linux CentOS Debian Ubuntu Shell

Linux Compendium

3 Ways to Install Software from .deb Packages in Ubuntu

When installing software on our Ubuntu systems, our rst choice is from the of cial Ubuntu repositories Try DigitalOcean today and
or the Ubuntu maintained PPA repositories. Unfortunately, not all software is available of cially through get a free $50 credit
Ubuntu and we have to look for other means to install useful software on our systems. One such way is
through the .deb les that are mostly available under the Download section of of cial websites of many
manufacturers. ADS VIA CARBON

In this article, we will explain the following three ways to install software through .deb packages on your
Ubuntu system. We will be using Google Chrome .deb package as an example to explain all three of these
methods: Search
Install .deb package through the Terminal (command line-based approach) Search 
Install .deb package through Ubuntu Software Manager (UI-based approach

and, About This Site


Install .deb package using gdebi (UI-based approach) Vitux.com aims to become a Linux compendium with lots
of unique and up to date tutorials. 
The Google Chrome .deb package can be downloaded to your system from the following link:

https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Save the le preferably to your Downloads folder. Most Popular


We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system. How to Write and Run a C Program in Linux
posted on October 17, 2018 | under Linux, Ubuntu

Install .deb package through the Terminal How to Install XAMPP on your Ubuntu 18.04 LTS System
posted on October 2, 2018 | under Linux, Ubuntu
Open the Ubuntu command line, the Terminal application, either through the system Dash or the
Ctrl+Alt+T shortcut. How to Uninstall Programs from your Ubuntu System
posted on November 6, 2018 | under Linux, Ubuntu
You can then use the dpkg utility in the following syntax in order to install a .deb package that is already
How to use apt Package Manager on Ubuntu Command
residing on your system.
Line
posted on October 23, 2018 | under Linux, Ubuntu
$ sudo dpkg -i [path-to-deb- le]
Get Linux System and Hardware Details on the Command
Example:
Line
posted on August 7, 2018 | under CentOS, Debian, Linux, Shell, Ubuntu
In case we have to install the downloaded Google Chrome .deb package, we will enter the following
command to install the package: How to Shut Down Ubuntu
posted on January 21, 2019 | under Linux, Shell, Ubuntu

$ sudo dpkg –i google-chrome-stable_current_amd64.deb 5 Ways to Check Available Memory in Ubuntu


posted on December 6, 2018 | under Linux, Ubuntu

How to Install and Con gure Apache Web Server on


Note: You need to be a superuser in order to run this command.
Ubuntu
posted on November 23, 2018 | under Linux, Ubuntu

Install NFS Server and Client on Ubuntu 18.04 LTS


posted on November 13, 2018 | under Linux, Ubuntu

How to Install VirtualBox on Ubuntu 18.04 LTS


posted on November 5, 2018 | under Desktop, Linux, Shell, Ubuntu

Google Chrome should now be installed on your system. If you have downloaded the installation
package at any other location, you need to specify the entire path in the dpkg command.

Removal:

If you want to uninstall software through dpkg, you need to specify the program name, rather than the
.deb le name in the following command syntax:

$ sudo dpkg -r [program name]

Example:

This is how I will remove the installed Google Chrome stable version from my system through the dpkg
utility:

$ sudo dpkg -r google-chrome-stable

Install .deb package through Ubuntu Software Manager


We will explain this procedure by using the same Google Chrome .deb package example. The installation
package google-chrome-stable_current_amd64.deb is saved in the Downloads folder.

Open the installation package by double-clicking it from the Downloads folder.

The following window will open in the Ubuntu Software manager:

Click the Install button. You will be asked for authentication as only an authorized user can install a
software in Ubuntu.

Enter your password and click Authenticate. The installation process will now start and you will be able
to see the progress in the following window:

The software will be successfully installed on your system.

Removal:

If you want to uninstall a package installed through this procedure, you can use the apt-get command in
your Ubuntu Terminal as follows:

$ sudo apt-get remove [software-name]

For example, I will be using the following command in order to remove Google Chrome’s stable version
from my system:

$ sudo apt-get remove google-chrome-stable

The system will prompt you with a y/n option in order to con rm initiating the uninstall procedure.
Please enter Y and then hit Enter after which the software will be removed from your system.

Install .deb package using GDebi package installer(UI)


In order to install a .deb package using the gdebi user interface, please follow these steps:

Install GDebi Package Installer


If gdebi is not installed on your system, you can easily install it through the Ubuntu Software manager.

In your Ubuntu desktop Activities toolbar, click the Ubuntu Software icon.

In the following view, click on the search icon and enter gdebi in the search bar. The search results will
display the GDebi Package Installer as follows:

Click on this search entry in order to open the following view:

Click the Install button to begin the installation process. The following authentication dialog will display
for you to provide your authentication details as only an authorized user can install software on Ubuntu.

Enter your password and click the Authenticate button. After that, the installation process will begin,
displaying a progress bar as follows.

GDebi will then be installed to your system and you will get the following message after a successful
installation:

Through the above dialog, you can choose to directly launch GDebi and even Remove it immediately for
whatever reason.

Install a .deb package


We will again use the Google Chrome Stable’s .deb package to explain how to install software through its
.deb le using GDebi package installer.

We will move to the Downloads folder as our .deb le is residing there. There, We will right-click on the
package and select ‘Open with other application’ from the menu.

From the above Select Application dialog, select the GDEbi Package Installer. The package will then be
loaded in gdebi as follows:

Now click the Install Package button in order to initiate the installation procedure. The following
authentication dialog will display for you to provide your authentication details as only an authorized
user can install software on Ubuntu.

Enter your password and click the Authenticate button. After that, the installation process will begin,
displaying a progress bar as follows.

The software will then be installed on your system and can be accessed from the system Dash or the
applications listing.

Removal:

Open the .deb le of the installed software in the Gdebi Package Installer.

GDebi will give you two options that you can choose from; reinstall the package and remove the
package.

Click the Remove Package button from the above view. An authentication dialog will display for you to
provide your authentication details as only an authorized user can remove software on Ubuntu. Enter
your password and click the Authenticate button. After that, the uninstall process will begin, displaying a
progress bar as follows.

You can choose among any of these methods, based on your preferences, in order to install .deb
packages either through the command line or the UI.

Karim Buzdar February 27, 2019 Linux, Ubuntu

← Screen Recording with Kazam on Ubuntu 40+ most used Ubuntu 18.04 Commands →

Copyright © vitux.com Privacy Policy Imprint

You might also like