Tiny Core Linux

Tiny Core Extensions => TCE Tips & Tricks => Topic started by: robc on August 06, 2009, 09:52:39 PM

Title: HowTo Install SWORD Modules
Post by: robc on August 06, 2009, 09:52:39 PM
This is a tutorial on installing modules for the sword and bibletime extensions.

First sword needs to be installed. The best/easiest way to accomplish this is to install the bibletime extension via the app browser. This way you will also have an application to view the content of the modules. Also the zip extension will need to be installed.

Next find/download a module that is compatible with the SWORD Project. Many can be found at Crosswire's SWORD Project page here: http://www.crosswire.org/sword/modules/ (http://www.crosswire.org/sword/modules/). The raw zip files are used in this tutorial.

Here you have a choice of just installing the module or creating a personal tce extension for later use and ease of installation. If you would like to create a personal tce extension issue this command from the command line interface:
   touch mark.swordmodule
If you do not want to create your own personal extension then move to the next step.

To install the sword module issue a command similar to the following:
   sudo unzip /path/to/swordmodule.zip -d /usr/local/share/sword
This will install the contents of the sword module into /usr/local/share/sword.

If you decided not to create an extension then you are finished, otherwise continue.

To create the tce extension you need to find the files that were contained by the module. Issue the following command to do this:
   find /usr/local/share/sword/ -newer mark.swordmodule -not -type d > filelist.swordmodule

Next you can create the tce with the following command:
   tar czvf swordmodule.tce -T filelist.swordmodule

The last step is to copy the new personal extension to your tce directory for persistency. Use the following command to do this:
   cp swordmodule.tce `cat /etc/sysconfig/tce.mount`/tce

The installed modules will now appear in the bibletime extension.
Title: Re: HowTo Install SWORD Modules
Post by: linus72 on August 07, 2009, 05:44:46 PM
great work
I was wondering when someone would add sword and bibletime!

Unfortunately, I'm having problems..

I followed the instructions above, to the letter

Everything seemed ok, at first
I first installed 3 different bibles from sword, also making them into tce's
this worked good and the bibles showed up in bibletime

I then tried adding some commentaries, etc
this also seemed to go weell

however, I again opened bibletime, after rebooting, and only the commentaries showed up
no bibles
it seems other stuff disappeard too:(

I'm lost on what I did wrong...

I have been away from tc for awhile and now wonder why there is a tce folder in /opt?
can you help?