From 33ea53f00db5760650596af24d6c5bea262ed0f6 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Wed, 6 Oct 2021 20:58:12 +0200 Subject: manuals: replace "apt-get" by "apt" Modern Debian based distros (such as Ubuntu) now use "apt" instead of "apt-get" Also make sure "apt" is invoked with root privileges (mandatory) (From yocto-docs rev: 380ef2474f3ecc2bce83f11cd838d054bef56d22) Signed-off-by: Michael Opdenacker Reviewed-by: Quentin Schulz Signed-off-by: Richard Purdie --- documentation/dev-manual/common-tasks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 71e5d6ef57..6508343f4a 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst @@ -5874,7 +5874,7 @@ system image files much faster. use the tool without specifying ``PATH`` even from the root account:: - $ sudo apt-get install bmap-tools + $ sudo apt install bmap-tools - If you are unable to install the ``bmap-tools`` package, you will need to build Bmaptool before using it. Use the following command:: @@ -7066,7 +7066,7 @@ to fetch the repository information: .. code-block:: none - # apt-get update + $ sudo apt update After this step, ``apt`` is able to find, install, and upgrade packages from the @@ -8249,7 +8249,7 @@ might be significant in human-readable form. Here is an example:: Alternatively, you can install ``python3-git`` using the appropriate - distribution package manager (e.g. ``apt-get``, ``dnf``, or ``zipper``). + distribution package manager (e.g. ``apt``, ``dnf``, or ``zipper``). To see changes to the build history using a web interface, follow the instruction in the ``README`` file -- cgit v1.2.3-54-g00ecf