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 | ast2050-yocto-poky-8632404294eaa3464797cffc757add6b5d92b7dc.zip ast2050-yocto-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 3003f06..692c209 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -191,33 +191,44 @@ <para> Packages and package installation vary depending on your development system. In general, you need to have root access and then install the required packages. + The next few sections show you how to get set up with the right packages for + Ubuntu, Fedora, and openSUSE. </para> + + <section id='ubuntu'> + <title>Ubuntu</title> - <note><para> - If you are using a Fedora version prior to version 15, you will need to take some - extra steps to enable <filename>sudo</filename>. - See the <ulink url='https://fedoraproject.org/wiki/Configuring_Sudo'>Configuring Sudo</ulink> - wiki page for details. - </para></note> + <para> + If your distribution is Ubuntu, you need to be running the bash shell. + You can be sure you are running this shell by entering the following command and + selecting "No" at the prompt: + <literallayout class='monospaced'> + $ sudo dpkg-reconfigure dash + </literallayout> + </para> - <para> - The packages you need for a Debian-based host are shown in the following command: - </para> + <para> + The packages you need for a supported Ubuntu distribution are shown in the following command: + </para> - <literallayout class='monospaced'> + <literallayout class='monospaced'> $ sudo apt-get install sed wget cvs subversion git-core coreutils \ unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ python-pysqlite2 diffstat help2man make gcc build-essential \ g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ mercurial autoconf automake groff libtool xterm - </literallayout> + </literallayout> + </section> - <para> - The packages you need for an RPM-based host like Fedora and openSUSE, - respectively, are as follows: - </para> + <section id='fedora'> + <title>Fedora</title> - <literallayout class='monospaced'> + <para> + The packages you need for a supported Fedora distribution are shown in the following + commands: + </para> + + <literallayout class='monospaced'> $ sudo yum groupinstall "development tools" $ sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip \ unzip python-psyco perl texinfo texi2html diffstat openjade \ @@ -227,14 +238,31 @@ perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \ SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \ autoconf automake libtool xterm - </literallayout> + </literallayout> - <literallayout class='monospaced'> + <note><para> + If you are using a Fedora version prior to version 15, you will need to take some + extra steps to enable <filename>sudo</filename>, or you will need to run + the commands as root user. + See the <ulink url='https://fedoraproject.org/wiki/Configuring_Sudo'>Configuring Sudo</ulink> + wiki page for details. + </para></note> + </section> + + <section id='opensuse'> + <title>openSUSE</title> + + <para> + The packages you need for a supported openSUSE distribution are shown in the following + command: + </para> + + <literallayout class='monospaced'> $ sudo zypper install python gcc gcc-c++ libtool \ - subversion git chrpath automake \ - help2man diffstat texinfo mercurial wget - </literallayout> - + subversion git chrpath automake make wget help2man \ + diffstat texinfo mercurial freeglut-devel libSDL-devel + </literallayout> + </section> </section> <section id='releases'> |