Difference between revisions of "IGVC Software Installation Instructions"

From RoboJackets Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
== Step 2 - Set up your sources.list ==
 
== Step 2 - Set up your sources.list ==
  
Now for these next steps you don't need to understand what they do, only make sure they complete properly. So if you see any errors come up, tell one of us immediately. In your terminal type:
+
Now for these next steps you don't need to understand what they do, only make sure they complete properly. So if you see any errors come up, tell one of us immediately. Copy this into your terminal:
<div style="background:#eee; border:1px solid #ccc; padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'</span><br/></div>
+
<div style="background:#eee; border:1px solid #ccc; padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo sh -c 'echo "deb [http://packages.ros.org/ros/ubuntu http://packages.ros.org/ros/ubuntu] $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'</span><br/></div>
 
== Step 3 - Set up your keys ==
 
== Step 3 - Set up your keys ==
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px"><span style="font-family:courier new,courier,monospace"></span><span style="font-family:courier new,courier,monospace">sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116</span><span style="font-family:courier new,courier,monospace"></span><br/></div>
+
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116</span><br/></div>
 
== Step 4 - Update your Debian packages ==
 
== Step 4 - Update your Debian packages ==
 
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo apt-get update</span><br/></div>
 
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo apt-get update</span><br/></div>
 +
== Step 5 - Get Ros Indigo ==
 +
<div style="background:#eee; border:1px solid #ccc; padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo apt-get install ros-indigo-desktop</span><br/></div>
 +
== Step 6 - Initialize rosdep ==
 +
<div style="background:#eee; border:1px solid #ccc; padding:5px 10px"><span style="font-family:courier new,courier,monospace">sudo rosdep init</span><br/></div><div style="background:#eee; border:1px solid #ccc; padding:5px 10px"><span style="font-family:courier new,courier,monospace">rosdep update</span><br/></div>
 +
== Step 7 - Environment Variable Setup ==
 +
<div style="background:#eee; border:1px solid #ccc; padding:5px 10px">echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc<br/></div><div style="background:#eee; border:1px solid #ccc; padding:5px 10px">source ~/.bashrc<br/></div>

Revision as of 20:35, 2 September 2015

Welcome! Let's jump right in.

Robojackets IGVC currently supports the Ubuntu 14.04 and ROS-indigo environment. If you don't know what those are, don't worry! The project may build/run in other environments, but we can't guarantee it.

HAVE to use Ubuntu 15.04?

Ok, lets get down to business.

Step 1 - Get Terminator

Forget the default Ubuntu terminal, we need both horizont and vertical splits for productive activity. Start up the default terminal and type:

sudo apt-get install terminator

You should now be using this from now on, it will help later,

Step 2 - Set up your sources.list

Now for these next steps you don't need to understand what they do, only make sure they complete properly. So if you see any errors come up, tell one of us immediately. Copy this into your terminal:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Step 3 - Set up your keys

sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116

Step 4 - Update your Debian packages

sudo apt-get update

Step 5 - Get Ros Indigo

sudo apt-get install ros-indigo-desktop

Step 6 - Initialize rosdep

sudo rosdep init
rosdep update

Step 7 - Environment Variable Setup

echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc