Skip to content

Commit

Permalink
Use sudo -H instead of sudo on Readme (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzfcb authored Mar 24, 2024
1 parent 3ee7f9b commit 21060c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ NB! Windows and Mac support is as of yet untested.
Unoserver needs to be installed by and run with the same Python installation that LibreOffice uses.
On Unix this usually means you can just install it with::

$ sudo pip install unoserver
$ sudo -H pip install unoserver

If you have multiple versions of LibreOffice installed, you need to install it for each one.
Usually each LibreOffice install will have it's own `python` executable and you need to run
`pip` with that executable::

$ sudo /full/path/to/python -m pip install unoserver
$ sudo -H /full/path/to/python -m pip install unoserver

To find all Python installations that have the relevant LibreOffice libraries installed,
you can run a script called `find_uno.py`::
Expand Down

0 comments on commit 21060c4

Please sign in to comment.