diff options
Diffstat (limited to 'documentation/ref-manual/system-requirements.rst')
-rw-r--r-- | documentation/ref-manual/system-requirements.rst | 72 |
1 files changed, 62 insertions, 10 deletions
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst index 0fc92550a5..b22572c6b4 100644 --- a/documentation/ref-manual/system-requirements.rst +++ b/documentation/ref-manual/system-requirements.rst | |||
@@ -62,8 +62,12 @@ supported on the following distributions: | |||
62 | 62 | ||
63 | - Ubuntu 22.04 (LTS) | 63 | - Ubuntu 22.04 (LTS) |
64 | 64 | ||
65 | - Ubuntu 23.04 | ||
66 | |||
65 | - Fedora 38 | 67 | - Fedora 38 |
66 | 68 | ||
69 | - Fedora 39 | ||
70 | |||
67 | - CentOS Stream 8 | 71 | - CentOS Stream 8 |
68 | 72 | ||
69 | - Debian GNU/Linux 11 (Bullseye) | 73 | - Debian GNU/Linux 11 (Bullseye) |
@@ -150,10 +154,27 @@ Ubuntu and Debian | |||
150 | Here are the packages needed to build an image on a headless system | 154 | Here are the packages needed to build an image on a headless system |
151 | with a supported Ubuntu or Debian Linux distribution:: | 155 | with a supported Ubuntu or Debian Linux distribution:: |
152 | 156 | ||
153 | $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL; | 157 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL; |
158 | |||
159 | You also need to ensure you have the ``en_US.UTF-8`` locale enabled:: | ||
160 | |||
161 | $ locale --all-locales | grep en_US.utf8 | ||
162 | |||
163 | If this is not the case, you can reconfigure the ``locales`` package to add it | ||
164 | (requires an interactive shell):: | ||
165 | |||
166 | $ sudo dpkg-reconfigure locales | ||
154 | 167 | ||
155 | .. note:: | 168 | .. note:: |
156 | 169 | ||
170 | - If you are not in an interactive shell, ``dpkg-reconfigure`` will | ||
171 | not work as expected. To add the locale you will need to edit | ||
172 | ``/etc/locale.gen`` file to add/uncomment the ``en_US.UTF-8`` locale. | ||
173 | A naive way to do this as root is:: | ||
174 | |||
175 | $ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen | ||
176 | $ locale-gen | ||
177 | |||
157 | - If your build system has the ``oss4-dev`` package installed, you | 178 | - If your build system has the ``oss4-dev`` package installed, you |
158 | might experience QEMU build failures due to the package installing | 179 | might experience QEMU build failures due to the package installing |
159 | its own custom ``/usr/include/linux/soundcard.h`` on the Debian | 180 | its own custom ``/usr/include/linux/soundcard.h`` on the Debian |
@@ -164,8 +185,12 @@ with a supported Ubuntu or Debian Linux distribution:: | |||
164 | 185 | ||
165 | Here are the packages needed to build Project documentation manuals:: | 186 | Here are the packages needed to build Project documentation manuals:: |
166 | 187 | ||
167 | $ sudo apt install git make inkscape texlive-latex-extra | 188 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC; |
168 | $ sudo apt install sphinx python3-saneyaml python3-sphinx-rtd-theme | 189 | |
190 | In addition to the previous packages, here are the packages needed to build the | ||
191 | documentation in PDF format:: | ||
192 | |||
193 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC_PDF; | ||
169 | 194 | ||
170 | Fedora Packages | 195 | Fedora Packages |
171 | --------------- | 196 | --------------- |
@@ -177,8 +202,13 @@ with a supported Fedora Linux distribution:: | |||
177 | 202 | ||
178 | Here are the packages needed to build Project documentation manuals:: | 203 | Here are the packages needed to build Project documentation manuals:: |
179 | 204 | ||
180 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 205 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC; |
181 | &PIP3_HOST_PACKAGES_DOC; | 206 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
207 | |||
208 | In addition to the previous packages, here are the packages needed to build the | ||
209 | documentation in PDF format:: | ||
210 | |||
211 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC_PDF; | ||
182 | 212 | ||
183 | openSUSE Packages | 213 | openSUSE Packages |
184 | ----------------- | 214 | ----------------- |
@@ -187,11 +217,17 @@ Here are the packages needed to build an image on a headless system | |||
187 | with a supported openSUSE distribution:: | 217 | with a supported openSUSE distribution:: |
188 | 218 | ||
189 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; | 219 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_ESSENTIAL; |
220 | $ sudo pip3 install &OPENSUSE_PIP3_HOST_PACKAGES_ESSENTIAL; | ||
190 | 221 | ||
191 | Here are the packages needed to build Project documentation manuals:: | 222 | Here are the packages needed to build Project documentation manuals:: |
192 | 223 | ||
193 | $ sudo zypper install git make python3-pip which inkscape texlive-fncychap | 224 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC; |
194 | &PIP3_HOST_PACKAGES_DOC; | 225 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
226 | |||
227 | In addition to the previous packages, here are the packages needed to build the | ||
228 | documentation in PDF format:: | ||
229 | |||
230 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC_PDF; | ||
195 | 231 | ||
196 | 232 | ||
197 | AlmaLinux Packages | 233 | AlmaLinux Packages |
@@ -200,6 +236,10 @@ AlmaLinux Packages | |||
200 | Here are the packages needed to build an image on a headless system | 236 | Here are the packages needed to build an image on a headless system |
201 | with a supported AlmaLinux distribution:: | 237 | with a supported AlmaLinux distribution:: |
202 | 238 | ||
239 | $ sudo dnf install -y epel-release | ||
240 | $ sudo yum install dnf-plugins-core | ||
241 | $ sudo dnf config-manager --set-enabled crb | ||
242 | $ sudo dnf makecache | ||
203 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; | 243 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL; |
204 | 244 | ||
205 | .. note:: | 245 | .. note:: |
@@ -217,8 +257,20 @@ with a supported AlmaLinux distribution:: | |||
217 | 257 | ||
218 | Here are the packages needed to build Project documentation manuals:: | 258 | Here are the packages needed to build Project documentation manuals:: |
219 | 259 | ||
220 | $ sudo dnf install git make python3-pip which inkscape texlive-fncychap | 260 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC; |
221 | &PIP3_HOST_PACKAGES_DOC; | 261 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
262 | |||
263 | In addition to the previous packages, here are the packages needed to build the | ||
264 | documentation in PDF format:: | ||
265 | |||
266 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC_PDF; | ||
267 | |||
268 | .. warning:: | ||
269 | |||
270 | Unlike Fedora or OpenSUSE, AlmaLinux does not provide the packages | ||
271 | ``texlive-collection-fontsextra``, ``texlive-collection-lang*`` and | ||
272 | ``texlive-collection-latexextra``, so you may run into issues. These may be | ||
273 | installed using `tlmgr <https://tug.org/texlive/tlmgr.html>`_. | ||
222 | 274 | ||
223 | .. _system-requirements-buildtools: | 275 | .. _system-requirements-buildtools: |
224 | 276 | ||
@@ -319,7 +371,7 @@ If you would prefer not to use the ``install-buildtools`` script, you can instea | |||
319 | download and run a pre-built :term:`buildtools` installer yourself with the following | 371 | download and run a pre-built :term:`buildtools` installer yourself with the following |
320 | steps: | 372 | steps: |
321 | 373 | ||
322 | #. Go to :yocto_dl:`/releases/yocto/yocto-&DISTRO;/buildtools/`, locate and | 374 | #. Go to :yocto_dl:`/releases/yocto/&DISTRO_REL_LATEST_TAG;/buildtools/`, locate and |
323 | download the ``.sh`` file corresponding to your host architecture | 375 | download the ``.sh`` file corresponding to your host architecture |
324 | and to :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`. | 376 | and to :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`. |
325 | 377 | ||