Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tani/pkgbrew
non-root package manager based on pkgsrc
https://github.com/tani/pkgbrew
golang packaging pkgsrc
Last synced: about 1 month ago
JSON representation
non-root package manager based on pkgsrc
- Host: GitHub
- URL: https://github.com/tani/pkgbrew
- Owner: tani
- License: bsd-2-clause
- Created: 2016-01-18T23:49:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T12:00:25.000Z (11 months ago)
- Last Synced: 2024-10-05T09:26:15.247Z (about 2 months ago)
- Topics: golang, packaging, pkgsrc
- Language: Shell
- Homepage:
- Size: 2.06 MB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pkgbrew
non-root package manager
## Usage
### Install a package
```
$ pkgbrew install editors/emacs-nox11
```### Uninstall a package
```
$ pkgbrew deinstall editors/emacs-nox11
```### Upgrade a package
```
$ pkgbrew replace editors/emacs-nox11
```### Show build parameters
```
$ pkgbrew show-options editors/emacs24
```### Search a package
```
$ pkgbrew search emacs
```### Manage user repository (tap/untap)
```
$ pkgbrew tap / # Github
$ pkgbrew untap /
$ pkgbrew update # for all repository
```For example,
```
$ pkgbrew tap NetBSD/pkgsrc-wip
```### Show Usage
```
$ pkgbrew help
```## Installation
```
$ export MAKE_JOBS=4 # Optional
$ wget -O- https://raw.githubusercontent.com/tani/pkgbrew/master/bin/installer | /bin/sh
$ echo 'export PATH=$HOME/.pkgbrew/bin:$PATH' >> ~/.bashrc
$ echo 'export MANPATH=$HOME/.pkgbrew/man:$MANPATH' >> ~/.bashrc
```## Supported platforms
- NetBSD
- Solaris
- Linux (test environment)
- Darwin(Mac OS X) (Travis CI)
- FreeBSD(see also pkgsrc.org)
## Software requirements
- wget or curl
- gcc (and libstdc++)
- libncurses-devel
- zlib and zlib-develThis software is written only in /bin/sh and awk, which means that POSIX compatibe.
### Debian/Ubuntu
```
$ sudo apt-get install build-essential
```### Mac OSX
Set the CC variable in the environment before the script the starts. (`export CC=clang`)
## Author
TANIGUCHI Masaya
## Copyright
Copyright(c) 2016-2020 TANIGUCHI Masaya
## License
BSD License (2 clause)