How to install .deb file in Ubuntu

How to install .deb file in Ubuntu

How to install .deb file in Ubuntu

I used to download and double click .deb file to open through Ubuntu Package Manager and install.
Today one of .deb file did open in package manager but nothing happened when I click on install…

so thought of installing .deb file by another way … and i could get the steps here to install any .deb file whithout any error and its more faster that installing through package manager.

Download .deb file and keep it in a folder
from terminal type
$ sudo dpkg -i path to the deb file and followed by sudo apt-get install -f
e.g. path to the deb file is /home/username/Downloads/skypeforlinux-64.deb
command should be
$ sudo dpkg -i /home/username/Downloads/skypeforlinux-64.deb
this normally move the deb file to /var/cache/archives/
after running this command successfully, please type
$ sudo apt-get install -f

and now you have installed Skype successfully.

you may also like : Basic easy steps to install Apache, PHP, MySql and PhpMyAdmin in Ubuntu

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.