There are a lot of posts out there that purport to contain the answer on how to properly install Home Brew on MacOSX and then install Midnight Commander, but a lot of the posts contain commands that give errors. This is how to do it properly.
Run this command in a terminal.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null |
Then, once that command has completed, install the app easily.
brew install midnightcommander |
This is how easy this is. And then you may use the awesome Midnight Commander file manager on Macintosh OSX. Other Linux apps such as mpv may also be installed this way, enabling fast and sleek movie watching.
Now, after downloading the packages, we are installing them.
The function keys are accessed by pressing FN, and then the top function keys. This will allow you to use Midnight Commander properly.
Firstly ‘brew install midnightcommander’ does not work. Brew prompts ‘To install midnight-commander, run brew install midnight-commander’. Secondly ‘brew install midnight-commander’ failed as well:
Error: midnight-commander: SHA256 mismatch
Expected: 46db2f10f306e163e4571b8974d44cd37078aae04295bbf08b253655df3265f4
Actual: 39116c94e76630f22d54cd82c3cea308565f1715f716d1b2527f1c9c969ba4d9
File: /Users/mbp/Library/Caches/Homebrew/downloads/29f6e07723e34d86ce6135582724283803fd407f918bc2244b200e1287ff9ec4–sqlite-autoconf-3430100.tar.gz
To retry an incomplete download, remove the file above.
Sorry, it should be
brew install midnight-commander
. I just tried it on Mac OSX Monterey.