There is no clear/apparent way to cleanly remove Mosh from Mac OS X when installed via the PKG file.
I'd like to know how to fully remove it (so I can install it using Homebrew).
Thanks,
Andrew Schwartzmeyer
There is no .bom in /Library/Receipts
Result from help received in IRC:
SInce there's no receipt, manually remove these files:
/usr/bin/mosh
/usr/bin/mosh-client
/usr/bin/mosh-server
/usr/share/man/man1/mosh
/usr/share/man/man1/mosh-client.1
/usr/share/man/man1/mosh-server.1
Which can be done with:
sudo rm -i /usr/bin/mosh*
sudo rm -i /usr/share/man1/mosh*
If you can't find these, run:
find /usr/bin -name "mosh*"
find /usr/share/man -name "mosh*"
And remove the listed mosh files.
correction on two commands:
sudo rm -i /usr/bin/mosh*
sudo rm -i /usr/share/man/man1/mosh*
Update: the actual path is now
/usr/local/bin/mosh*
/usr/local/share/man/man1/mosh*
(tested on OSX 10.10.4)
Most helpful comment
Update: the actual path is now
/usr/local/bin/mosh*
/usr/local/share/man/man1/mosh*
(tested on OSX 10.10.4)