aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-29 12:07:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-29 12:07:27 +0200
commit6de7f99a62a353e0f5c36ebddfe8c9f6ded1d7b0 (patch)
tree85f3fadf2ed46cd8368676b9d3dca1c1dd497fa8
parent9f19d3c101f0f08d3dadf7080a5261a627df4701 (diff)
Add sudo to apt-get, dnf commands in bpkg-pkg-bindist(1)
-rw-r--r--bpkg/pkg-bindist.cli10
1 files changed, 5 insertions, 5 deletions
diff --git a/bpkg/pkg-bindist.cli b/bpkg/pkg-bindist.cli
index 1b86cbe..2f30f6c 100644
--- a/bpkg/pkg-bindist.cli
+++ b/bpkg/pkg-bindist.cli
@@ -224,8 +224,8 @@ namespace bpkg
than a package name. For example:
\
- apt-get install ./libhello_1.2.3-0~debian11_amd64.deb \
- ./libhello-dev_1.2.3-0~debian11_amd64.deb
+ sudo apt-get install ./libhello_1.2.3-0~debian11_amd64.deb \
+ ./libhello-dev_1.2.3-0~debian11_amd64.deb
\
See \l{bpkg#bindist-mapping-debian-produce Debian Package Mapping for
@@ -391,8 +391,8 @@ namespace bpkg
For example:
\
- dnf install libhello-1.2.3-1.fc35.x86_64.rpm \
- libhello-devel-1.2.3-1.fc35.x86_64.rpm
+ sudo dnf install libhello-1.2.3-1.fc35.x86_64.rpm \
+ libhello-devel-1.2.3-1.fc35.x86_64.rpm
\
See \l{bpkg#bindist-mapping-fedora-produce Fedora Package Mapping for
@@ -618,7 +618,7 @@ namespace bpkg
\
sudo tar -xf libhello-1.2.3-x86_64-debian11-gcc12.tar.xz \
- -C / --strip-components=1
+ -C / --strip-components=1
\
If you expect the binary package to be unpacked into a directory other