-- Leo's gemini proxy

-- Connecting to tanso.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Got a Macbook Air M1 -- switching workflow...


Bought myself a MacBook Air M1 (base model with 8 GB RAM and 256 GB disk). To

make good use of it I need to get my workflow from my thinkpad with RHEL8 ported

to this new environment.


First i ran "git" in Terminal.app, and it automatically offered to install xcode

to give me git. Nice.


Then I need LaTeX, and it seems MacTex under rosetta is the standard distro for

now. Point and click triviall to install package.


Next I found a pre-built Alacritty, since that's my preferred terminal. Yes, of course, terminal

emulators needs to be GPU accelerated :-)


https://github.com/alacritty/alacritty/releases


Next I read up a bit on MacPorts vs. homebrew. Seems homebrew is the more

popular option. In v2.6.0 it's apparently started supporting native M1. So after

looking around a bit I find that it should be installed into /opt/homebrew on

arm, but when running the default installer it wants to install to /usr/local/.

Hmm.. another option seems to be:



sudo mkdir /opt/homebrew
sudo chown janfrode /opt/homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C /opt/homebrew

This seemingly works, but when I next try to install tmux, it fails with:


Error: Cannot install in Homebrew on Intel processor in ARM default prefix (/opt/homebrew)!

Weirdly enough it seems that Alacritty is running in rosetta, and then "uname -m"

returns "x86_64". So I scratch my /opt/homebrew and run it again in the native

Terminal.app -- There "uname -m" returns "arm64", and I can successfully install

tmux. Oh, well.. I can live in Terminal.app for now.


So now I have LaTeX, tmux, git. I think that should be enough -- now I only need

to pull in my vimwiki repositories, and I should be good to start working I

think.



Back to /

-- Response ended

-- Page fetched on Sat May 11 14:15:28 2024