summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-10-06 20:58:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-08 22:01:24 +0100
commit33ea53f00db5760650596af24d6c5bea262ed0f6 (patch)
tree29c4231001245554ee739ca7e359b3572cf646d7 /documentation
parent4ca20be7fe65b752b424cfaacbb107edb06e3362 (diff)
downloadpoky-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')
-rw-r--r--documentation/brief-yoctoprojectqs/index.rst2
-rw-r--r--documentation/dev-manual/common-tasks.rst6
-rw-r--r--documentation/ref-manual/system-requirements.rst10
-rw-r--r--documentation/toaster-manual/setup-and-use.rst2
-rw-r--r--documentation/toaster-manual/start.rst2
5 files changed, 11 insertions, 11 deletions
diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index 74167befad..c299df3b6a 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -80,7 +80,7 @@ distribution:
80 80
81.. code-block:: shell 81.. code-block:: shell
82 82
83 $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL; 83 $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
84 84
85.. note:: 85.. note::
86 86
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
7071After this step, 7071After 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
8254To see changes to the build history using a web interface, follow the 8254To see changes to the build history using a web interface, follow the
8255instruction in the ``README`` file 8255instruction in the ``README`` file
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::
diff --git a/documentation/toaster-manual/setup-and-use.rst b/documentation/toaster-manual/setup-and-use.rst
index 4f71b58418..0da8326926 100644
--- a/documentation/toaster-manual/setup-and-use.rst
+++ b/documentation/toaster-manual/setup-and-use.rst
@@ -211,7 +211,7 @@ Be sure you meet the following requirements:
211 211
212- If you are using Ubuntu, run the following:: 212- If you are using Ubuntu, run the following::
213 213
214 $ sudo apt-get install apache2 libapache2-mod-wsgi-py3 mysql-server python3-pip libmysqlclient-dev 214 $ sudo apt install apache2 libapache2-mod-wsgi-py3 mysql-server python3-pip libmysqlclient-dev
215 215
216- If you are using Fedora or a RedHat distribution, run the 216- If you are using Fedora or a RedHat distribution, run the
217 following:: 217 following::
diff --git a/documentation/toaster-manual/start.rst b/documentation/toaster-manual/start.rst
index c687a82531..cab5d1f673 100644
--- a/documentation/toaster-manual/start.rst
+++ b/documentation/toaster-manual/start.rst
@@ -18,7 +18,7 @@ to run the Yocto Project. To do this, follow the instructions in the
18the Yocto Project Development Tasks Manual. For Ubuntu/Debian, you might 18the Yocto Project Development Tasks Manual. For Ubuntu/Debian, you might
19also need to do an additional install of pip3. :: 19also need to do an additional install of pip3. ::
20 20
21 $ sudo apt-get install python3-pip 21 $ sudo apt install python3-pip
22 22
23Establishing Toaster System Dependencies 23Establishing Toaster System Dependencies
24======================================== 24========================================