Install .deb package in linux ubuntu or mint

As Ubuntu is based on Debian, and Linux mint is made from Ubuntu, the software with Debian (.deb extension), will work on both.

Here is how..

Step 1:

Download the software with .deb extension.

For eg:

Step 2:

Copy the file to your Downloads folder.

Step 3:

Open your terminal (Ctrl + Alt + T)

Step 4:

Type the following code

cd Downloads

Now your Downloads folder will be opened in Terminal.

Note: If your downloads folder is named as “Downloads” and you type, “cd downloads” will not work. It should be strictly “cd Downloads” with capital “D”.

By default, the downloads folder is named as “Downloads”.

Step 5:

Now its time to execute or run the debian package in the Downloads folder.

Type the following code.

sudo dpkg -i [TYPE YOUR FILE NAME]

For eg: sudo dpkg -i

Now your file will be installed.

Note: You should type the right file name in the code. You may copy paste the file name with extension to the terminal.

Close the terminal, after the installation is finished.

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 )

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

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