pkg

Check-in [ea9a3c4767]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the build-from-source instructions to reflect the new dependency on pkgconf.
Timelines: family | ancestors | descendants | both | trunk | gsoc2013
Files: files | file ages | folders
SHA1: ea9a3c47670364f752302fd1eb11b674f9e0313e
User & Date: m.seaman@infracaninophile.co.uk 2014-06-08 14:51:17
Context
2014-06-09
13:35
pkg upgrade now does not change automatic flag. check-in: 0ef74f3f02 user: vsevolod@highsecure.ru tags: trunk, gsoc2013
2014-06-08
14:51
Update the build-from-source instructions to reflect the new dependency on pkgconf. check-in: ea9a3c4767 user: m.seaman@infracaninophile.co.uk tags: trunk, gsoc2013
14:05
Optimize write calls for progressbar. check-in: 0df57518f0 user: vsevolod@highsecure.ru tags: trunk, gsoc2013
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.md.

191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
...
214
215
216
217
218
219
220
221




222
223
224
225
226
227
228
on the practical usage of pkgng - installing packages, searching in remote package
repositories, updating remote package repositories and installing from them, etc.

<a name="installpkgng"></a>
### Installing pkgng

In order to build pkgng from source, you will need to have Gnu
autotools installed.

	# pkg install autoconf automake libtool

The next thing to do is to get the pkgng sources installed on your machine.
You can grab a development snapshot of pkgng from the [pkgng Github repository][1]

To get the latest version of pkgng from the Git repo, just clone it:

	% git clone https://github.com/freebsd/pkg
................................................................................

	% cd pkgng
	% ./autogen.sh
	% ./configure
	% make
	# make install

Now you should have the latest pkgng installed on your system.





If you're on a 9.x system or earler and did not have a release version
of pkg(8) installed previously, you will need to run the pkg2ng
script.  This is only necesaary when converting your system from the
old pkg_tools style packages.

In order to register your installed packages to pkgng, execute the commands below:







|

|







 







|
>
>
>
>







191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
...
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
on the practical usage of pkgng - installing packages, searching in remote package
repositories, updating remote package repositories and installing from them, etc.

<a name="installpkgng"></a>
### Installing pkgng

In order to build pkgng from source, you will need to have Gnu
autotools and some other tools installed.

	# pkg install autoconf automake libtool pkgconf

The next thing to do is to get the pkgng sources installed on your machine.
You can grab a development snapshot of pkgng from the [pkgng Github repository][1]

To get the latest version of pkgng from the Git repo, just clone it:

	% git clone https://github.com/freebsd/pkg
................................................................................

	% cd pkgng
	% ./autogen.sh
	% ./configure
	% make
	# make install

Now you should have the latest pkgng installed on your system.  Note
that this build and install procedure does not update the local
package database at all, so you will get some odd effects due to the
packaging system being misled into thinking an older version of pkg is
installed.

If you're on a 9.x system or earler and did not have a release version
of pkg(8) installed previously, you will need to run the pkg2ng
script.  This is only necesaary when converting your system from the
old pkg_tools style packages.

In order to register your installed packages to pkgng, execute the commands below: