diff options
-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 @@ <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'> |