Difference between revisions of "Installing A Software Package In Angstrom"

From eLinux.org
Jump to: navigation, search
m (Steps)
m (Steps)
Line 17: Line 17:
  
 
:You should get an output similar to the one shown in the figure below:
 
:You should get an output similar to the one shown in the figure below:
 +
  
 
:[[File:Ethernet_ping_minnowboard.png|Checking Internet Connectivity]]
 
:[[File:Ethernet_ping_minnowboard.png|Checking Internet Connectivity]]
 +
  
 
:''Note:- I am doing all the changes to the MinnowBoard by accessing its serial console through my computer.''  
 
:''Note:- I am doing all the changes to the MinnowBoard by accessing its serial console through my computer.''  
Line 39: Line 41:
  
 
  opkg list|grep ruby
 
  opkg list|grep ruby
 +
 +
:[[File:Minnow_ruby1.png|Searching for Ruby programming language package in Angstrom]]
  
 
* To install a package in Angstrom, type the following command
 
* To install a package in Angstrom, type the following command
  
opkg install <package name>
+
  opkg install <package name>
  
 
:So to install Ruby, I would type the following command:
 
:So to install Ruby, I would type the following command:
 +
  
 
  opkg install ruby
 
  opkg install ruby
 +
 +
 +
:[[File:Minnow_ruby2.png|Installing Ruby in Angstrom]]
  
 
:To run Ruby, go ahead and type the following command:
 
:To run Ruby, go ahead and type the following command:
  
 
  irb
 
  irb
 +
 +
 +
:[[File:Minnow_ruby3.png|Running Ruby in Angstrom]]
 +
  
 
:'irb' stands for interactive ruby
 
:'irb' stands for interactive ruby
  
 
=Tips and Tricks=
 
=Tips and Tricks=

Revision as of 11:59, 3 October 2013

Mlogo.png Back to the MinnowBoard home page


Minnow

Summary

In this guide, we will learn how to install a software package in Angstrom which is an embedded Linux distribution. Though, the reference board for this guide was MinnowBoard, you can use the same instructions for any other board running Angstrom.

Steps

  • First step is to make sure that the MinnowBoard has internet connectivity. Connect one end of an Ethernet wire to the gigabit Ethernet port on the MinnowBoard and the other end to your router. The figures below illustrates the same:
Gigabit Ethernet port on the MinnowBoard Router
  • Power on the MinnowBoard and login to Angstrom. Refer this link for more detailed information on how to do it.
  • Check the internet connectivity by typing the following command in a terminal window
ping www.google.com -w 2
You should get an output similar to the one shown in the figure below:


Checking Internet Connectivity


Note:- I am doing all the changes to the MinnowBoard by accessing its serial console through my computer.
  • Update the list of available packages:
opkg update
'opkg' is the default package manager in Angstrom.
  • Next, is the part where we search the package that we want to install. This is done so that we can know whether the particular package is available in the Angstrom package repository or not. There are two ways to do this. The first and more easier method is to search for it via feed browser using an internet browser.
Alternatively, you can use the command below to achieve the same results
opkg list|grep <package name>
Note:- Please replace <package name> with the name of the package you are looking to install.
For example, I want to search for the Ruby programming language in Angstrom. So, I would type the following command:
opkg list|grep ruby
Searching for Ruby programming language package in Angstrom
  • To install a package in Angstrom, type the following command
 opkg install <package name>
So to install Ruby, I would type the following command:


opkg install ruby


Installing Ruby in Angstrom
To run Ruby, go ahead and type the following command:
irb


Running Ruby in Angstrom


'irb' stands for interactive ruby

Tips and Tricks