Note: Currently, the Oku browser is only available on operating systems using the Linux kernel. The protocol included with Oku may be used via a command-line frontend, available on Linux, macOS, and Windows.
To build, please install:
- A copy of the Rust toolchain
- It is recommended that you install Rust using
rustup.rs
, though many Linux distributions also package the Rust toolchain as well.
- It is recommended that you install Rust using
- GTK and its dependencies, including GDK, GLib, and Pango
- It is recommended that you obtain these development packages from your distribution.
- WebKitGTK
- Some distributions provide multiple versions of WebKitGTK; look for packages resembling
webkitgtk-6.0
.
- Some distributions provide multiple versions of WebKitGTK; look for packages resembling
libfuse
- It is recommended that you obtain this development package from your distribution.
Note: Before new builds, please run ./prebuild.sh
to complete necessary pre-compilation tasks.
After pre-requisites are installed and pre-compilation tasks are complete, you may run:
cargo build
for debug builds.cargo build --release
for release builds.cargo install --path .
to install Oku.
If the browser's icon is missing at runtime, copy the icon files to the appropriate location on your system (eg, cp -avr ./data/hicolor /app/share/icons/
).
If the browser has been restarted after a crash and replicas are now inaccessible in the file manager, try running umount ~/.local/share/oku/mount
.
In addition to the prerequisites above, the Flatpak build requires:
- Flatpak
flatpak-builder
- Run
flatpak install org.flatpak.Builder
to install.
- Run
Run ./install_flatpak.sh
, assuming prerequisites are installed.
This will output oku.flatpak
and install the Flatpak.
Try starting Oku from the command-line by running flatpak run io.github.OkuBrowser.oku
.
This should reveal any runtime issues.
See the following for a workaround.
If the browser has been restarted after a crash and replicas are now inaccessible in the file manager, try running umount ~/.var/app/io.github.OkuBrowser.oku/data/oku/mount
.