User Tools

Site Tools


apple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apple [2025/04/10 08:16] dblumeapple [2025/12/15 12:24] (current) – [brew upgrade issues] dblume
Line 15: Line 15:
   * Set bash as your default shell (seem [[https://stackoverflow.com/questions/77052638/changing-default-shell-from-zsh-to-bash-on-macos-catalina-and-beyond|to need to install via brew]]): ''chsh -s /bin/bash''   * Set bash as your default shell (seem [[https://stackoverflow.com/questions/77052638/changing-default-shell-from-zsh-to-bash-on-macos-catalina-and-beyond|to need to install via brew]]): ''chsh -s /bin/bash''
   * System Preferences:   * System Preferences:
 +    * Set some of these [[https://medium.com/macoclock/macos-finder-sucks-4ab191e07c40|Finder preferences]]
     * Mouse      * Mouse 
       * Make tracking speed much faster!       * Make tracking speed much faster!
Line 57: Line 58:
       https://docs.brew.sh       https://docs.brew.sh
  
-  brew install grep +  brew install grep gnu-sed findutils universal-ctags 
-  brew install gnu-sed +  brew install gawk jq tree httpie inetutils pv 
-  brew install findutils +  brew install gnupg socat wget nmap tmux  # but not saulpw/vd/visidata 
-  brew install ctags +  brew install ripgrep moreutils neovim  
-  brew install gawk +  brew install bash-completion  # See .bash_profile 
-  brew install jq + 
-  brew install tree +I noticed that [[https://github.com/saulpw/visidata/issues/2756#issuecomment-2913385616|brew's visidata had color problems, but the pip-installed one did not]]. 
-  brew install httpie + 
-  brew install inetutils  # If you need telnet (maybe nc is good enough?) +To install gnuplot 6.0 with "block" display for Braille chars, see [[gnuplot#instructions-for-macos]]
-  brew install telnet +
-  brew install gnuplot +
-  brew install pv +
-  brew install gnupg +
-  brew install socat +
-  brew install wget +
-  brew install nmap +
-  brew install tmux +
-  brew install saulpw/vd/visidata +
-  brew install ripgrep +
-  brew install moreutils +
-  brew install bash-completion. " See .bash_profile +
-  brew install gitui +
-  # Maybe also readline if you brew install python3 +
-   +
-  brew install bash +
-  # Note where it was installed. Then something like... +
-  sudo ln -s /opt/homebrew/Cellar/bash/5.2.15/bin/bash /usr/local/bin/bash +
-  sudo echo /usr/local/bin/bash >> /etc/shells +
-  chsh -s /usr/local/bin/bash+
  
 Log out of that console window and log back in again. Log out of that console window and log back in again.
Line 256: Line 237:
 <code> <code>
 $ sudo automount -vc $ sudo automount -vc
 +</code>
 +
 +====== brew upgrade issues ======
 +
 +Symbolic links to the new bash from brew might not get updated. There's one in /usr/local/bin/bash to update manually.
 +
 +First, check which shell you're in. And check which would be run. And check which are symlinks.
 +<code>
 +$ echo "$0"
 +/bin/bash
 +$ which bash
 +/opt/homebrew/bin/bash
 +$ which -a bash | xargs ls -l
 +-r-xr-xr-x  1 root    wheel  1310224 Oct 24 20:22 /bin/bash
 +lrwxr-xr-x@ 1 dblume  admin       29 Dec 15 08:25 /opt/homebrew/bin//bash -> ../Cellar/bash/5.3.9/bin/bash
 +lrwxr-xr-x@ 1 dblume  admin       29 Dec 15 08:25 /opt/homebrew/bin/bash -> ../Cellar/bash/5.3.9/bin/bash
 +lrwxr-xr-x@ 1 root    wheel       22 Dec 15 12:18 /usr/local/bin/bash -> /opt/homebrew/bin/bash
 +</code>
 +
 +Then, if there's a broken symlink, fix it.
 +<code>
 +$ sudo rm /usr/local/bin/bash
 +$ sudo ln -s /opt/homebrew/bin/bash /usr/local/bin/bash
 </code> </code>
  
apple.1744298173.txt.gz · Last modified: 2025/04/10 08:16 by dblume