How can we install it On Mac M1
hi all , How can we install it On Mac M1
Please provide more information. There's a Makefile in the project that should work fine on Apple Silicon; if it isn't, please give us the error message you're seeing and we can try and diagnose it.
Good news! I can confirm that onesixtyone builds and runs perfectly on Apple Silicon (tested on an M-series Mac).
Quick Installation Steps
-
Clone the repository:
git clone https://github.com/trailofbits/onesixtyone.git cd onesixtyone -
Build with make:
make -
Verify it's working:
./onesixtyone
That's it! The standard Makefile works without any modifications on Apple Silicon.
What you should see:
After running make, you'll get a native ARM64 binary:
cc -o onesixtyone onesixtyone.c
You can verify it's an Apple Silicon native binary with:
file onesixtyone
# Output: onesixtyone: Mach-O 64-bit executable arm64
Prerequisites
You just need Xcode Command Line Tools installed (which provides cc/gcc). If you don't have them:
xcode-select --install
Optional: System-wide installation
If you want to install it system-wide:
sudo make install
This will install:
- Binary to
/usr/bin/onesixtyone - Dictionary file to
/usr/share/onesixtyone/dict.txt - Man page to
/usr/share/man/man1/onesixtyone.1
The tool compiles cleanly without any warnings or errors on Apple Silicon. No special flags or modifications needed!
Closing this issue as the installation instructions above should resolve the question. onesixtyone builds successfully on Apple Silicon Macs (M1/M2/M3) using the standard Makefile without any modifications needed. Feel free to reopen if you encounter any specific build errors!