{"id":13806742,"url":"https://github.com/freebsd/pkg","last_synced_at":"2025-05-14T16:15:23.673Z","repository":{"id":37884324,"uuid":"1530481","full_name":"freebsd/pkg","owner":"freebsd","description":"Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org","archived":false,"fork":false,"pushed_at":"2025-03-28T05:48:44.000Z","size":75258,"stargazers_count":763,"open_issues_count":210,"forks_count":282,"subscribers_count":59,"default_branch":"main","last_synced_at":"2025-03-31T07:01:31.324Z","etag":null,"topics":["freebsd","package-management","package-manager","packages"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freebsd.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-03-26T20:35:45.000Z","updated_at":"2025-03-30T02:07:57.000Z","dependencies_parsed_at":"2024-12-08T12:01:00.238Z","dependency_job_id":"688eeb1a-727a-420a-b2b7-634738e3e9ec","html_url":"https://github.com/freebsd/pkg","commit_stats":{"total_commits":9079,"total_committers":250,"mean_commits":36.316,"dds":0.509857913867166,"last_synced_commit":"2cbdc3b88ea20d2db3a8c7212b2d7ebbae70f163"},"previous_names":[],"tags_count":210,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freebsd%2Fpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freebsd%2Fpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freebsd%2Fpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freebsd%2Fpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freebsd","download_url":"https://codeload.github.com/freebsd/pkg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615375,"owners_count":20967184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["freebsd","package-management","package-manager","packages"],"created_at":"2024-08-04T01:01:15.532Z","updated_at":"2025-04-07T08:06:47.727Z","avatar_url":"https://github.com/freebsd.png","language":"C","readme":"pkg - a package manager for FreeBSD\n====================================\n\n * Sourcehut FreeBSD: [![builds.sr.ht status](https://builds.sr.ht/~bapt/pkg/commits/master/freebsd.svg)](https://builds.sr.ht/~bapt/pkg/commits/master/freebsd?)\n * Sourcehut Alpine: [![builds.sr.ht status](https://builds.sr.ht/~bapt/pkg/commits/master/alpine.svg)](https://builds.sr.ht/~bapt/pkg/commits/master/alpine?)\n * Sourcehut Debian: [![builds.sr.ht status](https://builds.sr.ht/~bapt/pkg/commits/master/debian.svg)](https://builds.sr.ht/~bapt/pkg/commits/master/debian?)\n * Github Actions: [![build](https://github.com/freebsd/pkg/actions/workflows/build.yaml/badge.svg)](https://github.com/freebsd/pkg/actions/workflows/build.yaml)\n\nTable of Contents:\n------------------\n\n* [libpkg](#libpkg)\n* [pkg package format](#pkgfmt)\n* [Installing packages](#pkginst)\n* [pkg bootstrap](#pkgbootstrap)\n* [Additional resources](#resources)\n\n\n\u003ca name=\"libpkg\"\u003e\u003c/a\u003e\n### libpkg\n\npkg is built on top of libpkg, a new library to interface with the package\nregistration backends.\nIt abstracts package management details such as registration, remote\nrepositories, package creation, updating, etc.\n\n\u003ca name=\"pkgfmt\"\u003e\u003c/a\u003e\n### pkg package format\n\nThe `pkg` package format is a tar archive that may be raw or compressed using one of the following algorithms: `gz`, `bzip2`, `zstd`, or `xz`. The default compression algorithm is `zstd`.\n\nThe tar archive itself is composed of two types of elements:\n\n* the special files at the beginning of the archive, starting with a \"+\"\n* the data.\n\n\u003ca name=\"pkginst\"\u003e\u003c/a\u003e\n### Installing packages\n\npkg can install a package archive from the local disk, remote HTTP server or\nremote SSH server.\n\n\u003ca name=\"pkgbootstrap\"\u003e\u003c/a\u003e\n### Pkg bootstrap\n\nAll supported versions of FreeBSD now contain /usr/sbin/pkg a.k.a\n*pkg(7)*.  This is a small placeholder that has just the minimum\nfunctionality required to install the real pkg(8).\n\nTo use, simply run any pkg(8) command line.  pkg(7) will intercept the\ncommand, and if you confirm that is your intention, download the\npkg(8) tarball, install pkg(8) from it, bootstrap the local package\ndatabase and then proceed to run the command you originally requested.\n\nMore recent versions of pkg(7) understand `pkg -N` as a test to see if\npkg(8) is installed without triggering the installation, and\nconversely, `pkg bootstrap [-f]` to install pkg(8) (or force it to be\nreinstalled) without performing any other actions.\n\n\u003ca name=\"resources\"\u003e\u003c/a\u003e\n### Additional resources\n\n* The Git repository of [pkg is hosted on GitHub](https://github.com/freebsd/pkg)\n\nTo contact us, you can find us in the **#pkg** channel on [Libera Chat IRC Network](https://libera.chat/).\n\nIf you hit a bug when using pkg, you can always submit an issue in the\n[pkg issue tracker](https://github.com/freebsd/pkg/issues).\n","funding_links":[],"categories":["C","Systems"],"sub_categories":["BSD"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreebsd%2Fpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreebsd%2Fpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreebsd%2Fpkg/lists"}