Coder Social home page Coder Social logo

dripper's Introduction

Dripper

Dripper is a collection of definitions to install software packages with stow, the GNU package manager. It's always recommended to use package manager provided by your system, but sometimes you need a tool to install alternate packages.

Install

Clone the repository and run the install script:

git clone git://github.com/fesplugas/dripper.git ~/.dripper

To enable dripper run:

~/.dripper/bin/drip init

And follow the instructions.

Usage

Common operations:

drip install redis-2.4.10
drip uninstall redis-2.4.10
drip unlink redis-2.4.10
drip link redis-2.4.10
drip path redis-2.4.10
drip update

You can get a list of all available commands by running drip.

Commands with custom env file

Imagine you have different projects with different requirements and want to load a different ruby version for each one. Familiar, right?

Create an .env file in the root of your project and append packages paths:

drip path ruby-1.9.3-p392 >> .env

Now you can run all commands using drip, which will act as a namespace.

$ ruby --version
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]

$ drip ruby --version
Sourced /Users/fesplugas/Development/dripper/.env
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2.1]

Notice that you can also set environment variables on that file.

Conventions

  • Sources are downloaded into /usr/local/src or $HOME/.dripper/src.
  • Packages are compiled into /usr/local/stow or $HOME/.dripper/stow.

Acknowledgements

Thanks to Homebrew, it's an awesome tool. As an stow user I always wanted to do something similar and Homebrew has inspired many of the commands used by Dripper.

Thanks to sub, a delicious way to organize programs.

dripper's People

Contributors

fesplugas avatar rfnash avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.