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/ref-manual | |
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/ref-manual')
-rw-r--r-- | documentation/ref-manual/system-requirements.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst index 5e5c105d62..d12e8dfbe3 100644 --- a/documentation/ref-manual/system-requirements.rst +++ b/documentation/ref-manual/system-requirements.rst | |||
@@ -120,23 +120,23 @@ supported Ubuntu or Debian Linux distribution: | |||
120 | its own custom ``/usr/include/linux/soundcard.h`` on the Debian | 120 | its own custom ``/usr/include/linux/soundcard.h`` on the Debian |
121 | system. If you run into this situation, try either of these solutions:: | 121 | system. If you run into this situation, try either of these solutions:: |
122 | 122 | ||
123 | $ sudo apt-get build-dep qemu | 123 | $ sudo apt build-dep qemu |
124 | $ sudo apt-get remove oss4-dev | 124 | $ sudo apt remove oss4-dev |
125 | 125 | ||
126 | - For Debian-8, ``python3-git`` and ``pylint3`` are no longer | 126 | - For Debian-8, ``python3-git`` and ``pylint3`` are no longer |
127 | available via ``apt-get``. | 127 | available via ``apt``. |
128 | :: | 128 | :: |
129 | 129 | ||
130 | $ sudo pip3 install GitPython pylint==1.9.5 | 130 | $ sudo pip3 install GitPython pylint==1.9.5 |
131 | 131 | ||
132 | - *Essentials:* Packages needed to build an image on a headless system:: | 132 | - *Essentials:* Packages needed to build an image on a headless system:: |
133 | 133 | ||
134 | $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; | 134 | $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL; |
135 | 135 | ||
136 | - *Documentation:* Packages needed if you are going to build out the | 136 | - *Documentation:* Packages needed if you are going to build out the |
137 | Yocto Project documentation manuals:: | 137 | Yocto Project documentation manuals:: |
138 | 138 | ||
139 | $ sudo apt-get install make python3-pip | 139 | $ sudo apt install make python3-pip |
140 | &PIP3_HOST_PACKAGES_DOC; | 140 | &PIP3_HOST_PACKAGES_DOC; |
141 | 141 | ||
142 | .. note:: | 142 | .. note:: |