Log inRegister
boossy:~/workspace $ cd mt-hugo/
boossy:~/workspace/mt-hugo $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
==> This script will install:
...
==> The following new directories will be created:
...
Press RETURN to continue or any other key to abort
...
==> Installation successful!
...
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Install the Linuxbrew dependencies if you have sudo access:
Debian, Ubuntu, etc.
sudo apt-get install build-essential
Fedora, Red Hat, CentOS, etc.
sudo yum groupinstall 'Development Tools'
See http://linuxbrew.sh/#dependencies for more information.
- Add Linuxbrew to your ~/.profile by running
echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >>~/.profile
echo 'export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH"' >>~/.profile
echo 'export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH"' >>~/.profile
- Add Linuxbrew to your PATH
PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
- We recommend that you install GCC by running:
brew install gcc
- After modifying your shell profile, you may need to restart your session
(logout and then log back in) if the brew command isn't found.
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
boossy:~/workspace/mt-hugo $ cd /home/linuxbrew/
boossy:/home/linuxbrew $ cd .linuxbrew
boossy:/home/linuxbrew/.linuxbrew $ cd Homebrew
boossy:/home/linuxbrew/.linuxbrew/Homebrew (stable) $ cd bin
boossy:/home/linuxbrew/.linuxbrew/Homebrew/bin (stable) $ ./brew install hugo
...
For compilers to find isl@0.18 you may need to set:
export LDFLAGS="-L/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib"
export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/include"

For pkg-config to find isl@0.18 you may need to set:
export PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib/pkgconfig"
...
For compilers to find isl@0.18 you may need to set:
export LDFLAGS="-L/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib"
export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/include"

For pkg-config to find isl@0.18 you may need to set:
export PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib/pkgconfig"

boossy:/home/linuxbrew/.linuxbrew/Homebrew/bin (stable) $

******************************************************************************

boossy:~/workspace $ sudo apt-get install build-essential
boossy:~/workspace $ echo 'export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"' >>~/.profile
boossy:~/workspace $ echo 'export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH"' >>~/.profile
boossy:~/workspace $ echo 'export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH"' >>~/.profile
boossy:~/workspace $ PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
boossy:~/workspace $ brew install gcc
boossy:~/workspace $ brew link gcc
boossy:~/workspace $ brew help
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 4: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Example usage:
brew search [TEXT|/REGEX/]
brew info [FORMULA...]
brew install FORMULA...
brew update
brew upgrade [FORMULA...]
brew uninstall FORMULA...
brew list [FORMULA...]

Troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA

Contributing:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]

Further help:
brew commands
brew help [COMMAND]
man brew
https://docs.brew.sh
boossy:~/workspace $ brew install hugo
boossy:~/workspace $ brew link hugo
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 4: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Linking /home/linuxbrew/.linuxbrew/Homebrew/Cellar/hugo/0.49.1… 26 symlinks created
boossy:~/workspace $ export LDFLAGS="-L/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib"
boossy:~/workspace $ export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/include"
boossy:~/workspace $ export PKG_CONFIG_PATH="/home/linuxbrew/.linuxbrew/Homebrew/opt/isl@0.18/lib/pkgconfig"
boossy:~/workspace $
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This page was cached on 21 Mar 2024 - 03:07.