Using dpkg to install a local .deb file

The Atom editor is not available via the Ubuntu software repository (i.e. via the apt tool), so it has to be installed by downloading the .deb file (e.g. atom-amd64.deb) and then manually installing. I have had some trouble with the Ubuntu GUI software manager, Ubuntu Software (I am running Ubuntu 16.04) so I prefer the command line when possible.

In order to “manually” install the .deb file I referred to this entry, which worked perfectly. My terminal session, from the directory containing the .deb file:

foomanchoo@foomanchoopc:~$ sudo dpkg -i atom-amd64.deb
Selecting previously unselected package atom.
(Reading database ... 299299 files and directories currently installed.)
Preparing to unpack atom-amd64.deb ...
Unpacking atom (1.9.8) ...
Setting up atom (1.9.8) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

And that’s it. No dependencies, it just installed. See also this unix.stackexchange entry.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s