From 5177e656b61ce34df38dc4bf1577eacc861a4548 Mon Sep 17 00:00:00 2001 From: zwarag Date: Wed, 15 Jul 2015 12:30:23 +0200 Subject: [PATCH] adding fedora installation guide --- INSTALL.asciidoc | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/INSTALL.asciidoc b/INSTALL.asciidoc index 115a56531..699c9ee63 100644 --- a/INSTALL.asciidoc +++ b/INSTALL.asciidoc @@ -77,6 +77,48 @@ your `$PATH` (e.g. `/usr/local/bin/qutebrowser` or `~/bin/qutebrowser`): Please also read about <>. +On Fedora +------------------ + +qutebrowser should run on these systems: + +* Fedora 22 + +Install the dependencies via dnf: + +---- +# dnf update +# dnf install python3-qt5 python-tox python3-sip +---- + +To generate the documentation for the `:help` command, when using the git +repository (rather than a release): + +---- +# dnf install asciidoc +$ python3 scripts/asciidoc2html.py +---- + +Then run tox like this to set up a +https://docs.python.org/3/library/venv.html[virtual environment]: + +---- +$ tox -e mkvenv +---- + +This installs all needed Python dependencies in a `.venv` subfolder. The +system-wide Qt5/PyQt5 installations are symlinked into the virtual environment. + +You can then create a simple wrapper script to start qutebrowser somewhere in +your `$PATH` (e.g. `/usr/local/bin/qutebrowser` or `~/bin/qutebrowser`): + +---- +#!/bin/bash +~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser "$@" +---- + +Please also read about <>. + On Archlinux ------------