diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-11-10 06:26:58 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 15:24:16 +0000 |
commit | 8632404294eaa3464797cffc757add6b5d92b7dc (patch) | |
tree | 71a03f45235eb8644df16f1248e275bf7ce3de91 /documentation | |
parent | c8fd49ab900d8f71d86f6045b655e26e0290ac9b (diff) | |
download | poky-8632404294eaa3464797cffc757add6b5d92b7dc.tar.gz |
documentation/yocto-project-qs/yocto-project-qs.xml: Updated packages section
Split the instructions for getting the packages needed for Yocto
into sections that specifically support Ubuntu, Fedora, and openSUSE.
Also, added a couple packages to openSUSE. I did not implement a
suggested change to include a note indicating future support of
the dash shell since it probably is not good policy to document plans
as they change.
Reported-by: Darren Hart
(From yocto-docs rev: 3dbbb22ccdda1a7e809e61e19f5d04ab26e3499c)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 72 |
1 files changed, 50 insertions, 22 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 3003f06cd0..692c209c33 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -191,33 +191,44 @@ | |||
191 | <para> | 191 | <para> |
192 | Packages and package installation vary depending on your development system. | 192 | Packages and package installation vary depending on your development system. |
193 | In general, you need to have root access and then install the required packages. | 193 | In general, you need to have root access and then install the required packages. |
194 | The next few sections show you how to get set up with the right packages for | ||
195 | Ubuntu, Fedora, and openSUSE. | ||
194 | </para> | 196 | </para> |
197 | |||
198 | <section id='ubuntu'> | ||
199 | <title>Ubuntu</title> | ||
195 | 200 | ||
196 | <note><para> | 201 | <para> |
197 | If you are using a Fedora version prior to version 15, you will need to take some | 202 | If your distribution is Ubuntu, you need to be running the bash shell. |
198 | extra steps to enable <filename>sudo</filename>. | 203 | You can be sure you are running this shell by entering the following command and |
199 | See the <ulink url='https://fedoraproject.org/wiki/Configuring_Sudo'>Configuring Sudo</ulink> | 204 | selecting "No" at the prompt: |
200 | wiki page for details. | 205 | <literallayout class='monospaced'> |
201 | </para></note> | 206 | $ sudo dpkg-reconfigure dash |
207 | </literallayout> | ||
208 | </para> | ||
202 | 209 | ||
203 | <para> | 210 | <para> |
204 | The packages you need for a Debian-based host are shown in the following command: | 211 | The packages you need for a supported Ubuntu distribution are shown in the following command: |
205 | </para> | 212 | </para> |
206 | 213 | ||
207 | <literallayout class='monospaced'> | 214 | <literallayout class='monospaced'> |
208 | $ sudo apt-get install sed wget cvs subversion git-core coreutils \ | 215 | $ sudo apt-get install sed wget cvs subversion git-core coreutils \ |
209 | unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ | 216 | unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ |
210 | python-pysqlite2 diffstat help2man make gcc build-essential \ | 217 | python-pysqlite2 diffstat help2man make gcc build-essential \ |
211 | g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ | 218 | g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ |
212 | mercurial autoconf automake groff libtool xterm | 219 | mercurial autoconf automake groff libtool xterm |
213 | </literallayout> | 220 | </literallayout> |
221 | </section> | ||
214 | 222 | ||
215 | <para> | 223 | <section id='fedora'> |
216 | The packages you need for an RPM-based host like Fedora and openSUSE, | 224 | <title>Fedora</title> |
217 | respectively, are as follows: | ||
218 | </para> | ||
219 | 225 | ||
220 | <literallayout class='monospaced'> | 226 | <para> |
227 | The packages you need for a supported Fedora distribution are shown in the following | ||
228 | commands: | ||
229 | </para> | ||
230 | |||
231 | <literallayout class='monospaced'> | ||
221 | $ sudo yum groupinstall "development tools" | 232 | $ sudo yum groupinstall "development tools" |
222 | $ sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip \ | 233 | $ sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip \ |
223 | unzip python-psyco perl texinfo texi2html diffstat openjade \ | 234 | unzip python-psyco perl texinfo texi2html diffstat openjade \ |
@@ -227,14 +238,31 @@ | |||
227 | perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \ | 238 | perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \ |
228 | SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \ | 239 | SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \ |
229 | autoconf automake libtool xterm | 240 | autoconf automake libtool xterm |
230 | </literallayout> | 241 | </literallayout> |
231 | 242 | ||
232 | <literallayout class='monospaced'> | 243 | <note><para> |
244 | If you are using a Fedora version prior to version 15, you will need to take some | ||
245 | extra steps to enable <filename>sudo</filename>, or you will need to run | ||
246 | the commands as root user. | ||
247 | See the <ulink url='https://fedoraproject.org/wiki/Configuring_Sudo'>Configuring Sudo</ulink> | ||
248 | wiki page for details. | ||
249 | </para></note> | ||
250 | </section> | ||
251 | |||
252 | <section id='opensuse'> | ||
253 | <title>openSUSE</title> | ||
254 | |||
255 | <para> | ||
256 | The packages you need for a supported openSUSE distribution are shown in the following | ||
257 | command: | ||
258 | </para> | ||
259 | |||
260 | <literallayout class='monospaced'> | ||
233 | $ sudo zypper install python gcc gcc-c++ libtool \ | 261 | $ sudo zypper install python gcc gcc-c++ libtool \ |
234 | subversion git chrpath automake \ | 262 | subversion git chrpath automake make wget help2man \ |
235 | help2man diffstat texinfo mercurial wget | 263 | diffstat texinfo mercurial freeglut-devel libSDL-devel |
236 | </literallayout> | 264 | </literallayout> |
237 | 265 | </section> | |
238 | </section> | 266 | </section> |
239 | 267 | ||
240 | <section id='releases'> | 268 | <section id='releases'> |