Skip to content
/ pkgix Public
forked from pkgix/pkgix

Prefix environment and simple package management tool.

License

Notifications You must be signed in to change notification settings

melver/pkgix

This branch is up to date with pkgix/pkgix:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 10, 2016
964c9a1 · Dec 10, 2016
Dec 10, 2016
Nov 14, 2012
Nov 12, 2012
Jan 16, 2016
Jan 16, 2016
Nov 15, 2012
Nov 9, 2012
Oct 6, 2012
Dec 10, 2016
Feb 2, 2014
Nov 13, 2012

Repository files navigation

pkgix

Set up prefix environments and install packages inside them.

pkgix is a very lightweight package manager, intended to setup software in environments where root access is not available or installing the software system-wide is not desirable.

Package description files can be located inside repositories accessible via multiple URLs. The following protocols are supported: file:// (default), http://, https://, ftp://.

Written in BASH making use of standard POSIX tools.

Setup

It is possible to run pkgix directly, if you provide a valid repository.

By default pkgix looks for a repository in ~/pkgix-repo/pkgs. Repositories can be specified using the -r flag, but it is recommended to export the repository URL/path with PKGIX_REPOS="<repos...>" (separated by ;). See the Repositories section below for list of known repositories.

Recommended:

  • Add <path-to-pkgix>/bin to your PATH.
  • source "<path-to-pkgix>/share/pkgix/helper-inc.sh"; currently supported: bash, zsh. Provides the pkgix-activate and pkgix-deactivate functions; annotates shell prompt to indicate active prefix environment.

Examples

# Install gcc 4.4 and make 3.80 into 'old-build-tools' from repository.
$ pkgix install old-build-tools dev/gcc-4.4 dev/make-3.80

# Starts a new shell in the chosen prefix environment.
$ pkgix chenv old-build-tools

# Add a remote repository. Additional URLs are processed in
# order, until the requested package description file is found.
$ pkgix -r https://raw.github.com/pkgix/pkgix-repo/master/pkgs install some-prefix dev/gcc-4.4

Repositories

List of known repository URLs:

  1. pkgix-repo: https://raw.github.com/pkgix/pkgix-repo/master/pkgs

About

Prefix environment and simple package management tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 98.7%
  • Makefile 1.3%