Add sudo to commands in readme.
This commit is contained in:
parent
55678a8d03
commit
e1356644c4
12
README.adoc
12
README.adoc
|
@ -46,10 +46,10 @@ image::https://repology.org/badge/vertical-allrepos/epubgrep.svg[]
|
|||
|
||||
[source,shell]
|
||||
--------------------------------------------------------------------------------
|
||||
eselect repository enable guru
|
||||
echo 'app-text/epubgrep' >> /etc/portage/package.accept_keywords/epubgrep
|
||||
emaint sync -r guru
|
||||
emerge -a app-text/epubgrep
|
||||
sudo eselect repository enable guru
|
||||
echo 'app-text/epubgrep' | sudo tee -a /etc/portage/package.accept_keywords/epubgrep
|
||||
sudo emaint sync -r guru
|
||||
sudo emerge -a app-text/epubgrep
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
=== From source
|
||||
|
@ -77,7 +77,7 @@ Debian buster or Ubuntu bionic.
|
|||
|
||||
[source,shell]
|
||||
--------------------------------------------------------------------------------
|
||||
apt install build-essential cmake libboost-program-options-dev libboost-locale-dev libboost-regex-dev gettext libarchive-dev libfmt-dev asciidoc
|
||||
sudo apt install build-essential cmake libboost-program-options-dev libboost-locale-dev libboost-regex-dev gettext libarchive-dev libfmt-dev asciidoc
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
==== Get sourcecode
|
||||
|
@ -105,7 +105,7 @@ cmake ..
|
|||
cmake --build . -- --jobs=$(nproc --ignore=1)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
To install, run `make install`. To run the tests, run `cd tests && ctest`.
|
||||
To install, run `sudo make install`. To run the tests, run `cd tests && ctest`.
|
||||
|
||||
.CMake options:
|
||||
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
|
||||
|
|
Loading…
Reference in New Issue
Block a user