我安装的是微软浏览器,下载后打开终端(到安装包位置)
我使用的是dpkg命令,是专门为.deb文件开发的管理系统,
用法如下:
-i|–install <.deb 文件名> … | -R|–recursive <目录> …
–unpack <.deb 文件名> … | -R|–recursive <目录> …
-A|–record-avail <.deb 文件名> … | -R|–recursive <目录> …
–configure <软件包名> … | -a|–pending
–triggers-only <软件包名> … | -a|–pending
-r|–remove <软件包名> … | -a|–pending
-P|–purge <软件包名> … | -a|–pending
-V|–verify <软件包名> … 检查包的完整性。
–get-selections [<表达式> …] 把已选中的软件包列表打印到标准输出。
–set-selections 从标准输入里读出要选择的软件。
–clear-selections 取消选中所有不必要的软件包。
–update-avail <软件包文件> 替换现有可安装的软件包信息。
–merge-avail <软件包文件> 把文件中的信息合并到系统中。
–clear-avail 清除现有的软件包信息。
–forget-old-unavail 忘却已被卸载的不可安装的软件包。
-s|–status <软件包名> … 显示指定软件包的详细状态。
-p|–print-avail <软件包名> … 显示可供安装的软件版本。
-L|–listfiles <软件包名> … 列出属于指定软件包的文件。
-l|–list [<表达式> …] 简明地列出软件包的状态。
-S|–search <表达式> … 搜索含有指定文件的软件包。
-C|–audit [<表达式> …] 检查是否有软件包残损。
–yet-to-unpack 列出标记为待解压的软件包。
–predep-package 列出待解压的预依赖。
–add-architecture <体系结构> 添加 <体系结构> 到体系结构列表。
–remove-architecture <体系结构> 从架构列表中移除 <体系结构>。
–print-architecture 显示 dpkg 体系结构。
我使用的命令如下
sudo dpkg -i microsoft-edge-stable-111.0.1_amd64.deb
就可以啦