免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] PKGNG启用了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-31 17:30 |只看该作者 |倒序浏览
本帖最后由 ulovko 于 2013-10-31 19:11 编辑

不见zeissoctopus 君
We are pleased to announce that official binary packages are now
available for pkg, the next generation package management tool for FreeBSD.

Pkg allows you to either use ports with portmaster/portupgrade or to
have binary remote packages without ports.

We have binary packages available for i386 and amd64 on
8.3,8.4,9.1,9.2,10.0 and 11 (head).

Pkg will be the default starting in FreeBSD 10.

The pkg_install suite of tools pkg_create(1), pkg_add(1), and
pkg_info(1) (which ports also use), are deprecated and will be
discontinued in roughly 6 months. A communication regarding the
deprecation of the pkg_install suite of tools will be sent separately in
the future.

If you are currently not using pkg and wish to, run the following as
root. Be sure not to add WITH_PKGNG=yes to your make.conf until after
pkg is installed.

  # cd /usr/ports/ports-mgmt/pkg && make install clean
  # echo WITH_PKGNG=yes >> /etc/make.conf
  # pkg2ng

You can now either continue to use ports with portmaster/portupgrade, as
before or switch to using binary packages only.


To use binary packages:

1. Ensure your pkg(8) is up-to-date. 'pkg -v' should say at least
   1.1.4_8. If it does not, first upgrade from ports.
2. Remove any repository-specific configuration from
   /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY.
   If this leaves your pkg.conf empty, just remove it.
3. mkdir -p /usr/local/etc/pkg/repos
4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with:
FreeBSD: {
  url: "http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  enabled: "yes"
}

* Note that pkg.FreeBSD.org does not have a browsable web page on it and
does not have a DNS A record. This is intended as it is an SRV host.
pkg(8) knows how to properly use it. You can use 'pkg search' to browse
the available packages in the repository.

Mirrors you may use instead of the global pkg.FreeBSD.org:

    pkg.eu.FreeBSD.org
    pkg.us-east.FreeBSD.org
    pkg.us-west.FreeBSD.org

Your system is now ready to use packages!

Refer to the handbook section on pkgng for usage at
http://www.freebsd.org/doc/en_US ... k/pkgng-intro.html.
Also see 'man pkg' for examples or 'pkg help'.


Packages are built weekly from a snapshot of the Ports Collection every
Wednesday morning 01:00 UTC. They typically will be available in the
repository after a few days.

Pkg 1.2 will be released in the coming month which will bring many
improvements including officially signed packages. FreeBSD 10's pkg
bootstrap now also supports signed pkg(8) installation.


Regards,
Bryan Drewery
on behalf of portmgr@


建议禁用表情

评分

参与人数 1可用积分 +10 收起 理由
ulovko + 10 赞一个!

查看全部评分

论坛徽章:
0
2 [报告]
发表于 2013-10-31 17:58 |只看该作者
本帖最后由 zeissoctopus 于 2013-10-31 18:02 编辑

多謝樓主通知!!

不知道祖國連線至 pkg.freebsd.org 速度可否忍受

论坛徽章:
29
技术图书徽章
日期:2013-09-02 19:59:502015元宵节徽章
日期:2015-03-06 15:51:332015小元宵徽章
日期:2015-03-06 15:57:20操作系统版块每日发帖之星
日期:2015-08-16 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17操作系统版块每日发帖之星
日期:2015-09-21 06:20:002015亚冠之水原三星
日期:2015-10-30 00:06:07数据库技术版块每日发帖之星
日期:2015-12-24 06:20:0015-16赛季CBA联赛之上海
日期:2016-01-07 10:32:07操作系统版块每日发帖之星
日期:2016-01-08 06:20:00操作系统版块每日发帖之星
日期:2016-05-18 06:20:00IT运维版块每日发帖之星
日期:2016-07-23 06:20:00
3 [报告]
发表于 2013-10-31 18:02 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2013-10-31 18:11 |只看该作者
Hongqiyaodao 发表于 2013-10-31 18:02
等10 release之后会试试的,9上就不折腾了


最有保障做法是刪除先所有 packages 再重頭用 pkgng 安裝所有 packages 便不必折騰什麼。FreeBSD 10 如是,FreeBSD 9 也如是。
FreeBSD 11/10 官方軟件倉默認用 clang 編譯。而 FreeBSD 9 默用 gcc 4.2 編譯(個別強制使用 clang 的 port 除外)

论坛徽章:
29
技术图书徽章
日期:2013-09-02 19:59:502015元宵节徽章
日期:2015-03-06 15:51:332015小元宵徽章
日期:2015-03-06 15:57:20操作系统版块每日发帖之星
日期:2015-08-16 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17操作系统版块每日发帖之星
日期:2015-09-21 06:20:002015亚冠之水原三星
日期:2015-10-30 00:06:07数据库技术版块每日发帖之星
日期:2015-12-24 06:20:0015-16赛季CBA联赛之上海
日期:2016-01-07 10:32:07操作系统版块每日发帖之星
日期:2016-01-08 06:20:00操作系统版块每日发帖之星
日期:2016-05-18 06:20:00IT运维版块每日发帖之星
日期:2016-07-23 06:20:00
5 [报告]
发表于 2013-10-31 18:28 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
6 [报告]
发表于 2013-10-31 21:51 |只看该作者


Good!

We are going to rule the world!

论坛徽章:
1
金牛座
日期:2014-05-29 15:55:47
7 [报告]
发表于 2013-10-31 22:04 |只看该作者
还没变成内置,先不着急用。

论坛徽章:
0
8 [报告]
发表于 2013-11-01 03:29 |只看该作者
iceblood 发表于 2013-10-31 22:04
还没变成内置,先不着急用。


官方軟件倉每週三便重申新編譯整個 ports. 現在起每週末都可以更新二進包了,早轉用早享受
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP