There are many good, and easy Linux distributions to get started. They all have their upsides and down (some more than others). Many distributions are tracked on distrowatch. Popular distributions are not always best, but sometimes having lots of other people using the same software as you can be a good thing, when you are running into a problem.
Some distros that have been proven to work fine:
After getting your distribution installed (which is beyond the scope of this documentation), please make sure you have these packages installed (as well as the development versions of them):
Zypper is the native command line interface of the ZYpp package manager (sponsored by Novell) for installing, removing, updating and querying software packages of local or remote (networked) media. Its graphical equivalent is the YaST package manager module. It is available in openSUSE since version 10.2 beta1.
You can type this exact sequence from the command line. This has been tested on OpenSuse 11.1, but future versions may vary, but should be close.
$ sudo zypper patch
$ sudo zypper install autoconf automake bash binutils bison bzip2 \ coreutils flex gawk gcc gettext grep intltool iputils libtool \ glibc-devel liblzo2-2 lzo-devel libncurses5 libglib2.0-dev \ m4 make pax-utils pkg-config rpm texinfo zlib
$ sudo zypper install gpm gmp-devel libmpfr1 mpfr-devel
$ sudo zypper install xorg-x11-devel
make xconfig”, you need a few other things:
$ sudo zypper install gcc-c++ qt3-devel gtk-devel libglade2-devel
$ sudo zypper install libusb-dev libftdi-dev
$ sudo zypper install bc dejagnu expect psmisc rsh xorg-x11-server-extra
$ sudo zypper install ckermit diffstat ftp lrzsz mailx minicom \ rsh ssh openssh-server subversion tftp yast2-tftp-server tree vim xinetd patch
$ sudo zypper install mingw32 nsis
You can type this exact sequence from the command line. This works on Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) - other versions, or other apt-get distributions may vary, but should be close.
$ sudo apt-get upgrade
$ sudo apt-get install autoconf automake bash binutils bison bzip2 \ coreutils flex gawk gcc gettext grep intltool iputils-ping libtool \ linux-libc-dev liblzo2-dev liblzo2-2 libncurses5 libreadline5 \ libglib2.0-dev libreadline-gplv2-dev libncurses5-dev m4 \ make pax-utils pkg-config rpm texinfo zlib1g zlib1g-dev uuid-dev
$ sudo apt-get install libgmp3-dev libmpfr-dev
$ sudo apt-get install libx11-dev
make xconfig” instead of ”
make menuconfig”, you need a few other things:
$ sudo apt-get install g++ qt3-apps-dev libgtk2.0-dev libglade2-dev qt4-qmake
Note: In the case that
make xconfig makes trouble, you should first try the following:
sudo update-alternatives --config moc”
and select moc-qt4 for recent bfin kernel (2.6.38 or more recent), and select moc-qt3 in other cases. Do ”
make distclean” and you're done. If moc-qt4 is not listed, a system upgrade may be necessary (e.g. Ubuntu requirement: 11.10).
With distribution ”
make config_qconfig” (or xconfig), you may need to invoke ”
make -C config/kconfig clean” if a build problem occurs.
$ sudo apt-get install libusb-dev libftdi-dev
$ sudo apt-get install bc dejagnu expect psmisc rsh-client xvfb
$ sudo apt-get install ckermit diffstat ftp lrzsz minicom \ rsh-client ssh openssh-server subversion tftp-hpa tftpd-hpa \ tree vim xinetd patch git-core
$ sudo apt-get install mingw32 nsis