{{keywords>mybook world edition optware linux ssh wget ldconfig sh echo ipkg}} ====== Configure Optware ====== First consider fallowing all the previous steps the [[home|WD MyBook World Edition Hacks]] tutorial This chapter is based on [[http://mybookworld.wikidot.com/optware|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 **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