Quick start ubuntu 12.04 - 64 bits
Packages to install
General utilities and RR SDK required packages
These are packages that are typically required to put your system in shape for general utilities, and also packages necessary to compile typical RR's SDKs.
sudo apt-get install -y build-essential fakeroot graphviz gdb openssh-server sudo apt-get install -y zip subversion git-core ia32-libs nfs-kernel-server nfs-common sudo apt-get install -y portmap xinetd tftpd tftp curl libncurses5-dev texinfo sudo apt-get install -y minicom quilt curl autoconf libcrypt-ssleay-perl quilt sudo apt-get install -y libusb-dev libexpect-perl mono-devel
The next packages can also be convenient, but note that they will eventually require user-interaction during the installation process, for example to confirm a User License agreement.
sudo apt-get install -y ubuntu-restricted-extras
Common packages used by RR Developers
RidgeRun developers often install:
sudo apt-get install -y vim geany eclipse-cdt hamster-indicator pidgin gnome-panel meld terminator filezilla tree doxygen
Setup
sudo, my best friend
I don't want sudo to ask me for a password all the time, so I run:
sudo sh -c "echo '%admin ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers"
Switch shell from dash to bash
sudo rm /bin/sh sudo ln -s /bin/bash /bin/sh
Tuning bash startup script
echo "alias h='history 100'" >> $HOME/.bashrc echo "alias e='\`make env || echo ERROR: not in a top level development directory 1>&2\`'" >> $HOME/.bashrc echo 'export PATH=$PATH:/sbin' >> $HOME/.bashrc
When you're ready you can source the file:
source $HOME/.bashrc
SDK downloads
The location /opt/ridgerun/downloads is conveniently used to hold all the packages and tarballs downloaded by the RR SDK, and is convenient because it can be re-used if you have more than one RR SDK installed in your machine.
sudo mkdir --parents /opt/ridgerun/downloads sudo chmod ugo+rwx /opt/ridgerun/downloads
Building a RR SDK
After the steps above, you can try out building your RR SDK. See the SDK User Guides for reference.