diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-10-06 20:58:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-08 22:01:24 +0100 |
commit | 33ea53f00db5760650596af24d6c5bea262ed0f6 (patch) | |
tree | 29c4231001245554ee739ca7e359b3572cf646d7 /documentation/dev-manual/common-tasks.rst | |
parent | 4ca20be7fe65b752b424cfaacbb107edb06e3362 (diff) | |
download | poky-33ea53f00db5760650596af24d6c5bea262ed0f6.tar.gz |
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 <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/common-tasks.rst')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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. | |||
5874 | use the tool without specifying ``PATH`` even from the root | 5874 | use the tool without specifying ``PATH`` even from the root |
5875 | account:: | 5875 | account:: |
5876 | 5876 | ||
5877 | $ sudo apt-get install bmap-tools | 5877 | $ sudo apt install bmap-tools |
5878 | 5878 | ||
5879 | - If you are unable to install the ``bmap-tools`` package, you will | 5879 | - If you are unable to install the ``bmap-tools`` package, you will |
5880 | need to build Bmaptool before using it. Use the following command:: | 5880 | need to build Bmaptool before using it. Use the following command:: |
@@ -7066,7 +7066,7 @@ to fetch the repository information: | |||
7066 | 7066 | ||
7067 | .. code-block:: none | 7067 | .. code-block:: none |
7068 | 7068 | ||
7069 | # apt-get update | 7069 | $ sudo apt update |
7070 | 7070 | ||
7071 | After this step, | 7071 | After this step, |
7072 | ``apt`` is able to find, install, and upgrade packages from the | 7072 | ``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:: | |||
8249 | 8249 | ||
8250 | 8250 | ||
8251 | Alternatively, you can install ``python3-git`` using the appropriate | 8251 | Alternatively, you can install ``python3-git`` using the appropriate |
8252 | distribution package manager (e.g. ``apt-get``, ``dnf``, or ``zipper``). | 8252 | distribution package manager (e.g. ``apt``, ``dnf``, or ``zipper``). |
8253 | 8253 | ||
8254 | To see changes to the build history using a web interface, follow the | 8254 | To see changes to the build history using a web interface, follow the |
8255 | instruction in the ``README`` file | 8255 | instruction in the ``README`` file |