Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > Howto use DAG packages with apt or yum
【标  题】:Howto use DAG packages with apt or yum
【关键字】:Howto,use,DAG,packages,with,apt,or,yum
【来  源】:http://blog.chinaunix.net/article.php?articleId=53952&blogId=2389

Howto use DAG packages with apt or yum

Your Ad Here http://dag.wieers.com/home-made/apt/FAQ.php

B2. How do I install your GPG key/signature ?

Apt, Yum or up2date may require that a GPG key is installed. Please install the key as root before running any of these tools. As root, do the following:

rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

Or alternatively, download this GPG key and install it as root by doing:

rpm --import RPM-GPG-KEY.dag.txt

You can see a list of install keys by doing:

rpm -q gpg-pubkey --qf "%{ summary } -> %{ version }-%{ release }\n"

The fingerprint of my key is: 6b8d79e6-3f49313d

B3. What is Apt and how do I use it ?
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: /packages/apt/. This will make sure your Apt is configured properly.

However, in case you already have Apt installed, please add one of the following statements to /etc/apt/sources.list.d/dag.list:

### Dag RPM Repository for Fedora Core rpm http://apt.sw.be fedora/3/en/i386 dag rpm http://apt.sw.be fedora/2/en/i386 dag rpm http://apt.sw.be fedora/1/en/i386 dag ### Dag RPM Repository for Red Hat Enterprise Linux rpm http://apt.sw.be redhat/el4/en/i386 dag rpm http://apt.sw.be redhat/el3/en/i386 dag rpm http://apt.sw.be redhat/el2.1/en/i386 dag ### Dag RPM Repository for older Red Hat Linux releases rpm http://apt.sw.be redhat/9/en/i386 dag rpm http://apt.sw.be redhat/8.0/en/i386 dag rpm http://apt.sw.be redhat/7.3/en/i386 dag rpm http://apt.sw.be redhat/6.2/en/i386 dag

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:

apt-get install synaptic

Or download it from: /packages/synaptic/

B4. What is Yum and how do I use it ?
Yum is an update-tool written in python. It is younger than Apt, and still lacks some advanced features like pinning and scripting. It also requires at least 128MB RAM to work properly and doesn't have a graphical front-end yet.

You can download Yum from the Freshrpms repository, at: http://apt.freshrpms.net/

If you've installed Yum, please add one of the following sections to /etc/yum.conf (or, when available, as: /etc/yum.repos.d/dag.repo)

[dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1 [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 [dag] name=Dag RPM Repository for older Red Hat Linux baseurl=http://apt.sw.be/redhat/$releasever/en/$basearch/dag gpgcheck=1 enabled=1

If you've done that, the rest is simple. Upgrade your system by doing:

yum update

You can add new software by typing:

yum install <name of package>

Or update installed software:

yum update <name of package>

Or search for software in the local repository meta-data:

yum search <keyword>

Or simply list all available software:

yum list available

From time to time you may want to save some diskspace:

yum clean

没想到Helix流媒体服务器不支持2.6的kernel:【上一篇】
Linux,文化、市场及其他:【下一篇】
【相关文章】
  • Managing CVS access with POSIX Access Control List
  • Fedora Core 4下安装 Gaim1.5.0 + OpenQ 0.3.2
  • Installing Oracle 10g on RHEL AS 3 Step-by-Step
  • 20051017as4上安装oracle10g
  • memory address segment hardwear unit part1
  • Fedora Core 3/4中输入法的管理及Fcitx的安装
  • SLES FAQ -- 允许创建core文件并设置core文件的pattern
  • 在安装完Oracle之后,
  • linux process descriptor
  • Install Postgresql on Red Hat 9 with RPM packages
  • 【随机文章】
  • 对netstat中出现warning, got duplicate tcp line的处理
  • 大战在即
  • Builder与Factory,殊途同归!
  • 脚本验证表单很有用代码,建议收藏!
  • Unlocker 1.8.4
  • 【分享】【10-05】注册精品软件下载
  • VB Pcode破解方法及实例
  • [全程建模]几个建模问题的回答
  • Excel 日期格式的设定
  • WinFX之HelloWorld
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.