README-sce-import.txt NOTE: If using a Windows filesystem of any kind, use the -r option to unpack into RAM or specify this in /etc/sysconfig/sceconfig as RAM=TRUE. This is also how one should use sce-import with USB keys or flash drives as there are many file writes per import session and writes are what wear out a flash drive. A basic sce-import guide, the dCore command used to convert Debian packages into SCEs (Self Contained Extensions). The following examples are run from the command line. This guide assumes a base system is successfully set up with a TCE (Tiny Core Extension) directory and functional internet connection. If not review README-1st.txt, README-wireless.txt and the dCore wiki: http://wiki.tinycorelinux.net/dcore:welcome The sce-import utility is included in the base dCore system. To import a Debian or Ubuntu package and create an SCE, enter sce-import followed by the extension name, for example: sce-import firefox The first time sce-import is run the Debian Master Index (DEBINX) will be downloaded to the TCE directory. With subsequent calls zsync ensures the index is updated. Importing an SCE makes it available on your system. To utilize the extension it must be loaded, for example: sce-load firefox Then run the application, example: firefox Thousands of packages are available in the Debian and Ubuntu repositories, accessible using the sce-import command. Additional repositories can be added into /opt/debextra and Ubuntu-based dCores can add PPAs (Personal Package Archives). Review the dCore wiki for more information. The dCore commands used to manage SCE extensions are feature rich. Run 'command_name --help' for more information and review the dCore wiki SCE management page: http://wiki.tinycorelinux.net/dcore:extensions. The sce-import and sce-load help files are pasted below: * sce-import --help: sce-import - Search, convert, install DEB and pre-built packages as local SCEs, use simple name (nano not nano_*_i386.deb), may use option combos, also see /etc/sysconfig/sceconfig, locale.nopurge and sce.purge. sce-import Prompt, enter starting characters of package sought. sce-import PKG Search packages that start with desired package name. sce-import -b PKG Add resulting SCE to sceboot.lst. sce-import -c PKG Search packages that contain desired package name. sce-import -d PKG Choose existing SCE(s) to provide dependencies for new SCE, may make new SCE significantly smaller. sce-import -k PKG Keep /usr/share/doc and /man in SCE, see man-db. sce-import -l LISTFILE SCE mega-extension created from text file listing one PKG per line, eg. sce-import -l /tmp/my_apps contains emelfm & nano, which can now share common dependencies. sce-import -n PKG Non-interactive exact name import, no combos like -nd. sce-import -o PKG Add imported SCE to ondemand via /tce/ondemand script. sce-import -p PKG Preserve old DEBINX, no new fetch, better performance. sce-import -r PKG Use RAM, swap partition/file to unpack source DEBs. sce-import -s PKG Estimate package, HD and RAM space, warn as needed. sce-import -u PKG (DEFAULT) update mode, sync new DEBINX files. sce-import -v PKG View list of packages the imported SCE contains. sce-import -z PKG Ignore locale.nopurge, sce.purge, sceconfig files. sce-import -R PKG Include recommended Debian packages, warning large SCE. sce-import -S PKG Include suggested Debian packages, warning large SCE. * sce-load --help: sce-load - Load SCE(s) and any SCE(s) that it depends on into RAM for use. SCEs typically located in /etc/sysconfig/tcedir/sce/. Usage: sce-load Menu prompt, select SCE to load. sce-load SCE Directly load the named SCE. sce-load SCE1 SCE2 Directly load multiple SCEs. sce-load -b SCE Internal use only, to load SCEs at boot time. sce-load -d SCE Write any debug information to var/log/sce.log. sce-load -s SCE Suppress terminal output during loading process.