Difference between revisions of "Pkg"

From GhostBSD Wiki
Jump to: navigation, search
(Explanation)
Line 7: Line 7:
 
For now '''pkgng''' is like a synonym for '''pkg'''.   
 
For now '''pkgng''' is like a synonym for '''pkg'''.   
  
It describes, that the package manager '''pkgng'''   is a new  version and designed to work with versions of FreeBSD starting with 10.X. [https://www.freebsd.org/doc/handbook/pkgng-intro.html see also 4.4.1. Getting Started with pkg on the FreeBSD Handbook]
+
It describes, that the package manager [[pkgng]]   is a new  version and designed to work with versions of FreeBSD starting with 10.X. [https://www.freebsd.org/doc/handbook/pkgng-intro.html see also 4.4.1. Getting Started with pkg on the FreeBSD Handbook]
  
 
That means:
 
That means:
Line 14: Line 14:
 
  <code>pkg_add package name</code>
 
  <code>pkg_add package name</code>
 
With the '''new generation of pkg''' you have to write:
 
With the '''new generation of pkg''' you have to write:
  <code>pkg install package name</code>
+
  <code>pkg install package name</code>
 
+
  
 
== More Differences between pkg and pkgng ==
 
== More Differences between pkg and pkgng ==

Revision as of 17:45, 8 January 2020

Application Management
pkg Software Station Update Station Ports Applications
Back to the Icon Disti GhostBSD.pngWiki

Explanation

For beginners with GhostBSD it is a bit confusing which package manager is now working on my computer.

For now pkgng is like a synonym for pkg.

It describes, that the package manager pkgng is a new version and designed to work with versions of FreeBSD starting with 10.X. see also 4.4.1. Getting Started with pkg on the FreeBSD Handbook

That means:

To install a package with the older version of pkg you had to write:

pkg_add package name

With the new generation of pkg you have to write:

pkg install package name

More Differences between pkg and pkgng

If you like to know more about the differences between pkg (old version) and pkgng (new generation) please look in the FreeBSD Wiki