I want to have a non-admin user that I can develop in. The user must run unix and gui developer software. I am looking for an easy to install unix package manager that is kept upto date. Homebrew, as of this writing, seems to fulfill those requirements.

Install Procedure

  1. login into a non-privileged Debian or Ubuntu user.

  2. open the shell app, to get to the unix command line (cli) and type:
    sudo apt-get install build-essential procps curl file git
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Fish Config

In the cli create the config file:

ls -la .config/fish

#if the .config and fish folders don't exist
mkdir .config
mkdir .config/fish

# if the config.fish doesn't exist, use the touch command
# if the config.fish does exist, go to the nano command
touch .config/fish/config.fish
nano .config/fish/config.fish

Copy the config:

if status is-interactive
    # Commands to run in interactive sessions can go here
   set PATH /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/composer/vendor/bin $PATH
   set EDITOR /usr/bin/nano
   set HOMEBREW_CELLAR /home/linuxbrew/.linuxbrew/Cellar
   set HOMEBREW_PREFIX /home/linuxbrew/.linuxbrew

   abbr --add brewf "brew update; brew outdated; brew upgrade; brew cleanup"
   abbr --add aptf "sudo apt update; sudo apt list --upgradable; sudo apt upgrade; sudo apt autoremove; sudo snap refresh"
end

function on_exit --on-event fish_exit
   history clear
end

#sets default creation permissions?
umask 007

To Uninstall

In the shell’s cli, type:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"

Example install of Python

Get a list of python versions:

  • brew search python

Install the default, which is the latest stable of 3.14 (as of this writing):

  • brew install python

My Standard Software Install

Use these commands after the asterix and first space.

  • brew install fish

  • brew install yt-dlp

  • brew install asciidoctor

  • brew install mercurial

  • brew install php

  • brew install composer

  • brew install pandoc

  • brew install plantuml

  • brew install hugo

  • brew install wget

My Brew Dump

Generated:

brew "aom"
brew "openssl@3"
brew "asciidoctor"
brew "gettext"
brew "autoconf"
brew "freetds"
brew "php"
brew "composer"
brew "coreutils"
brew "csvlens"
brew "fish"
brew "gobject-introspection"
brew "hugo"
brew "mercurial"
brew "plantuml"
brew "subversion"
brew "wget"
brew "yt-dlp"
cask "mist"
cask "vscodium"
vscode "asciidoctor.asciidoctor-vscode"