You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created the user account linuxbrew and installing without sudo permission and installing it ~/.linuxbrew folder.
[linuxbrew@redhat-test ~]$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Found Git: /usr/local/git/bin/git
==> Found cURL: /usr/local/bin/curl
==> Setting HOMEBREW_DEVELOPER to use Git/cURL not in /usr/bin
==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
Press RETURN/ENTER to continue or any other key to abort:
sudo: error in /etc/sudo.conf, line 19 while loading plugin "sudoers_policy"
sudo: /usr/libexec/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins
==> /bin/chown -R linuxbrew:linuxbrew /home/linuxbrew/.linuxbrew/Homebrew
==> Downloading and installing Homebrew...
remote: Enumerating objects: 203, done.
remote: Counting objects: 100% (179/179), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 203 (delta 170), reused 179 (delta 170), pack-reused 24
Receiving objects: 100% (203/203), 28.99 KiB | 0 bytes/s, done.
Resolving deltas: 100% (172/172), completed with 119 local objects.
From https://github.com/Homebrew/brew
90087b2..46ca99d dependabot/bundler/Library/Homebrew/rubocop-1.31.0 -> origin/dependabot/bundler/Library/Homebrew/rubocop-1.31.0
38e1af8..2b01354 master -> origin/master
HEAD is now at 2b01354 Merge pull request #13443 from Rylan12/caskroom-speed-improvement
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/language/python.rb:10: warning: Insecure world writable dir /usr/bin in PATH, mode 040777
Updated 1 tap (homebrew/core).
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
Instructions on how to configure your shell for Homebrew
can be found in the 'Next steps' section below.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/linuxbrew/.bash_profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- Install Homebrew's dependencies if you have sudo access:
sudo yum groupinstall 'Development Tools'
For more information, see:
https://docs.brew.sh/Homebrew-on-Linux
- We recommend that you install GCC:
brew install gcc
- Run brew help to get started
- Further documentation:
https://docs.brew.sh
sudo: error in /etc/sudo.conf, line 19 while loading plugin "sudoers_policy"
sudo: /usr/libexec/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins
[linuxbrew@redhat-test ~]$ test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
[linuxbrew@redhat-test ~]$ test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
[linuxbrew@redhat-test ~]$
[linuxbrew@redhat-test ~]$
[linuxbrew@redhat-test ~]$ pwd
/home/linuxbrew
[linuxbrew@redhat-test ~]$ echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/linuxbrew/.bash_profile
[linuxbrew@redhat-test ~]$
[linuxbrew@redhat-test ~]$ test -r ~/.bash_profile && echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bash_profile
[linuxbrew@redhat-test ~]$
[linuxbrew@redhat-test ~]$ echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.profile
[linuxbrew@redhat-test ~]$
[linuxbrew@redhat-test ~]$ brew help
Error: Please update your system curl or set HOMEBREW_CURL_PATH to a newer version.
Minimum required version: 7.41.0
Your curl version: 7.29.0
Your curl executable:
Error: Please update your system Git or set HOMEBREW_GIT_PATH to a newer version.
Minimum required version: 2.7.0
Your Git version: ...
Your Git executable:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/language/python.rb:10: warning: Insecure world writable dir /usr/bin in PATH, mode 040777
Example usage:
brew search TEXT|/REGEX/
brew info [FORMULA|CASK...]
brew install FORMULA|CASK...
brew update
brew upgrade [FORMULA|CASK...]
brew uninstall FORMULA|CASK...
brew list [FORMULA|CASK...]
Troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA|CASK
Contributing:
brew create URL [--no-fetch]
brew edit [FORMULA|CASK...]
Further help:
brew commands
brew help [COMMAND]
man brew
https://docs.brew.sh
[linuxbrew@redhat-test ~]$
Please guide me how to fix the GIT and CURL paths to user customized paths instead of pulling from default paths like (.../bin/curl).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to install homebrew on REDHAT 7 Linux
I created the user account linuxbrew and installing without sudo permission and installing it ~/.linuxbrew folder.
Please guide me how to fix the GIT and CURL paths to user customized paths instead of pulling from default paths like (.../bin/curl).
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions