免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9433 | 回复: 7
打印 上一主题 下一主题

debian网站上下载的安装包如何安装他的所有依赖包? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-07-16 13:40 |只看该作者 |倒序浏览
刚接触debian,由于某些原因需要安装他的一些包,但我从他网站上搜索的时候提示说有一些依赖包也需要安装,有没有什么办法或者命令可以直接打包安装所有的依赖包?不会真的是让我手动下载所有的依赖包进行安装吧???
另外我用apt-get install 进行搜索的时候提示没有我要的包,才去网站上下的

[ 本帖最后由 wine 于 2009-7-16 14:28 编辑 ]

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
2 [报告]
发表于 2009-07-16 14:07 |只看该作者
.deb吗?

dpkg -i

论坛徽章:
0
3 [报告]
发表于 2009-07-16 14:27 |只看该作者
哈哈,谢谢楼上的,没看清我说的是啥吧,我说如何一次性安装所有的依赖包

论坛徽章:
0
4 [报告]
发表于 2009-07-16 16:29 |只看该作者
没人知道么??难道大家都是一个包一个包的装么????

论坛徽章:
0
5 [报告]
发表于 2009-07-16 21:40 |只看该作者
How do I use Apt ?
Apt originally was developed by the Debian project to work together with DEB packages. Since there are not many functional differences between RPM and DEB packages, Conectiva ported Apt to use RPM.

To install Apt, download the latest package for your distribution from: http://dag.wieers.com/packages/apt/. The configuration of Apt is inside the rpmforge-release package.

If you've done that, the rest is simple. Update the local repository meta-data by doing:

apt-get update
You can upgrade your system with the latest packages with:

apt-get upgrade
And finally you can add new software by typing:

apt-get install <name of package>
Or search for software in the local repository meta-data:

apt-cache search <keyword> apt-cache show <name of package>
From time to time you may want to save some diskspace:

apt-get clean
Remember to update your local repository often before upgrading or installing software, so that you can enjoy the latest and greatest.

Some people rather use a graphical program to select and install packages. Apt has a nifty graphical front-end, called Synaptic. You can install it by doing:

。。。。。。。。。。。。。。。。。

论坛徽章:
0
6 [报告]
发表于 2009-10-06 14:55 |只看该作者
最好用apt-get 这样可以不用自己解决依赖问题,如果自己下载安装包一般安装比较复杂

论坛徽章:
0
7 [报告]
发表于 2009-10-06 15:28 |只看该作者
apt-get install package-name 这样会提示的,如果还缺少什么包,就直接再加在后来就行了,apt很牛,可以解决大部分的软件依赖问题,我喜欢ubuntu

论坛徽章:
0
8 [报告]
发表于 2009-10-06 17:07 |只看该作者
如果用 apt-get install xxxx ,找不到你要的包,一般都是你的源没有配置好。基本上没有找不到的软件。

设置好source.list 后,还需要用 apt-get update 刷新本地的软件包数据库。才能apt-get intall xxx。

此外,刷新本地包数据库后,还可以用 apt-cache search *xx*来搜索需要的软件包名称。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP