README: use sudo in system-wide installation

This commit is contained in:
Maxim Baz
2019-03-13 14:22:33 +01:00
parent e7e2bce6a3
commit 800aced875

View File

@@ -11,7 +11,7 @@ The following operating systems provide a browserpass package that can be instal
- TODO
- TODO
Once the package is installed, refer to the section [Configure browsers](#configure-browsers).
Once the package is installed, **refer to the section [Configure browsers](#configure-browsers)**.
If your OS is not listed above, proceed with the manual installation steps below.
@@ -34,7 +34,7 @@ Primary key fingerprint: EB4F 9E5A 60D3 2232 BB52 150C 12C8 7A28 FEAC 6B20
Unpack the archive. If you decided to compile the application yourself, refer to the [Building the app](#building-the-app) section on how to do so. Once complete, continue with the steps below.
Finally install the app using `make install` (if you compiled it using `make browserpass`) or `make BIN=browserpass-XXXX install` (if you downloaded a release with pre-built binary).
Finally install the app using `sudo make install` (if you compiled it using `make browserpass`) or `sudo make BIN=browserpass-XXXX install` (if you downloaded a release with pre-built binary).
### Configure browsers
@@ -42,26 +42,26 @@ The Makefile (which is also available in `/usr/lib/browserpass/`, if you install
| Command | Description |
| -------------------------- | -------------------------------------------------------------------------- |
| `make hosts-chromium` | Configure browserpass for Chromium browser, system-wide |
| `sudo make hosts-chromium` | Configure browserpass for Chromium browser, system-wide |
| `make hosts-chromium-user` | Configure browserpass for Chromium browser, for the current user only |
| `make hosts-chrome` | Configure browserpass for Google Chrome browser, system-wide |
| `sudo make hosts-chrome` | Configure browserpass for Google Chrome browser, system-wide |
| `make hosts-chrome-user` | Configure browserpass for Google Chrome browser, for the current user only |
| `make hosts-vivaldi` | Configure browserpass for Vivaldi browser, system-wide |
| `sudo make hosts-vivaldi` | Configure browserpass for Vivaldi browser, system-wide |
| `make hosts-vivaldi-user` | Configure browserpass for Vivaldi browser, for the current user only |
| `make hosts-brave` | Configure browserpass for Brave browser, system-wide |
| `sudo make hosts-brave` | Configure browserpass for Brave browser, system-wide |
| `make hosts-brave-user` | Configure browserpass for Brave browser, for the current user only |
| `make hosts-firefox` | Configure browserpass for Firefox browser, system-wide |
| `sudo make hosts-firefox` | Configure browserpass for Firefox browser, system-wide |
| `make hosts-firefox-user` | Configure browserpass for Firefox browser, for the current user only |
In addition, Chromium-based browsers support the following `make` goals:
| Command | Description |
| ----------------------------- | -------------------------------------------------------------------------------------------- |
| `make policies-chromium` | Automatically install browser extension for Chromium browser, system-wide |
| `sudo make policies-chromium` | Automatically install browser extension for Chromium browser, system-wide |
| `make policies-chromium-user` | Automatically install browser extension for Chromium browser, for the current user only |
| `make policies-chrome` | Automatically install browser extension for Google Chrome browser, system-wide |
| `sudo make policies-chrome` | Automatically install browser extension for Google Chrome browser, system-wide |
| `make policies-chrome-user` | Automatically install browser extension for Google Chrome browser, for the current user only |
| `make policies-brave` | Automatically install browser extension for Brave browser, system-wide |
| `sudo make policies-brave` | Automatically install browser extension for Brave browser, system-wide |
| `make policies-brave-user` | Automatically install browser extension for Brave browser, for the current user only |
## Building the app