How to install deb file in Ubuntu
I will show you in this tutorial, how to install any debian package or .deb file on ubuntu Linux.
Exist 3 method to install .deb package on Ubuntu/Debian Linux System.
1st method
open new terminal window and type the following command :
sudo dpkg -i path_to_your_package.deb
Example :
brahim@brahim-desktop:~$ sudo dpkg -i yuranpad_2.4_i386.deb
[sudo] password for brahim:
(Reading database ... 385376 files and directories currently installed.)
Preparing to unpack yuranpad_2.4_i386.deb ...
Unpacking yuranpad (2.4) over (2.4) ...
Setting up yuranpad (2.4) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint8) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
2nd method
Double click on your .deb package and click install then will ask you to enter superuser account password for your Ubuntu Linux.
3rd method
Open new terminal window and type the following command :
sudo apt install name_of_your_application
And reply with Yes
Example :
sudo apt install audacity
brahim@brahim-desktop:~$ sudo apt install audacity
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
audacity-data libflac++6v5 libid3tag0 libportsmf0v5 libsuil-0-0 libvamp-hostsdk3v5
Suggested packages:
ladspa-plugin
The following NEW packages will be installed:
audacity audacity-data libflac++6v5 libid3tag0 libportsmf0v5 libsuil-0-0 libvamp-hostsdk3v5
0 upgraded, 7 newly installed, 0 to remove and 6 not upgraded.
Need to get 5,449 kB of archives.
After this operation, 23.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
You can also search for package name with apt, this helps to retrieve packages names and then install them with sudo apt install name_of_package_you_found
Example :
sudo apt search audacity
p audacity - fast, cross-platform audio editor
p audacity-data - fast, cross-platform audio editor (data)