Install ipkg

From OpenFSG
Jump to: navigation, search


Ipkg is a lightweight package management system that allows you to download and install applications very easily. Installing ipkg is a trickier business, but some scripts have been made that make the process much easier.

Note: If somebody has the time, it would be great to extract the Bootstrap ipkg files and rewrite the internal script for the FSG



This Whole process has been made significantly easier since Firmware 4.2.7, because ipkg is included in the firmware. For older firmware, it's also easier, using the Custom Ipkg Installer



Setup

  1. Download the ipkg install script ds101-bootstrap_0.1-8_armeb.xsh and place it somewhere on the FSG.
    • This is from [1] and was made for the DS101 and so needs a bit of extra configuration to make it work with the FSG.

  2. Copy and paste each of these scripts from here Install ipkg (scripts) to files saved in the same directory as the boostrap install script above.
    • You should now have three files (bootstrap_0.1-8_armeb.xsh, install_ipkg, cleanup) located somewhere on the FSG. For the purposes of this article, lets assume you have them in /home/John/

  3. If you haven't already done so enable SSH, login to SSH, and su to root. Beware, Logging in as root is risky

Installation

  1. Change to the directory where the install files are located (/home/John)
  2. Type sh install_ipkg
    • You'll get several warnings when installing (./ipkg.sh: 1170: uniq: not found and a few others) Don't worry about these.
  3. Type sh cleanup
  4. Reboot the FSG (via the website, or type reboot)
  5. Login to SSH and type su to login as root
  6. Type ipkg update

Now all ipackages available from RMC's Package Feed and [2] are available for you to install.

Installing Packages

See List of Compatible ipkgs

  1. Type ipkg list to list all available packages
  2. Type ipkg info package-name to see information on a particular package.
    • Where "package-name" is a pattern or a package name i.e. "*python*" or "python"
  3. Type ipkg install package-name
  4. After Installing:
    1. Reboot the FSG via the web interface or by typing reboot
    2. Login to SSH and su to root
    3. Type ldconfig to dynamically load needed libraries (Ignore the "not a symbolic link" warnings)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox