Sandbox for applications.
Create an environment:
$ homer env
$ cd env
$ ls
bin include lib local
Activate the environment:
$ cd env
$ source bin/activate
Install your application
$ cd some-application-that-i-can-compile
$ ./configure --prefix=$HOMER_PATH
$ make
$ make install
Some dependencies:
- python
Clone from the repository
$ git clone git://github.com/jpanganiban/homer.git
Install it
$ cd homer
$ sudo python setup.py install
or with a virtualenv
# Activate your environment the way you do...
$ python setup.py install
Sandboxes are good. It keeps things tidy. Besides that, it allows you to:
-
Install multiple versions of applications/libraries/etc without having to install something on top of another.
-
Keep track of which environment being used at a specific moment.
-
Easily switch environments.
-
Install without sudo. Badassssss!
Exposed environment variables
$HOMER_PATH # Path to the environment
$HOMER_ENV # Just a name you entered when you created your environment
More exposed environments
$_HOMER_OLD_PATH # The old $PATH for backup