Skip to content

Instantly share code, notes, and snippets.

View 7468696e6b's full-sized avatar
🍃
春色惱人眠不得 vernis vicibus perculsi dormire non possunt

7468696e6b

🍃
春色惱人眠不得 vernis vicibus perculsi dormire non possunt
View GitHub Profile
@7468696e6b
7468696e6b / okular-appleSilicon.md
Last active May 13, 2024 07:15
how to install Okular viewer on macOS Big Sur, using M1/Apple Silicon/arm64
  1. Install homebrew from https://brew.sh/ (follow the instructions there)
  2. tap the https://invent.kde.org/packaging/homebrew-kde/ repo, brew tap kde-mac/kde https://invent.kde.org/packaging/homebrew-kde.git
  3. brew edit okular, workaround now is to comment out or delete the line depends_on "chmlib" (won't compile on macos arm64 for now as of 2021-08-18), then save (if using vim you need to first press i to insert/type, when saving then <esc> then :wq then <enter>.
  4. brew install okular, wait for stuff to compile and/or install
  5. It may ask for keychain credentials (to sign the binaries? because of mac arm64 security policy https://eclecticlight.co/2021/01/26/when-you-dont-have-permission-to-run-an-app-on-an-m1-mac/)
  6. $(brew --repo kde-mac/kde)/tools/do-caveats.sh
  7. Now okular is in your $HOME/Applications/KDE folder, and will show up in Launchpad! You can view pdf, djvu, etc documents.
@7468696e6b
7468696e6b / tagainiJisho-appleSilicon.md
Last active April 8, 2021 00:42
How to install Tagaini Jisho on an Apple Silicon/arm64/"M1" Mac (macOS ≥ 11.0)

Step 1: clone repo

% git clone https://github.com/Gnurou/tagainijisho

Step 2: install dependencies (get homebrew if you don't have it, see more info at https://brew.sh/)

% brew install cmake
% brew install qt@5