Difference between revisions of "Application:Terminal"

From WebOS Internals
Jump to navigation Jump to search
(Fixed the feed configs.)
(Added a symlink for arch.conf)
Line 5: Line 5:
 
<source lang="text">
 
<source lang="text">
 
mkdir -p /var/etc/ipkg/
 
mkdir -p /var/etc/ipkg/
 +
ln -s /etc/ipkg/arch.conf /var/etc/ipkg/
 
echo "src/gz all http://ipkg.preware.org/feeds/preware/all" > /var/etc/ipkg/preware.conf
 
echo "src/gz all http://ipkg.preware.org/feeds/preware/all" > /var/etc/ipkg/preware.conf
 
</source>
 
</source>

Revision as of 14:05, 24 July 2009

Installation

You need to be logged in as root with a writeable filesystem. Instructions for both those things can be found elsewhere on this wiki.

<source lang="text"> mkdir -p /var/etc/ipkg/ ln -s /etc/ipkg/arch.conf /var/etc/ipkg/ echo "src/gz all http://ipkg.preware.org/feeds/preware/all" > /var/etc/ipkg/preware.conf </source>

If you are on the Pre, type:

<source lang="text"> echo "src/gz armv7 http://ipkg.preware.org/feeds/preware/armv7" >> /var/etc/ipkg/preware.conf </source>

If you are on the Emulator, type:

<source lang="text"> echo "src/gz i686 http://ipkg.preware.org/feeds/preware/i686" >> /var/etc/ipkg/preware.conf </source>

Then type:

<source lang="text"> /usr/bin/ipkg -o /var update /usr/bin/ipkg -o /var install x-webosinternals-termplugin ln -s /var/usr/lib/BrowserPlugins/termplugin.so /usr/lib/BrowserPlugins/ /usr/bin/ipkg -o /var install org.webosinternals.terminal </source>

Then reboot.

Removal

You need to be logged in as root with a writeable filesystem. Instructions for both those things can be found elsewhere on this wiki.

<source lang="text"> rm /usr/lib/BrowserPlugins/termplugin.so /usr/bin/ipkg -o /var remove org.webosinternals.terminal /usr/bin/ipkg -o /var remove x-webosinternals-termplugin rm /var/etc/ipkg/preware.conf </source>

Then reboot.