Skip to content

Instantly share code, notes, and snippets.

@fardjad
Last active September 17, 2024 19:24

Revisions

  1. fardjad revised this gist May 29, 2024. 1 changed file with 1 addition and 11 deletions.
    12 changes: 1 addition & 11 deletions how-to-install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,4 @@
    <header>

    # How to Install Homebrew on Manjaro

    > [Fardjad Davari](https://github.com/fardjad) <br> Published on <a href="https://gist.github.com/fardjad" id="source-anchor">GitHub Gist</a>
    </header>

    <article>
    ## Steps

    @@ -41,6 +33,4 @@
    6. Install gcc (as recommended by the installer script)

    brew install gcc

    </article>
    brew install gcc
  2. fardjad revised this gist Dec 29, 2023. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion how-to-install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,13 @@
    <header>

    # How to Install Homebrew on Manjaro

    > Steps required to install Homebrew on Manjaro Linux
    > [Fardjad Davari](https://github.com/fardjad) <br> Published on <a href="https://gist.github.com/fardjad" id="source-anchor">GitHub Gist</a>
    </header>

    <article>
    ## Steps

    1. Install base-devel
    @@ -36,3 +42,5 @@
    6. Install gcc (as recommended by the installer script)

    brew install gcc

    </article>
  3. fardjad revised this gist Jun 19, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions how-to-install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # How to Install homebrew on Manjaro
    # How to Install Homebrew on Manjaro

    > Steps required to install homebrew on Manjaro Linux
    > Steps required to install Homebrew on Manjaro Linux
    ## Steps

  4. fardjad revised this gist Apr 7, 2019. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions how-to-install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@

    1. Install base-devel

    pacman -Syu # CAUTION: this updates the whole system
    pacman -S base-devel

    2. Run the installer script
    @@ -16,7 +17,7 @@

    [ -d /home/linuxbrew/.linuxbrew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
    # You most likely want to add the above line to your shell startup file as well
    # You most likely want to add the above line to your shell startup file as well.
    4. Make `brew doctor` happy

    @@ -32,6 +33,6 @@

    brew vendor-install ruby
    6. Install gcc
    6. Install gcc (as recommended by the installer script)

    brew install gcc
  5. fardjad revised this gist Apr 7, 2019. 2 changed files with 37 additions and 17 deletions.
    37 changes: 37 additions & 0 deletions how-to-install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    # How to Install homebrew on Manjaro

    > Steps required to install homebrew on Manjaro Linux
    ## Steps

    1. Install base-devel

    pacman -S base-devel

    2. Run the installer script

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

    3. Set brew environment variables

    [ -d /home/linuxbrew/.linuxbrew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
    # You most likely want to add the above line to your shell startup file as well
    4. Make `brew doctor` happy

    brew doctor
    # In case it complains about the linked directory
    mkdir -p /home/linuxbrew/.linuxbrew/var/homebrew/linked
    chown -R $(whoami) /home/linuxbrew/.linuxbrew/var/homebrew/linked
    # Ignore the warning about python being symlinked to python3. This is the default behavior in ArchLinux/Manjaro and chaning the symlink is dangerous.
    5. Vendor-install ruby

    brew vendor-install ruby
    6. Install gcc

    brew install gcc
    17 changes: 0 additions & 17 deletions install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -1,17 +0,0 @@
    # Install homebrew on Manjaro

    > Steps required to install homebrew on Manjaro Linux
    ## Steps

    1. Install base-devel

    pacman -S base-devel

    2. Run the installer script

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

    3. Set brew environment variables

    test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
  6. fardjad created this gist Apr 7, 2019.
    17 changes: 17 additions & 0 deletions install-homebrew-on-manjaro.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Install homebrew on Manjaro

    > Steps required to install homebrew on Manjaro Linux
    ## Steps

    1. Install base-devel

    pacman -S base-devel

    2. Run the installer script

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

    3. Set brew environment variables

    test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)