المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ipkg - Packet manager for Azbox



صخري
22-07-2010, 04:58 PM
ipkg - Packet manager for Azbox


I successfully compiled and installed ipkg - package manager on Azbox, now you can install any soft from repo http://h--p://ipkg.nslu2-linux.org/f.../cross/stable/ (http://h--p//ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/)


1. Choose root folder on hard disk and create opt dir there
Code:
mkdir -p /DATA/usb1/sda3/opt
mount it on /opt it will be mounted every system startup

Code:
mount -o bind /DATA/usb1/sda3/opt /opt


2. Copy ipkg_set.tar.gz to some temp folder on azbox by ftp, /root is ok, cd to /root and untar ipkg_set.tar.gz

Code:

tar xzf ipkg_set.tar.gz
ls

S90User******s ipkg.conf once.sh* rcS*
ipkg-cl* ipkg_set.tar.gz rcK*
3. Edit S90User******s you have to change ROOT_OPT to your ********

for me it

ROOT_OPT=/DATA/usb1/sda3/opt

4. Lanch once.sh
Code:
./once.sh
5. Lanch ipkg-cl

Code:
./ipkg-cl update
6. Check ipkg work with repo
./ipkg-cl list

you should se packets list

7. Install ipkg from repo

Code:
./ipkg-cl install ipkg-opt
ipkg and uclibc sould be installed

8. Forget ipkg-cl , now use only ipkg
9. Power off/on box


You are all set now

10. Examples

try ipkg without arguments for help



Code:



ipkg update
ipkg list
for packages list

Code:
ipkg install mc
installs Midnight Commander

Gracias mastu