Coder Social home page Coder Social logo

blvkoblsk / brew Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linuxbrew/brew

0.0 2.0 0.0 20.66 MB

:beer::penguin: The Homebrew package manager for Linux

Home Page: http://linuxbrew.sh

License: BSD 2-Clause "Simplified" License

Ruby 92.68% Shell 3.65% HTML 0.52% PostScript 0.03% Roff 3.13%

brew's Introduction

Linuxbrew logo

Linuxbrew

Linuxbrew is a fork of Homebrew, the Mac OS package manager, for Linux.

It can be installed in your home directory and does not require root access. The same package manager can be used on both your Linux server and your Mac laptop. Installing a modern version of glibc and gcc in your home directory on an old distribution of Linux takes five minutes.

Features, usage and installation instructions are summarised on the homepage. Terminology (e.g. the difference between a Cellar, Tap, Cask and so forth) is explained here.

To receive updates of major changes to Linuxbrew subscribe to the Linuxbrew Updates issue on GitHub.

Install Linuxbrew (tl;dr)

Paste at a Terminal prompt:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
PATH="$HOME/.linuxbrew/bin:$PATH"

Edit your ~/.bash_profile to add ~/.linuxbrew/bin to your PATH:

echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile

You're done! Try installing a package:

brew install hello

Use brew doctor to troubleshoot common issues.

See Dependencies and Installation below for more details.

Features

  • Can install software to a home directory and so does not require sudo
  • Install software not packaged by the native distribution
  • Install up-to-date versions of software when the native distribution is old
  • Use the same package manager to manage both your Mac and Linux machines

Dependencies

  • Ruby 1.8.6 or newer
  • GCC 4.4 or newer
  • Linux 2.6.16 or newer
  • 64-bit x86 or 32-bit ARM (Raspberry Pi)

Paste at a Terminal prompt:

Debian or Ubuntu

sudo apt-get install build-essential curl file git python-setuptools ruby

Fedora, CentOS or Red Hat

sudo yum groupinstall 'Development Tools' && sudo yum install curl file git irb python-setuptools ruby

32-bit x86 platforms

Linuxbrew does not currently support 32-bit x86 platforms. It would be possible for Linuxbrew to work on 32-bit x86 platforms with some effort. Pull requests would be welcome if someone were to volunteer to maintain the 32-bit x86 support.

Bottles

Bottles are Linuxbrew's precompiled binary packages. Linuxbrew bottles work on any Linux system. They do however require glibc 2.19 or better. On systems with an older version of glibc, Linuxbrew will install glibc the first time that you install a bottled formula. If you prefer to use the glibc provided by your system and build all formulas from source, add to your .bashrc or .zshrc:

export HOMEBREW_BUILD_FROM_SOURCE=1

Installation

Paste at a Terminal prompt:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"

Or if you prefer:

git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew

Add to your .bashrc or .zshrc:

export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"

You're done! Try installing a package:

brew install hello

If you're using an older distribution of Linux, installing your first package will also install a recent version of gcc.

Update Bug

If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run:

cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update

What Packages Are Available?

  1. Type brew search for a list.
  2. Or visit braumeister.org to browse packages online.
  3. Or use brew search --desc <keyword> to browse packages from the command line.

More Documentation

brew help, man brew or check our documentation.

Troubleshooting

First, please run brew update and brew doctor.

Second, read the Troubleshooting Checklist.

If you don't read these it will take us far longer to help you with your problem.

Something broke!

Many of the Homebrew formulae work on either Mac or Linux without changes, but some formulae will need to be adapted for Linux. If a formula doesn't work, open an issue on GitHub or, even better, submit a pull request.

Contributing

We'd love you to contribute to Linuxbrew or its upstream project, Homebrew. First, please read our Contribution Guide and Code of Conduct. Please see our guidelines on whether to send pull requests to Linuxbrew or Homebrew.

We explicitly welcome contributions from people who have never contributed to open-source before: we were all beginners once! We can help build on a partially working pull request with the aim of getting it merged. We are also actively seeking to diversify our contributors and especially welcome contributions from women from all backgrounds and people of colour.

A good starting point for contributing is running brew audit --strictwith some of the packages you use (e.g. brew audit --strict wget if you use wget) and then read through the warnings, try to fix them until brew audit --strict shows no results and submit a pull request. If no formulae you use have warnings you can run brew audit --strict without arguments to have it run on all packages and pick one. Good luck!

Security

Please report security issues to [email protected].

This is our PGP key which is valid until May 24, 2017.

Who Are You?

Linuxbrew is maintained by Shaun Jackman, Piotr Gaczkowski, Maxim Belkin, and Jonathan Chang.

Bob W. Hogg is also a Linuxbrew maintainer, but is currently on leave and will return later in the year.

Homebrew's lead maintainer is Mike McQuaid.

Homebrew's current maintainers are Alyssa Ross, Andrew Janke, Baptiste Fontaine, Alex Dunn, FX Coudert, ilovezfs, Josh Hagins, JCount, Misty De Meo, neutric, Tomasz Pajor, Markus Reiter, Tim Smith, Tom Schoonjans, Uladzislau Shablinski and William Woodruff.

Former maintainers with significant contributions include Xu Cheng, Martin Afanasjew, Dominyk Tiller, Brett Koonce, Jack Nagel, Adam Vandenberg and Homebrew's creator: Max Howell.

Community

License

Code is under the BSD 2-clause "Simplified" License. Documentation is under the Creative Commons Attribution license.

Donations

Homebrew is a non-profit project run entirely by unpaid volunteers. We need your funds to pay for software, hardware and hosting around continuous integration and future improvements to the project. Every donation will be spent on making Homebrew better for our users.

Please consider a regular donation to Homebrew, the upstream project of Linuxbrew, through Patreon:

Donate with Patreon

Sponsors

Our Xserve ESXi boxes for CI are hosted by MacStadium.

Powered by MacStadium

Our Mac Minis for CI were paid for by our Kickstarter supporters.

Our Mac Minis for CI are hosted by The Positive Internet Company.

Our bottles (binary packages) are hosted by Bintray.

Downloads by Bintray

Our website is hosted by Netlify.

Deploys by Netlify

Secure password storage and syncing provided by 1Password for Teams by AgileBits

AgileBits

Homebrew is a member of the Software Freedom Conservancy

Software Freedom Conservancy

brew's People

Contributors

adamv avatar alloy avatar alyssais avatar apjanke avatar bfontaine avatar broder avatar camillol avatar domt4 avatar dunn avatar eirinikos avatar ilovezfs avatar jacknagel avatar jawshooah avatar manphiz avatar mikemcquaid avatar mistydemeo avatar mxcl avatar reitermarkus avatar samueljohn avatar sharpie avatar sjackman avatar tdsmith avatar tschoonj avatar uniqmartin avatar vitorgalvao avatar vladshablinsky avatar vszakats avatar woodruffw avatar xu-cheng avatar zmwangx avatar

Watchers

 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.