- # download the excellent and open-source OSGi gateway framework of http://www.knopflerfish.org/index.html, and store it in /tmp:
        
 cd /tmp
 wget http://www.knopflerfish.org/releases/1.0.2/knopflerfish_osgi_1.0.2.jar
 export KNOPFLERFISH_BIN=/tmp/knopflerfish_osgi_1.0.2.jar 
       
      - # specify where the installation should go:
        
 export KNOPFLERFISH=~/osgi
 mkdir -p $KNOPFLERFISH 
       
      - # launch the installation program:
        
 cd $KNOPFLERFISH;java -jar $KNOPFLERFISH_BIN -batch 
       
      - # running the framework:
        
 cd $KNOPFLERFISH/knopflerfish_osgi_1.0.2/knopflerfish.org/osgi;java -jar framework.jar