论坛风格切换切换到宽版
  • 1754阅读
  • 6回复

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

上一主题 下一主题
 
发帖
1986
C币
-605149
威望
377
贡献值
4
银元
-2
铜钱
4410
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
刚接触debian,由于某些原因需要安装他的一.些包,但我从他网站.上搜索的时候提示说有一些依赖包也需要安装,有没有什么办法或者命令可以直接打包安装.所有的依赖包?不会真的是让我手动下载所有的依赖包进行安装吧???           女人
另外我用apt.-get install 进行搜索的时候提示没.有我要的包,才去网站上下的(        游戏          )

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

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线neverbye.
发帖
2058
C币
-60785
威望
381
贡献值
1
银元
0
铜钱
4567
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[Debian]
.deb吗?

dpkg -i

离线jjp1.
发帖
2066
C币
-60377
威望
392
贡献值
1
银元
-2
铜钱
4743
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[Debian]
没人知道么??难道大家都是一个包一个包的装么????

离线max007158.
发帖
2034
C币
-60516
威望
379
贡献值
1
银元
-2
铜钱
4587
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:[Debian]
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:

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

离线ghjp.
发帖
1950
C币
-60699
威望
382
贡献值
1
银元
-1
铜钱
4379
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:[Debian]
最好用apt-get 这样可以不用自己解决依赖问题,如果自己下载安装包一般安装比较复杂

发帖
2055
C币
-235906
威望
360
贡献值
1
银元
-1
铜钱
4622
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:[Debian]
apt-get install package-name 这样会提示的,如果还缺少什么包,就直接再加在后来就行了,apt很牛,可以解决大部分的软件依赖问题,我喜欢ubuntu

离线jjp1.
发帖
2066
C币
-60377
威望
392
贡献值
1
银元
-2
铜钱
4743
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-13
Re:[Debian]
如果用 apt-get install xxxx ,找不到你要的包,一般都是你的源没有配置好。基本上没有找不到的软件。

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

此外,刷新本地包数据库后,还可以用 apt-cache search *xx*来搜索需要的软件包名称。
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个