Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Brew, The Forgotten Package Manager
#1
Hey there y'all...

@ChrisTitus brought to my attention HomeBrew or Brew for short, the so called "Forgotten Package Manager" usually used on macOS... It's Distro agnostic so it can be installed and enabled on any of your choice.. On his guide he used it on Fedora, I will include the Arch version here..



Main issues it addresses:
  • Older packages from stable Linux distributions
  • Putting the installed packages in easy spots to reference them and modify them when needed.
  • Using sudo can be dangerous and brew installs it to a home directory instead of systemwide without needing sudo.

I - Installing Homebrew

1- AUR Package :
yay -S brew-git

2- Install Script :
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

3- Make brew available in terminal :

Add the following line to ~/.bashrc or ~/.zshrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

II - Using Homebrew :

With HomeBrew setup here are the commands :

brew install programname - Install programname using brew
brew search programname - Search for programname in brew
brew uninstall programname - Uninstall program
brew update - Updates brew
brew upgrade program - Updates just that one program
brew list - List programs in brew

Got Lost? man brew to look at all documentation in terminal or don’t know what a program does? brew info programname. Also note this package manager cannot replace main one on your distro as it can be limited as far as packages go, but it's very useful as Chris mentioned in video above Wink

That’s it folks ... Enjoy Wink
~ XeroLinux Toolkit Maintainer ~
I do try to help where I can, when I can.
I do this on my own, so I might not have all the answers.
[Image: K7U76Mv.png]
Reply
#2
It was forgotten cause it's now as useless as Docker.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Warehouse Flatpak Manager DarkXero 0 264 12-25-2023, 10:14 PM
Last Post: DarkXero
  Bauh Package Manager DarkXero 1 1,149 09-11-2023, 01:48 PM
Last Post: Cap_Junky
  Nix Package Manager (NixOS) DarkXero 1 1,526 08-24-2022, 03:00 PM
Last Post: Locutus
Wink Convert KDE Plasma into a tilling window manager theCode-Breaker 0 1,466 12-16-2021, 08:05 PM
Last Post: theCode-Breaker

Forum Jump:


Users browsing this thread: 1 Guest(s)