SHARE

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

It supports only 64-bit x86 platform. To install Linuxbrew, follow these steps:

Step 1: Install the dependencies of Linuxbrew

yum groupinstall 'Development Tools' && sudo yum install curl git irb m4 ruby texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel

install linuxbrew step 1

[root@tutorialspots.com ~]# yum groupinstall 'Development Tools' && sudo yum install curl
 git irb m4 ruby texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-d
evel
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/metalink                                            |  12 kB     00:04
 * base: centos.mirror.lstn.net
 * epel: fedora-epel.mirror.lstn.net
 * extras: yum.tamu.edu
 * updates: pubmirrors.dal.corespace.com
base                                                     | 3.7 kB     00:00
base/primary_db                                          | 4.6 MB     00:00
epel                                                     | 4.3 kB     00:00
http://fedora-epel.mirror.lstn.net/6/x86_64/repodata/repomd.xml: [Errno -1] repo
md.xml does not match metalink for epel
Trying other mirror.
epel                                                     | 4.3 kB     00:00
epel/primary_db                                          | 5.7 MB     00:00
extras                                                   | 3.4 kB     00:00
extras/primary_db                                        |  27 kB     00:00
nginx                                                    | 2.9 kB     00:00
nginx/primary_db                                         | 6.8 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 1.3 MB     00:00
vesta                                                    | 2.9 kB     00:00
vesta/primary_db                                         |  48 kB     00:00
vz-base                                                  |  951 B     00:00
vz-updates                                               |  951 B     00:00
Setting up Group Process
Checking for new repos for mirrors
base/group_gz                                            | 219 kB     00:00
epel/group_gz                                            | 149 kB     00:00
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-4.el6 will be installed
---> Package binutils.x86_64 0:2.20.51.0.2-5.36.el6 will be updated
---> Package binutils.x86_64 0:2.20.51.0.2-5.43.el6 will be an update
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cscope.x86_64 0:15.6-6.el6 will be installed
---> Package ctags.x86_64 0:5.8-2.el6 will be installed
---> Package cvs.x86_64 0:1.11.23-16.el6 will be installed
---> Package diffstat.x86_64 0:1.51-2.el6 will be installed
---> Package doxygen.x86_64 1:1.6.1-6.el6 will be installed
---> Package elfutils.x86_64 0:0.152-1.el6 will be updated
---> Package elfutils.x86_64 0:0.161-3.el6 will be an update
--> Processing Dependency: elfutils-libs(x86-64) = 0.161-3.el6 for package: elfu
tils-0.161-3.el6.x86_64
--> Processing Dependency: elfutils-libelf(x86-64) = 0.161-3.el6 for package: el
futils-0.161-3.el6.x86_64
--> Processing Dependency: libdw.so.1(ELFUTILS_0.158)(64bit) for package: elfuti
ls-0.161-3.el6.x86_64
---> Package flex.x86_64 0:2.5.35-8.el6 will be updated
---> Package flex.x86_64 0:2.5.35-9.el6 will be an update
---> Package gcc.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.
x86_64
--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_
64
--> Processing Dependency: libgcc >= 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.
x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-16.el6.x86_6
4
---> Package gcc-c++.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-16.el6 for package: gcc-c++-4
.4.7-16.el6.x86_64
--> Processing Dependency: libstdc++ = 4.4.7-16.el6 for package: gcc-c++-4.4.7-1
6.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-16.e
l6.x86_64
---> Package gcc-gfortran.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgfortran = 4.4.7-16.el6 for package: gcc-gfortran-
4.4.7-16.el6.x86_64
--> Processing Dependency: libgfortran.so.3()(64bit) for package: gcc-gfortran-4
.4.7-16.el6.x86_64
---> Package gettext.x86_64 0:0.17-18.el6 will be installed
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.e
l6_4.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64
---> Package indent.x86_64 0:2.2.10-7.el6 will be installed
---> Package intltool.noarch 0:0.41.0-1.1.el6 will be installed
--> Processing Dependency: perl(XML::Parser) for package: intltool-0.41.0-1.1.el
6.noarch
--> Processing Dependency: gettext-devel for package: intltool-0.41.0-1.1.el6.no
arch
---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package patch.x86_64 0:2.6-6.el6 will be installed
---> Package patchutils.x86_64 0:0.3.1-3.1.el6 will be installed
---> Package rcs.x86_64 0:5.7-37.el6 will be installed
---> Package redhat-rpm-config.noarch 0:9.0.3-44.el6.centos will be installed
---> Package rpm-build.x86_64 0:4.8.0-47.el6 will be installed
--> Processing Dependency: rpm = 4.8.0-47.el6 for package: rpm-build-4.8.0-47.el
6.x86_64
--> Processing Dependency: file for package: rpm-build-4.8.0-47.el6.x86_64
--> Processing Dependency: /usr/bin/gdb-add-index for package: rpm-build-4.8.0-4
7.el6.x86_64
---> Package subversion.x86_64 0:1.6.11-15.el6_7 will be installed
--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11
-15.el6_7.x86_64
---> Package swig.x86_64 0:1.3.40-6.el6 will be installed
---> Package systemtap.x86_64 0:2.7-2.el6 will be installed
--> Processing Dependency: systemtap-devel = 2.7-2.el6 for package: systemtap-2.
7-2.el6.x86_64
--> Processing Dependency: systemtap-client = 2.7-2.el6 for package: systemtap-2
.7-2.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-
1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.
2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-16.el6 will be installed
---> Package elfutils-libelf.x86_64 0:0.152-1.el6 will be updated
---> Package elfutils-libelf.x86_64 0:0.161-3.el6 will be an update
---> Package elfutils-libs.x86_64 0:0.152-1.el6 will be updated
---> Package elfutils-libs.x86_64 0:0.161-3.el6 will be an update
---> Package file.x86_64 0:5.04-21.el6 will be installed
--> Processing Dependency: file-libs = 5.04-21.el6 for package: file-5.04-21.el6
.x86_64
---> Package gdb.x86_64 0:7.2-83.el6 will be installed
---> Package gettext-devel.x86_64 0:0.17-18.el6 will be installed
--> Processing Dependency: gettext-libs = 0.17-18.el6 for package: gettext-devel
-0.17-18.el6.x86_64
--> Processing Dependency: libgettextpo.so.0()(64bit) for package: gettext-devel
-0.17-18.el6.x86_64
--> Processing Dependency: libgcj_bc.so.1()(64bit) for package: gettext-devel-0.
17-18.el6.x86_64
--> Processing Dependency: libasprintf.so.0()(64bit) for package: gettext-devel-
0.17-18.el6.x86_64
---> Package libgcc.i686 0:4.4.7-4.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgcc.i686 0:4.4.7-16.el6 will be an update
---> Package libgcc.x86_64 0:4.4.7-16.el6 will be an update
---> Package libgfortran.x86_64 0:4.4.7-16.el6 will be installed
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated
---> Package libgomp.x86_64 0:4.4.7-16.el6 will be an update
---> Package libstdc++.i686 0:4.4.7-4.el6 will be updated
---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be updated
---> Package libstdc++.i686 0:4.4.7-16.el6 will be an update
---> Package libstdc++.x86_64 0:4.4.7-16.el6 will be an update
---> Package libstdc++-devel.x86_64 0:4.4.7-16.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package neon.x86_64 0:0.29.3-3.el6_4 will be installed
--> Processing Dependency: libproxy.so.0()(64bit) for package: neon-0.29.3-3.el6
_4.x86_64
--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.
el6_4.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed
---> Package perl-XML-Parser.x86_64 0:2.36-7.el6 will be installed
---> Package rpm.x86_64 0:4.8.0-37.el6 will be updated
--> Processing Dependency: rpm = 4.8.0-37.el6 for package: rpm-libs-4.8.0-37.el6
.x86_64
--> Processing Dependency: rpm = 4.8.0-37.el6 for package: rpm-python-4.8.0-37.e
l6.x86_64
---> Package rpm.x86_64 0:4.8.0-47.el6 will be an update
---> Package systemtap-client.x86_64 0:2.7-2.el6 will be installed
--> Processing Dependency: systemtap-runtime = 2.7-2.el6 for package: systemtap-
client-2.7-2.el6.x86_64
---> Package systemtap-devel.x86_64 0:2.7-2.el6 will be installed
--> Processing Dependency: kernel-devel for package: systemtap-devel-2.7-2.el6.x
86_64
--> Running transaction check
---> Package file-libs.x86_64 0:5.04-15.el6 will be updated
---> Package file-libs.x86_64 0:5.04-21.el6 will be an update
---> Package gettext-libs.x86_64 0:0.17-18.el6 will be installed
---> Package kernel-devel.x86_64 0:2.6.32-573.3.1.el6 will be installed
---> Package libgcj.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libart_lgpl >= 2.1.0 for package: libgcj-4.4.7-16.el6
.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: libgcj-4
.4.7-16.el6.x86_64
--> Processing Dependency: libasound.so.2()(64bit) for package: libgcj-4.4.7-16.
el6.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: libgcj-4.4.7-16.el
6.x86_64
---> Package libproxy.x86_64 0:0.3.0-10.el6 will be installed
--> Processing Dependency: libproxy-python = 0.3.0-10.el6 for package: libproxy-
0.3.0-10.el6.x86_64
--> Processing Dependency: libproxy-bin = 0.3.0-10.el6 for package: libproxy-0.3
.0-10.el6.x86_64
---> Package pakchois.x86_64 0:0.4-3.2.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package rpm-libs.x86_64 0:4.8.0-37.el6 will be updated
---> Package rpm-libs.x86_64 0:4.8.0-47.el6 will be an update
---> Package rpm-python.x86_64 0:4.8.0-37.el6 will be updated
---> Package rpm-python.x86_64 0:4.8.0-47.el6 will be an update
---> Package systemtap-runtime.x86_64 0:2.7-2.el6 will be installed
--> Running transaction check
---> Package alsa-lib.x86_64 0:1.0.22-3.el6 will be installed
---> Package libXtst.x86_64 0:1.2.2-2.1.el6 will be installed
--> Processing Dependency: libX11 >= 1.5.99.902 for package: libXtst-1.2.2-2.1.e
l6.x86_64
---> Package libart_lgpl.x86_64 0:2.3.20-5.1.el6 will be installed
---> Package libproxy-bin.x86_64 0:0.3.0-10.el6 will be installed
---> Package libproxy-python.x86_64 0:0.3.0-10.el6 will be installed
--> Running transaction check
---> Package libX11.x86_64 0:1.5.0-4.el6 will be updated
---> Package libX11.x86_64 0:1.6.0-6.el6 will be an update
--> Processing Dependency: libX11-common = 1.6.0-6.el6 for package: libX11-1.6.0
-6.el6.x86_64
--> Running transaction check
---> Package libX11-common.noarch 0:1.5.0-4.el6 will be updated
---> Package libX11-common.noarch 0:1.6.0-6.el6 will be an update
--> Processing Conflict: libX11-1.6.0-6.el6.x86_64 conflicts libxcb < 1.9.1-3
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libxcb.x86_64 0:1.8.1-1.el6 will be updated
---> Package libxcb.x86_64 0:1.9.1-3.el6 will be an update
--> Finished Dependency Resolution
......
  Verifying  : bison-2.4.1-5.el6.x86_64                                    5/85
  Verifying  : libproxy-0.3.0-10.el6.x86_64                                6/85
  Verifying  : rpm-libs-4.8.0-47.el6.x86_64                                7/85
  Verifying  : file-5.04-21.el6.x86_64                                     8/85
  Verifying  : indent-2.2.10-7.el6.x86_64                                  9/85
  Verifying  : subversion-1.6.11-15.el6_7.x86_64                          10/85
  Verifying  : gcc-gfortran-4.4.7-16.el6.x86_64                           11/85
  Verifying  : libproxy-python-0.3.0-10.el6.x86_64                        12/85
  Verifying  : libstdc++-4.4.7-16.el6.i686                                13/85
  Verifying  : systemtap-runtime-2.7-2.el6.x86_64                         14/85
  Verifying  : automake-1.11.1-4.el6.noarch                               15/85
  Verifying  : rpm-build-4.8.0-47.el6.x86_64                              16/85
  Verifying  : ctags-5.8-2.el6.x86_64                                     17/85
  Verifying  : systemtap-devel-2.7-2.el6.x86_64                           18/85
  Verifying  : libxcb-1.9.1-3.el6.x86_64                                  19/85
  Verifying  : cscope-15.6-6.el6.x86_64                                   20/85
  Verifying  : libstdc++-4.4.7-16.el6.x86_64                              21/85
  Verifying  : rcs-5.7-37.el6.x86_64                                      22/85
  Verifying  : file-libs-5.04-21.el6.x86_64                               23/85
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                    24/85
  Verifying  : binutils-2.20.51.0.2-5.43.el6.x86_64                       25/85
  Verifying  : diffstat-1.51-2.el6.x86_64                                 26/85
  Verifying  : elfutils-libs-0.161-3.el6.x86_64                           27/85
  Verifying  : libX11-1.6.0-6.el6.x86_64                                  28/85
  Verifying  : libart_lgpl-2.3.20-5.1.el6.x86_64                          29/85
  Verifying  : autoconf-2.63-5.1.el6.noarch                               30/85
  Verifying  : ppl-0.10.2-11.el6.x86_64                                   31/85
  Verifying  : cpp-4.4.7-16.el6.x86_64                                    32/85
  Verifying  : 1:doxygen-1.6.1-6.el6.x86_64                               33/85
  Verifying  : libgcj-4.4.7-16.el6.x86_64                                 34/85
  Verifying  : libgcc-4.4.7-16.el6.x86_64                                 35/85
  Verifying  : systemtap-client-2.7-2.el6.x86_64                          36/85
  Verifying  : patchutils-0.3.1-3.1.el6.x86_64                            37/85
  Verifying  : libproxy-bin-0.3.0-10.el6.x86_64                           38/85
  Verifying  : perl-XML-Parser-2.36-7.el6.x86_64                          39/85
  Verifying  : libgcc-4.4.7-16.el6.i686                                   40/85
  Verifying  : rpm-4.8.0-47.el6.x86_64                                    41/85
  Verifying  : gcc-4.4.7-16.el6.x86_64                                    42/85
  Verifying  : alsa-lib-1.0.22-3.el6.x86_64                               43/85
  Verifying  : neon-0.29.3-3.el6_4.x86_64                                 44/85
  Verifying  : flex-2.5.35-9.el6.x86_64                                   45/85
  Verifying  : libXtst-1.2.2-2.1.el6.x86_64                               46/85
  Verifying  : gettext-libs-0.17-18.el6.x86_64                            47/85
  Verifying  : libstdc++-devel-4.4.7-16.el6.x86_64                        48/85
  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            49/85
  Verifying  : gettext-0.17-18.el6.x86_64                                 50/85
  Verifying  : redhat-rpm-config-9.0.3-44.el6.centos.noarch               51/85
  Verifying  : elfutils-libelf-0.161-3.el6.x86_64                         52/85
  Verifying  : perl-Git-1.7.1-3.el6_4.1.noarch                            53/85
  Verifying  : elfutils-0.161-3.el6.x86_64                                54/85
  Verifying  : patch-2.6-6.el6.x86_64                                     55/85
  Verifying  : systemtap-2.7-2.el6.x86_64                                 56/85
  Verifying  : gdb-7.2-83.el6.x86_64                                      57/85
  Verifying  : libX11-common-1.6.0-6.el6.noarch                           58/85
  Verifying  : intltool-0.41.0-1.1.el6.noarch                             59/85
  Verifying  : swig-1.3.40-6.el6.x86_64                                   60/85
  Verifying  : gettext-devel-0.17-18.el6.x86_64                           61/85
  Verifying  : cvs-1.11.23-16.el6.x86_64                                  62/85
  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                          63/85
  Verifying  : kernel-devel-2.6.32-573.3.1.el6.x86_64                     64/85
  Verifying  : git-1.7.1-3.el6_4.1.x86_64                                 65/85
  Verifying  : libtool-2.2.6-15.5.el6.x86_64                              66/85
  Verifying  : rpm-python-4.8.0-47.el6.x86_64                             67/85
  Verifying  : pakchois-0.4-3.2.el6.x86_64                                68/85
  Verifying  : libgcc-4.4.7-4.el6.i686                                    69/85
  Verifying  : libstdc++-4.4.7-4.el6.x86_64                               70/85
  Verifying  : file-libs-5.04-15.el6.x86_64                               71/85
  Verifying  : rpm-libs-4.8.0-37.el6.x86_64                               72/85
  Verifying  : rpm-python-4.8.0-37.el6.x86_64                             73/85
  Verifying  : libgcc-4.4.7-4.el6.x86_64                                  74/85
  Verifying  : libstdc++-4.4.7-4.el6.i686                                 75/85
  Verifying  : libgomp-4.4.7-4.el6.x86_64                                 76/85
  Verifying  : elfutils-libelf-0.152-1.el6.x86_64                         77/85
  Verifying  : libxcb-1.8.1-1.el6.x86_64                                  78/85
  Verifying  : flex-2.5.35-8.el6.x86_64                                   79/85
  Verifying  : rpm-4.8.0-37.el6.x86_64                                    80/85
  Verifying  : libX11-common-1.5.0-4.el6.noarch                           81/85
  Verifying  : elfutils-libs-0.152-1.el6.x86_64                           82/85
  Verifying  : elfutils-0.152-1.el6.x86_64                                83/85
  Verifying  : libX11-1.5.0-4.el6.x86_64                                  84/85
  Verifying  : binutils-2.20.51.0.2-5.36.el6.x86_64                       85/85

Installed:
  autoconf.noarch 0:2.63-5.1.el6
  automake.noarch 0:1.11.1-4.el6
  bison.x86_64 0:2.4.1-5.el6
  byacc.x86_64 0:1.9.20070509-7.el6
  cscope.x86_64 0:15.6-6.el6
  ctags.x86_64 0:5.8-2.el6
  cvs.x86_64 0:1.11.23-16.el6
  diffstat.x86_64 0:1.51-2.el6
  doxygen.x86_64 1:1.6.1-6.el6
  gcc.x86_64 0:4.4.7-16.el6
  gcc-c++.x86_64 0:4.4.7-16.el6
  gcc-gfortran.x86_64 0:4.4.7-16.el6
  gettext.x86_64 0:0.17-18.el6
  git.x86_64 0:1.7.1-3.el6_4.1
  indent.x86_64 0:2.2.10-7.el6
  intltool.noarch 0:0.41.0-1.1.el6
  libtool.x86_64 0:2.2.6-15.5.el6
  patch.x86_64 0:2.6-6.el6
  patchutils.x86_64 0:0.3.1-3.1.el6
  rcs.x86_64 0:5.7-37.el6
  redhat-rpm-config.noarch 0:9.0.3-44.el6.centos
  rpm-build.x86_64 0:4.8.0-47.el6
  subversion.x86_64 0:1.6.11-15.el6_7
  swig.x86_64 0:1.3.40-6.el6
  systemtap.x86_64 0:2.7-2.el6

Dependency Installed:
  alsa-lib.x86_64 0:1.0.22-3.el6
  cloog-ppl.x86_64 0:0.15.7-1.2.el6
  cpp.x86_64 0:4.4.7-16.el6
  file.x86_64 0:5.04-21.el6
  gdb.x86_64 0:7.2-83.el6
  gettext-devel.x86_64 0:0.17-18.el6
  gettext-libs.x86_64 0:0.17-18.el6
  kernel-devel.x86_64 0:2.6.32-573.3.1.el6
  libXtst.x86_64 0:1.2.2-2.1.el6
  libart_lgpl.x86_64 0:2.3.20-5.1.el6
  libgcj.x86_64 0:4.4.7-16.el6
  libgfortran.x86_64 0:4.4.7-16.el6
  libproxy.x86_64 0:0.3.0-10.el6
  libproxy-bin.x86_64 0:0.3.0-10.el6
  libproxy-python.x86_64 0:0.3.0-10.el6
  libstdc++-devel.x86_64 0:4.4.7-16.el6
  mpfr.x86_64 0:2.4.1-6.el6
  neon.x86_64 0:0.29.3-3.el6_4
  pakchois.x86_64 0:0.4-3.2.el6
  perl-Error.noarch 1:0.17015-4.el6
  perl-Git.noarch 0:1.7.1-3.el6_4.1
  perl-XML-Parser.x86_64 0:2.36-7.el6
  ppl.x86_64 0:0.10.2-11.el6
  systemtap-client.x86_64 0:2.7-2.el6
  systemtap-devel.x86_64 0:2.7-2.el6
  systemtap-runtime.x86_64 0:2.7-2.el6

Updated:
  binutils.x86_64 0:2.20.51.0.2-5.43.el6      elfutils.x86_64 0:0.161-3.el6
  flex.x86_64 0:2.5.35-9.el6                  libxcb.x86_64 0:1.9.1-3.el6

Dependency Updated:
  elfutils-libelf.x86_64 0:0.161-3.el6    elfutils-libs.x86_64 0:0.161-3.el6
  file-libs.x86_64 0:5.04-21.el6          libX11.x86_64 0:1.6.0-6.el6
  libX11-common.noarch 0:1.6.0-6.el6      libgcc.i686 0:4.4.7-16.el6
  libgcc.x86_64 0:4.4.7-16.el6            libgomp.x86_64 0:4.4.7-16.el6
  libstdc++.i686 0:4.4.7-16.el6           libstdc++.x86_64 0:4.4.7-16.el6
  rpm.x86_64 0:4.8.0-47.el6               rpm-libs.x86_64 0:4.8.0-47.el6
  rpm-python.x86_64 0:4.8.0-47.el6

Complete!
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.lstn.net
 * epel: fedora-epel.mirror.lstn.net
 * extras: yum.tamu.edu
 * updates: pubmirrors.dal.corespace.com
Setting up Install Process
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
Package m4-1.4.13-5.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bzip2-devel.x86_64 0:1.0.5-7.el6_0 will be installed
---> Package curl.x86_64 0:7.19.7-37.el6_4 will be updated
---> Package curl.x86_64 0:7.19.7-46.el6 will be an update
--> Processing Dependency: libcurl = 7.19.7-46.el6 for package: curl-7.19.7-46.e
l6.x86_64
---> Package expat-devel.x86_64 0:2.0.1-11.el6_2 will be installed
---> Package libcurl-devel.x86_64 0:7.19.7-46.el6 will be installed
--> Processing Dependency: libidn-devel for package: libcurl-devel-7.19.7-46.el6
.x86_64
---> Package ncurses-devel.x86_64 0:5.7-4.20090207.el6 will be installed
--> Processing Dependency: ncurses-libs = 5.7-4.20090207.el6 for package: ncurse
s-devel-5.7-4.20090207.el6.x86_64
---> Package ruby.x86_64 0:1.8.7.374-4.el6_6 will be installed
--> Processing Dependency: ruby-libs = 1.8.7.374-4.el6_6 for package: ruby-1.8.7
.374-4.el6_6.x86_64
--> Processing Dependency: libruby.so.1.8()(64bit) for package: ruby-1.8.7.374-4
.el6_6.x86_64
---> Package ruby-irb.x86_64 0:1.8.7.374-4.el6_6 will be installed
---> Package texinfo.x86_64 0:4.13a-8.el6 will be installed
---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package libcurl.x86_64 0:7.19.7-37.el6_4 will be updated
---> Package libcurl.x86_64 0:7.19.7-46.el6 will be an update
---> Package libidn-devel.x86_64 0:1.18-2.el6 will be installed
---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-libs.x86_64 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-libs.i686 0:5.7-4.20090207.el6 will be an update
--> Processing Dependency: ncurses-base = 5.7-4.20090207.el6 for package: ncurse
s-libs-5.7-4.20090207.el6.i686
---> Package ncurses-libs.x86_64 0:5.7-4.20090207.el6 will be an update
---> Package ruby-libs.x86_64 0:1.8.7.374-4.el6_6 will be installed
--> Processing Dependency: libreadline.so.5()(64bit) for package: ruby-libs-1.8.
7.374-4.el6_6.x86_64
--> Running transaction check
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
---> Package ncurses-base.x86_64 0:5.7-3.20090208.el6 will be updated
---> Package ncurses-base.x86_64 0:5.7-4.20090207.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch         Version                   Repository  Size
================================================================================
Installing:
 bzip2-devel            x86_64       1.0.5-7.el6_0             base       250 k
 expat-devel            x86_64       2.0.1-11.el6_2            base       120 k
 libcurl-devel          x86_64       7.19.7-46.el6             base       246 k
 ncurses-devel          x86_64       5.7-4.20090207.el6        base       641 k
 ruby                   x86_64       1.8.7.374-4.el6_6         base       538 k
 ruby-irb               x86_64       1.8.7.374-4.el6_6         base       317 k
 texinfo                x86_64       4.13a-8.el6               base       668 k
 zlib-devel             x86_64       1.2.3-29.el6              base        44 k
Updating:
 curl                   x86_64       7.19.7-46.el6             base       196 k
Installing for dependencies:
 compat-readline5       x86_64       5.2-17.1.el6              base       130 k
 libidn-devel           x86_64       1.18-2.el6                base       137 k
 ruby-libs              x86_64       1.8.7.374-4.el6_6         base       1.7 M
Updating for dependencies:
 libcurl                x86_64       7.19.7-46.el6             base       168 k
 ncurses-base           x86_64       5.7-4.20090207.el6        base        61 k
 ncurses-libs           i686         5.7-4.20090207.el6        base       249 k
 ncurses-libs           x86_64       5.7-4.20090207.el6        base       245 k

Transaction Summary
================================================================================
Install      11 Package(s)
Upgrade       5 Package(s)

Total download size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/16): bzip2-devel-1.0.5-7.el6_0.x86_64.rpm             | 250 kB     00:00
(2/16): compat-readline5-5.2-17.1.el6.x86_64.rpm         | 130 kB     00:00
(3/16): curl-7.19.7-46.el6.x86_64.rpm                    | 196 kB     00:00
(4/16): expat-devel-2.0.1-11.el6_2.x86_64.rpm            | 120 kB     00:00
(5/16): libcurl-7.19.7-46.el6.x86_64.rpm                 | 168 kB     00:00
(6/16): libcurl-devel-7.19.7-46.el6.x86_64.rpm           | 246 kB     00:00
(7/16): libidn-devel-1.18-2.el6.x86_64.rpm               | 137 kB     00:00
(8/16): ncurses-base-5.7-4.20090207.el6.x86_64.rpm       |  61 kB     00:00
(9/16): ncurses-devel-5.7-4.20090207.el6.x86_64.rpm      | 641 kB     00:00
(10/16): ncurses-libs-5.7-4.20090207.el6.i686.rpm        | 249 kB     00:00
(11/16): ncurses-libs-5.7-4.20090207.el6.x86_64.rpm      | 245 kB     00:00
(12/16): ruby-1.8.7.374-4.el6_6.x86_64.rpm               | 538 kB     00:00
(13/16): ruby-irb-1.8.7.374-4.el6_6.x86_64.rpm           | 317 kB     00:00
(14/16): ruby-libs-1.8.7.374-4.el6_6.x86_64.rpm          | 1.7 MB     00:00
(15/16): texinfo-4.13a-8.el6.x86_64.rpm                  | 668 kB     00:00
(16/16): zlib-devel-1.2.3-29.el6.x86_64.rpm              |  44 kB     00:00
--------------------------------------------------------------------------------
Total                                           9.6 MB/s | 5.6 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libcurl-7.19.7-46.el6.x86_64                                1/21
  Updating   : ncurses-base-5.7-4.20090207.el6.x86_64                      2/21
  Updating   : ncurses-libs-5.7-4.20090207.el6.x86_64                      3/21
  Installing : compat-readline5-5.2-17.1.el6.x86_64                        4/21
  Installing : ruby-libs-1.8.7.374-4.el6_6.x86_64                          5/21
  Installing : ruby-1.8.7.374-4.el6_6.x86_64                               6/21
  Installing : libidn-devel-1.18-2.el6.x86_64                              7/21
  Installing : libcurl-devel-7.19.7-46.el6.x86_64                          8/21
  Installing : ruby-irb-1.8.7.374-4.el6_6.x86_64                           9/21
  Installing : ncurses-devel-5.7-4.20090207.el6.x86_64                    10/21
  Updating   : curl-7.19.7-46.el6.x86_64                                  11/21
  Installing : bzip2-devel-1.0.5-7.el6_0.x86_64                           12/21
  Installing : expat-devel-2.0.1-11.el6_2.x86_64                          13/21
  Installing : texinfo-4.13a-8.el6.x86_64                                 14/21
  Installing : zlib-devel-1.2.3-29.el6.x86_64                             15/21
  Updating   : ncurses-libs-5.7-4.20090207.el6.i686                       16/21
  Cleanup    : ncurses-libs-5.7-3.20090208.el6                            17/21
  Cleanup    : curl-7.19.7-37.el6_4.x86_64                                18/21
  Cleanup    : ncurses-libs-5.7-3.20090208.el6                            19/21
  Cleanup    : ncurses-base-5.7-3.20090208.el6.x86_64                     20/21
  Cleanup    : libcurl-7.19.7-37.el6_4.x86_64                             21/21
  Verifying  : ncurses-devel-5.7-4.20090207.el6.x86_64                     1/21
  Verifying  : compat-readline5-5.2-17.1.el6.x86_64                        2/21
  Verifying  : ncurses-libs-5.7-4.20090207.el6.x86_64                      3/21
  Verifying  : ncurses-libs-5.7-4.20090207.el6.i686                        4/21
  Verifying  : ruby-libs-1.8.7.374-4.el6_6.x86_64                          5/21
  Verifying  : ruby-1.8.7.374-4.el6_6.x86_64                               6/21
  Verifying  : libidn-devel-1.18-2.el6.x86_64                              7/21
  Verifying  : zlib-devel-1.2.3-29.el6.x86_64                              8/21
  Verifying  : texinfo-4.13a-8.el6.x86_64                                  9/21
  Verifying  : ruby-irb-1.8.7.374-4.el6_6.x86_64                          10/21
  Verifying  : ncurses-base-5.7-4.20090207.el6.x86_64                     11/21
  Verifying  : expat-devel-2.0.1-11.el6_2.x86_64                          12/21
  Verifying  : curl-7.19.7-46.el6.x86_64                                  13/21
  Verifying  : bzip2-devel-1.0.5-7.el6_0.x86_64                           14/21
  Verifying  : libcurl-7.19.7-46.el6.x86_64                               15/21
  Verifying  : libcurl-devel-7.19.7-46.el6.x86_64                         16/21
  Verifying  : ncurses-libs-5.7-3.20090208.el6.i686                       17/21
  Verifying  : ncurses-base-5.7-3.20090208.el6.x86_64                     18/21
  Verifying  : ncurses-libs-5.7-3.20090208.el6.x86_64                     19/21
  Verifying  : libcurl-7.19.7-37.el6_4.x86_64                             20/21
  Verifying  : curl-7.19.7-37.el6_4.x86_64                                21/21

Installed:
  bzip2-devel.x86_64 0:1.0.5-7.el6_0
  expat-devel.x86_64 0:2.0.1-11.el6_2
  libcurl-devel.x86_64 0:7.19.7-46.el6
  ncurses-devel.x86_64 0:5.7-4.20090207.el6
  ruby.x86_64 0:1.8.7.374-4.el6_6
  ruby-irb.x86_64 0:1.8.7.374-4.el6_6
  texinfo.x86_64 0:4.13a-8.el6
  zlib-devel.x86_64 0:1.2.3-29.el6

Dependency Installed:
  compat-readline5.x86_64 0:5.2-17.1.el6    libidn-devel.x86_64 0:1.18-2.el6
  ruby-libs.x86_64 0:1.8.7.374-4.el6_6

Updated:
  curl.x86_64 0:7.19.7-46.el6

Dependency Updated:
  libcurl.x86_64 0:7.19.7-46.el6
  ncurses-base.x86_64 0:5.7-4.20090207.el6
  ncurses-libs.i686 0:5.7-4.20090207.el6
  ncurses-libs.x86_64 0:5.7-4.20090207.el6

Complete!

Step 2: install Linuxbrew
Use the below command:

git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew

or

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"

Result for the first command:

[root@tutorialspots.com ~]# git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxb
rew
Initialized empty Git repository in /root/.linuxbrew/.git/
remote: Counting objects: 283464, done.
remote: Total 283464 (delta 0), reused 0 (delta 0), pack-reused 283464
Receiving objects: 100% (283464/283464), 54.07 MiB | 16.20 MiB/s, done.
Resolving deltas: 100% (213125/213125), done.

Step 3: Add to the file .bashrc or .zshrc (in the end of file)

install linuxbrew step 3

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

We can use vi command

vi .bashrc

install linuxbrew step 3.2


Done! Restart server! Now, we can use Linuxbrew.

[root@tutorialspots.com ~]# brew
Example usage:
  brew [info | home | options ] [FORMULA...]
  brew install FORMULA...
  brew uninstall FORMULA...
  brew search [foo]
  brew list [FORMULA...]
  brew update
  brew upgrade [FORMULA...]
  brew pin/unpin [FORMULA...]

Troubleshooting:
  brew doctor
  brew install -vd FORMULA
  brew [--env | config]

Brewing:
  brew create [URL [--no-fetch]]
  brew edit [FORMULA...]
  https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Co
okbook.md

Further help:
  man brew
  brew home

NO COMMENTS