1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Michael Opdenacker
2021-10-06 20:58:12 +02:00
committed by Richard Purdie
parent 4ca20be7fe
commit 33ea53f00d
5 changed files with 11 additions and 11 deletions
@@ -120,23 +120,23 @@ supported Ubuntu or Debian Linux distribution:
its own custom ``/usr/include/linux/soundcard.h`` on the Debian
system. If you run into this situation, try either of these solutions::
$ sudo apt-get build-dep qemu
$ sudo apt-get remove oss4-dev
$ sudo apt build-dep qemu
$ sudo apt remove oss4-dev
- For Debian-8, ``python3-git`` and ``pylint3`` are no longer
available via ``apt-get``.
available via ``apt``.
::
$ sudo pip3 install GitPython pylint==1.9.5
- *Essentials:* Packages needed to build an image on a headless system::
$ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
- *Documentation:* Packages needed if you are going to build out the
Yocto Project documentation manuals::
$ sudo apt-get install make python3-pip
$ sudo apt install make python3-pip
&PIP3_HOST_PACKAGES_DOC;
.. note::