2006年06月28日

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).

smart 是一個支援各種協定(apt apt-rpm yum urpmi 等等)的一個套件管理工具
會玩 smart 主要也是因為在 SuSE 上的 zen-updater Yast2 等套件管理的功能實在 ooxx
上網問到的答案,就是改用 smart.....XD
因此,也稍微玩了一下 smart,算是一個不錯的套件管理工具,在 SuSE、FC5、Ubuntu 裡都可以使用

* for SuSE:
先把 smart smart-gui 給裝起來,在 SuSE 的安裝光碟裡就有了
$ sudo yast -i smart smart-gui

圖形介面的 smart,可以直接執行
$ sudo smart --gui
或是到選單中執行:
應用程式-系統-組態-智慧型

接下來就是要加入 Channels 了
先到選單中的 "Edit-Channels"
可以新增 Channels
我找到的一些常用的 Channels 整理如下:


SuSE 10.1 -- Main (inst-source)
type yast2:
ftp://ftp.cs.pu.edu.tw/Linux/OpenSuse/distribution/SL-10.1/inst-source



SuSE 10.1 -- Extras (non-oss-inst-source)
type yast2:
ftp://ftp.cs.pu.edu.tw/Linux/OpenSuse/distribution/SL-10.1/non-oss-inst-source



SuSE 10.1 -- Update
type rpm-md:
ftp://ftp.cs.pu.edu.tw/Linux/SuSE/suse/update/10.1/



Packman to the rescue - MULTIMEDIA codecs/programs are HERE!
type rpm-md:
http://packman.mirrors.skynet.be/pub/packman/suse/10.1/



Guru's repository
Here you can find a lot of thing for example many oss programs,
amarok beta packages, fonts and themes plus much more.
type rpm-md:
http://ftp.skynet.be/pub/suser-guru/rpm/10.1/RPMS/



usr-local-bin.org
- Created by James Ogley, contains mainly GNOME packages, but also other packages...
type yast:
ftp://ftp.gwdg.de/pub/linux/usr-local-bin/10.1



Latest Mozilla.org packages
type rpm-md:
ftp://ftp.suse.com/pub/projects/mozilla/10.1



Latest KDE applications
type rpm-md:
http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.1



XGL + Compiz
type rpm-md:
http://software.opensuse.org/download/Compiz-Quinn/SUSE_Linux_10.1


* for FC5
先把 smart 裝起來,在 Fedora Extras 中有
$ sudo yum install smart smart-gui smart-update
執行圖形化介面:
$ sudo smart-root
或到選單中去選:
應用程式-系統工具-Smart Package Manager

一些我常用的 Channels 整理如下:
底下都是使用 yum 所以 type=rpm-md

fedora-core ftp://cle.linux.org.tw/pub/fedora/core/5/i386/
fedora-extras ftp://cle.linux.org.tw/pub/fedora/extras/5/i386/
fedora-updates ftp://cle.linux.org.tw/pub/fedora/core/updates/5/i386/

cle ftp://cle.linux.org.tw/pub/fedora/cle/5/i386/
freshrpms ftp://cle.linux.org.tw/pub/freshrpms/ayo/fedora/linux/5/i386/freshrpms/
livna ftp://cle.linux.org.tw/pub/livna/5/i386/

aiglx http://download.fedora.redhat.com/pub/fedora/projects/aiglx/i386/
Xgl http://users.telenet.be/quenta/5/i386/



* for Ubuntu 6.06
安裝 smart
$ sudo apt-get install smartpm
執行圖形化介面:
$ sudo smart --gui


* 結語
Smart Package Manager 算是一個很不錯的套件管理程式
尤其在 SuSE 中,不改用 smart 光套件更新可能就把你搞死了(慢到爆 + 有 Bugs)
而在 FC5 上,smart 的效率算是不錯,也可以整合 apt 及 yum 的 repository (yumex 的速度也是有點慢到讓我 ooxx)
而在 Ubuntu Dapper 上,Synaptic 用起來比起 SuSE or FC5 底下的套件管理程式,實在是好用許多,且速度又快效率又好
因此,要不要用 smart 看個人喜好 (我都是 aptitude or synaptic 一起在用的...^^)


Posted by candyz0416 at 樂多Roodo! │11:25 │回應(0)軟體
樂多分類:網路/3C 工具:加入樂多書籤編輯本文
Ads by Roodo!