Add sudo to commands in readme.

This commit is contained in:
tastytea 2021-05-25 18:04:44 +02:00
parent 55678a8d03
commit e1356644c4
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 6 additions and 6 deletions

View File

@ -46,10 +46,10 @@ image::https://repology.org/badge/vertical-allrepos/epubgrep.svg[]
[source,shell] [source,shell]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
eselect repository enable guru sudo eselect repository enable guru
echo 'app-text/epubgrep' >> /etc/portage/package.accept_keywords/epubgrep echo 'app-text/epubgrep' | sudo tee -a /etc/portage/package.accept_keywords/epubgrep
emaint sync -r guru sudo emaint sync -r guru
emerge -a app-text/epubgrep sudo emerge -a app-text/epubgrep
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
=== From source === From source
@ -77,7 +77,7 @@ Debian buster or Ubuntu bionic.
[source,shell] [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 ==== Get sourcecode
@ -105,7 +105,7 @@ cmake ..
cmake --build . -- --jobs=$(nproc --ignore=1) 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: .CMake options:
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build. * `-DCMAKE_BUILD_TYPE=Debug` for a debug build.