博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用gdebi去解决安装deb包的时候软件依赖问题
阅读量:7084 次
发布时间:2019-06-28

本文共 792 字,大约阅读时间需要 2 分钟。

概述

我以前都是这样去安装一个deb包的,首先直接安装这个包

sudo dpkg -i

之后可能会有依赖问题,所以

sudo apt install -f

这样虽然可以解决一些问题但是还不够方便

使用gdebi安装我们的deb包

首先我们安装gdebi

sudo apt install gdebi-core

之后我们可以尝试去安装一个包

下载 sudo gdebi megacmd-xUbuntu_18.04_amd64.deb [sudo] bboysoul 的密码: Reading package lists... DoneBuilding dependency tree        Reading state information... DoneReading state information... DoneMEGA Command Line Interactive and Scriptable Application MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via shell interaction. It features 2 modes of interaction  - interactive. A shell to query your actions  - scriptable. A way to execute commands from a shell/a script/another program.您是否想安装这个软件包?[y/N]:

在安装之前它就把所有的依赖给列出来了,以后就可以不用两步走了

欢迎关注Bboysoul的博客

Have Fun

转载地址:http://hpmml.baihongyu.com/

你可能感兴趣的文章
E21-unable to bind listening socket for address '127.0.0.1:9000': Address already in use
查看>>
机器智能加速器:大数据环境下知识工程的机遇和挑战 | 清华李涓子教授
查看>>
使用函数的正确姿势
查看>>
给孩子取名时的重点分析
查看>>
OkHttp网络请求
查看>>
使用apiDocjs快速生成接口文档
查看>>
非系统ID如何执行系统命令
查看>>
Redis介绍与安装
查看>>
使用 ascii 码对 String 类型进行二分查找
查看>>
Spring Boot教程(三)Spring Boot日志管理
查看>>
解决ubuntu命令行中文显示为问号的问题
查看>>
如何在.NET应用中访问以太坊智能合约【Nethereum】
查看>>
阿里云—Gartner 2018 亚太区WAF魔力象限唯一云WAF提供商
查看>>
mysql 数据类型
查看>>
opengl es3.0学习篇六:矩阵和opengl es坐标
查看>>
46.LNMP架构介绍 mysql及PHP-fpm安装 Nginx介绍
查看>>
Bytom矿池接入协议指南
查看>>
修复网站漏洞对phpmyadmin防止被入侵提权的解决办法
查看>>
awstats导入旧日志
查看>>
python基础知识总结
查看>>