| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

How-to update opkg package feeds

Page history last edited by Chris 11 years, 8 months ago

opkg is the default software package manager for Angstrom linux running on the Beagle Embedded starter kit hardware. It provides hundreds of open source software packages optimized specifically for the ARM platform architecture, similar to the heavy-weight apt-get package manager on desktop systems. The following describes how to update opkg feeds.

 

1. Make sure you have a live internet connection.

 

root@beagleboard:~# ping www.liquidware.com

 

If no internet is live, attach the ethernet cable (Beagle xM), or connect your ethernet adapter (Beagle C5), and execute the following commands:

 

root@beagleboard:~# ifdown usb0
root@beagleboard:~# ifup usb0

 

2. Look at what's inside your opkg config file:

 

root@beagleboard:~#  cat /etc/opkg/beagleboard-feed.conf

 

3. Browse online for angstrom feeds to obtain a new URL here:

 

http://feeds.angstrom-distribution.org/feeds/ 

 

4. Edit each of your package feed configuration files located here using the URL from step 3:

 

root@beagleboard:~# ls -l /etc/opkg/*

 

-rw-r--r-- 1 www-data www-data 157 Mar  2  2011 /etc/opkg/arch.conf 

 

-rw-r--r-- 1 www-data www-data  87 Mar 11 02:58 /etc/opkg/base-feed.conf 
-rw-r--r-- 1 www-data www-data 109 Mar 11 02:57 /etc/opkg/beagleboard-feed.conf 
-rw-r--r-- 1 www-data www-data  89 Mar 11 03:00 /etc/opkg/debug-feed.conf 
-rw-r--r-- 1 www-data www-data  98 Mar  2  2011 /etc/opkg/gstreamer-feed.conf 
-rw-r--r-- 1 www-data www-data 103 Mar 11 03:00 /etc/opkg/locale-en-feed.conf 
-rw-r--r-- 1 www-data www-data  83 Mar  2  2011 /etc/opkg/noarch-feed.conf 
-rw-r--r-- 1 www-data www-data  87 Mar 11 02:59 /etc/opkg/perl-feed.conf 
-rw-r--r-- 1 www-data www-data  91 Mar 11 02:59 /etc/opkg/python-feed.conf 
-rw-r--r-- 1 www-data www-data  80 Mar  2  2011 /etc/opkg/sdk-feed.conf 

 

5. Execute commands:

 

 $ opkg update

 

Then, you will be able to use the install command to install new software packages.

 

 $ opkg install your-package

 

Additional documentation for opkg command:

http://wiki.openmoko.org/wiki/Opkg/Documentation#configuration_files

 

Comments (0)

You don't have permission to comment on this page.