User Tools

Site Tools


Sidebar

devices:mybookworld:optware

Configure Optware

<note>First consider fallowing all the previous steps the WD MyBook World Edition Hacks tutorial</note> This chapter is based on MyBook WE Wiki

  • Connect to the device using a ssh client (Putty) and log as a normal user.
  • Change the user in root.
$ su -
  • Install the package manager.
# wget http://mybookworld.wikidot.com/local--files/optware/setup-optware.sh
# sh setup-optware.sh
  • Add shared libraries path.
# echo "/opt/lib" >>/etc/ld.so.conf
# ldconfig
  • Update local feed list.
# /opt/bin/ipkg update
  • To list available packages use:
# /opt/bin/ipkg list
  • To list installed packages use:
# /opt/bin/ipkg list_installed
  • To install or upgrade packages use:
# /opt/bin/ipkg install <foo> <bar>

setup-optware.sh source

feed=http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable
ipk_name=$(wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}')
wget $feed/$ipk_name
tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
sed -i -e 's|/stable|/unstable|' /opt/etc/ipkg.conf
devices/mybookworld/optware.txt · Last modified: 2008/04/29 11:49 (external edit)