Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that Deb files cannot be installed on Ubuntu 20.04

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to solve the problem that you cannot install Deb files on Ubuntu 20.04. maybe many people do not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

The deb file cannot be installed through the software center of Ubuntu 20.04? You are not the only one with this problem.

Can not be installed through the software center of Ubuntu 20.04 after double-clicking the .deb file? You are not the only one with this problem. This tutorial shows the solution.

I find this strange because using the deb file to install the program is one of the easiest ways. All you have to do is double-click the downloaded file and it will open in the Software Center (by default). Click install, which requires you to enter a password and install the software in seconds / minutes.

I have not encountered this problem until today when I upgraded from 19.10 to Ubuntu 20.04.

I downloaded the .deb file to install Rocket Chat Messenger, and then double-click the file to install, and the file is opened with the archive manager. This is not what I expected.

Install the deb file in Ubuntu 20.04

For some reason, the default opener for deb files in Ubuntu 20.04 is set as the Archive Manager. The Archive Manager is used to extract zip and other compressed files.

The solution to this problem is very simple. Change the default application in Ubuntu to change the open DEB file from Archive Manager to Software installation. Let me tell you the steps.

Step 1: right-click the downloaded .deb file and select Properties:

Step 2: go to the "Open with" tab, select "Software installation", and then click "set as default".

In this way, all future .deb files will be opened through "Software installation", that is, the Software Center.

Double-click the .deb file to confirm that it is opened in the Software Center.

Ignored bug or stupid function?

Why you use the Archive Manager to open the deb file is incomprehensible. I really hope this is a bug, not a weird feature like Ubuntu 20.04 that doesn't allow you to drag and drop files on the desktop.

Since we're talking about installing deb files, let me tell you about a nice tool, gdebi. It is a lightweight application whose sole purpose is to install DEB files. Sometimes it can also deal with dependencies.

After reading the above, do you have any further understanding of how to solve the problem of not installing Deb files on Ubuntu 20.04? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report