Skip to content

Commit 0d4ae0a

Browse files
authored
Update Installation.md for Mac M1/M2 (#945)
* Update Installation.md * Update Installation.md
1 parent 5272309 commit 0d4ae0a

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

instructions/Installation.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,33 @@ At the end execute it:
4242
```shell
4343
./mac_czkawka_gui
4444
```
45+
#### Compiling on Apple Silicon
46+
Prebuilt binaries are available only for x86_64, so if you use ARM e.g. Mac M1/M2, you must compile the app manually.
4547

46-
**Warning**
47-
Prebuilt binaries are available only for x86_64, so if you use ARM machine like e.g. Mac M1, you need to compile manually app.
48+
**Compilation is simple, and takes less than 10 minutes on an M1/M2 mac.**
4849

50+
```
51+
# Install Rust and Libraries
52+
brew install rustup
53+
rustup-init
54+
brew install gtk4 adwaita-icon-theme librsvg libheif
55+
```
56+
```
57+
# Clone and Build
58+
git clone https://github.com/qarmin/czkawka.git
59+
cd czkawka
60+
cargo run --release --bin czkawka_gui
61+
```
62+
Credit to User [@bauchdj](https://github.com/bauchdj)
63+
64+
#### x86 on ARM
4965
There is also a way to use x86_64 binaries on ARM, but this requires to install special version of required libraries probably via:
5066
```shell
5167
arch -x86_64 /usr/local/bin/brew install gtk4 adwaita-icon-theme ffmpeg librsvg libheif
5268
```
5369
Sadly this doesn't work for all users, so feel free to update this part of documentation(look at https://github.com/qarmin/czkawka/issues/689 and https://github.com/qarmin/czkawka/issues/637 for more info)
5470

71+
5572
### Windows
5673
By default, all needed libraries are bundled with the app, inside `windows_czkawka_gui.zip`, but if you compile the app or just move `czkawka_gui.exe`, then you will need to install the `GTK 4`
5774
runtime from [**here**](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases).

0 commit comments

Comments
 (0)