免费注册 查看新帖 |

Chinaunix

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

提前感受Dapper +1 Edgy Eft [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-29 00:20 |只看该作者 |倒序浏览

               
                呵呵,说是提前感受Edgy Eft,实际这标题有点夸张,不过也跟Edgy Eft有点关系了,相信有看过Mark Shuttleworth的
邮件
的人都知道,Edgy Eft将采用Smart Package Manager,也就是一种新的包管理架构,中文翻译过来或许可以叫做智能包管理器

The Smart Package Manager project has the ambitious
objective of creating smart and portable algorithms for solving
adequately the problem of managing software upgrading and installation.
This tool works in all major distributions, and will bring notable
advantages over native tools currently in use (APT, APT-RPM, YUM,
URPMI, etc).
Notice that this project is not a magical bridge between every distribution in the planet. Instead, this is a software offering better package management for these distributions, even when working with their own packages. Using multiple package managers at the same time (like rpm and dpkg) is possible, even though not the software goal at this moment.  
From The Free On-line Dictionary of Computing:

    smart

      1.  Said of a program that does the {Right Thing} in a wide variety of complicated circumstances. (...)


这是一些特性
现在我们就来感觉一下他到底有多智能,
当然了我们要感受他的智能,首先是要安装他,在
官方网站上
有各种各样的包,不过在dapper下我们还是用apt-get来安装。
sudo apt-get install smartpm
安装好以后他默认会帮我们设置好两个channel也就是频道,现在我们来加入自己的频道,
不过他的频道格式和我们通常的不一样大概是这样子的。
[universe-apt]
type = apt-deb
name = 'universe' deb-repository on:http://ubuntu.cn99.com/ubuntu/
baseurl = http://ubuntu.cn99.com/ubuntu/
distribution = dapper
components = universe
呵呵是不是有点复杂,不过没关系这里有一个脚本可以帮助你把sources.list转换成smartpm需要的格式。
这是转换脚本
下载地址
另外你也可以在gui下加入channel.
sudo smart --gui 启动smartpm的gui界面。

在Edit下面的Channels里面加入Channel.
下面有一两张图你可以参考一下,


                                                                                                            
增加channel以后,你就可以用smartpm来更新系统和安装软件,现在试一下
sudo smart     update  sudo smart upgrade 呵呵!
安装软件可以用sudo smart install smarpm,不一一列举了。
下面是一些参数anthonyho@ubuntu:~$ smart
Usage: smart command [options] [arguments]
Action commands:
    update
    install
    reinstall
    upgrade
    remove
    check
    fix
    download
    clean
Query commands:
    search
    query
    info
    stats
Setup commands:
    channel
    priority
    mirror
    flag
Run "smart command --help" for more information.
Options:
  --version             Show program's version number and exit
  --config-file=FILE    Configuration file (default is /config)
  --data-dir=DIR        Data directory (default is /var/lib/smart/)
  --log-level=LEVEL     Set the log level to level (debug, info, warning,
                        error)
  --gui                 Use the default graphic interface
  --shell               Use the default shell interface
  --interface=NAME      Use the given interface
  --ignore-locks        Don't respect locking
  -o OPT, --option=OPT  Set the option given by a name=value pair
Examples:
  smart install --help
  smart install pkgname
  smart --gui
  smart --gui install pkgname
  smart --shell
anthonyho@ubuntu:~$
个人感觉smartpm还是蛮强大的,架构也不错,并且支持多种格式,各种系统。蛮值得大家都 试一下。
ps:在rpm环境下也可以使用,smarpm支持的有

  • APT-DEB Repository

  • APT-RPM Repository

  • DPKG Installed Packages

  • Mirror Information

  • Red Carpet Channel

  • RPM Directory

  • RPM Header List

  • RPM MetaData (YUM)

  • RPM Installed Packages

  • Slackware Repository

  • Slackware Installed Packages

  • URPMI Repository

模块化,(全新的包处理算法)智能处理,多种运行界面(命令行,图形界面,shell交互方式),多种包格式支持,智能优先级系统,镜像自动平衡下载,多种下载机制,可移动媒介支持......你还不心动吗?
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6171/showart_106367.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP