Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

homebrew-zathura

> 编程语言
Open source

Homebrew formulae to build Zathura on Mac OS X

744 stars0 likes1 views
WebsiteGitHub

About

Homebrew formulae to build Zathura on Mac OS X

Zathura

Homebrew formulae to install Zathura and supporting PDF plugins on macOS.

Tap this repository

bash
brew tap homebrew-zathura/zathura

Install zathura

[!NOTE] If you want a comprehensive guide on installing zathura, check out @ejmastnak's guide here

Zathura uses a plugin based system for supported document types which means that you need install not only zathura itself, but at least one plugin. At this moment zathura has 5 official plugins:

  • zathura-cb for Comic Book Archive files (.cbr, .cbz, .cbt, etc.)
  • zathura-djvu for DjVu files (.djvu, .djv)
  • zathura-pdf-mupdf for PDF files (.pdf) via MuPDF backend
  • zathura-pdf-poppler for PDF files (.pdf) via Poppler backend
  • zathura-ps for PostScript files (.ps, .eps)

To use zathura as PDF viewer you need either zathura-pdf-mupdf or zathura-pdf-poppler plugin. It is not recommended to install both plugins since zathura will use only one of them, and which one depends on the implementation and may change at any time.

Install zathura

[!warning] Installing zathura with --HEAD flag is deprecated and will not work. Please use the commands below.

bash
brew install zathura

(or Optionally) with Synctex:

bash
brew install zathura --with-synctex

Install plugins

Install all required plugins. Note that zathura requires either zathura-pdf-mupdf or zathura-pdf-poppler plugin in order to render PDFs.

bash
brew install [zathura-cb] [zathura-djvu] [zathura-pdf-mupdf] [zathura-pdf-poppler] [zathura-ps]

After you install all required plugins you need to put them in a directory where zathura can find them. To do this, run the following command. You have to run this command only after installing new plugins.

bash
d=$(brew --prefix zathura)/lib/zathura ; mkdir -p $d ; for n in cb djvu pdf-mupdf pdf-poppler ps ; do p=$(brew --prefix zathura-$n)/lib$n.dylib ; [[ -f $p ]] && ln -s $p $d ; done

App bundle

To use zathura as macOS application, run following command. You have to run this command each time you're installing new plugins to update bundle info.

bash
curl https://raw.githubusercontent.com/homebrew-zathura/homebrew-zathura/refs/heads/master/convert-into-app.sh | sh

If this does not work, try downloading the script from the repo and running it manually.

Copying to clipboard

Add the following to your ~/.config/zathura/zathurarc:

bash
set selection-clipboard clipboard

Thanks to geigi (see #5)

Uninstall

Homebrew will throw errors unless you uninstall plugins before Zathura.

bash
brew uninstall --force zathura-pdf-mupdf
brew uninstall --ignore-dependencies --force girara
brew uninstall zathura

Optionally untap the repo

bash
brew untap $(brew tap | grep zathura)

Roadmap

  • Frameless windows
  • Better app bundle and icon
  • More plugin support (CB and EPUP formats, full list here)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyhomebrewzathura

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言