[FreeBSD] Setting up pkgng - BSD
Users browsing this thread: 2 Guest(s)
|
|||
Pkg 1.0 is out now! The betas and RCs are over, say hello to the first release!
You may, or may not have heard of the introduction of FreeBSD's new package manager, which is a huge improvement of the old pkg-* tools. What is pkgng? Quote:pkgng is: INSTALLING: To install pkgng, you can install directly from the ports tree: Code: cd /usr/ports/ports-mgmt/pkg; make install clean Once installed, you'll need to setup the config. Code: mv /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf the config won't need any editing, it already has a repo setup for it now. REPO UPDATE: To update the repo. PHP Code: pkg update If you've been installing from ports or using the old pkg-* tools. You should register all installed packages in the new database. PACKAGE REGISTRATION: Code: sudo /usr/local/sbin/pkg2ng This may take awhile depending on how many packages you have installed. PACKAGE SEARCHING: Code: pkg search packagesname PHP Code: [amzo@Bahamut ~]$ pkg search slim PACKAGE INSTALLATION: Code: sudo pkg install packagename PHP Code: [amzo@Bahamut ~]$ sudo pkg install slim READING PKGUPDATING: It is still recommended to read updating when upgrading ports, to solve issues. PHP Code: pkg updating pkg-config PHP Code: sudo pkg set -o devel/pkg-config:devel/pkgconf PHP Code: sudo pkg install -f devel/pkgconf VERSION CHECKING: PHP Code: pkg version UPGRADING: PHP Code: sudo pkg upgrade I removed loads of package names from the list, the size needed to download is correct. :p DELETE PACKAGES: NOTE: WILL UPDATE AND COLORISE IN AN HOUR OR SO, GOTTA GO OUT so just posting what I've done so far. Screw saving drafts. |
|||
Messages In This Thread |
[FreeBSD] Setting up pkgng - by Amzo - 31-08-2012, 06:49 AM
RE: [FreeBSD] Setting up pkgng - by FreeBSD - 03-09-2012, 10:32 PM
RE: [FreeBSD] Setting up pkgng - by zygotb - 19-10-2012, 08:55 AM
RE: [FreeBSD] Setting up pkgng - by Amzo - 19-10-2012, 10:01 AM
|