diff --git a/README.adoc b/README.adoc index 2816a8a..25f9bcf 100644 --- a/README.adoc +++ b/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.