slitaz-doc-wiki-data annotate pages/en/guides/faq-pkgconv.txt @ rev 7

Add pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 26 12:17:18 2011 +0000 (2011-02-26)
parents
children
rev   line source
slaxemulator@7 1 ====== Packages from Other Distributions ======
slaxemulator@7 2
slaxemulator@7 3 ===== Symptoms =====
slaxemulator@7 4
slaxemulator@7 5 * There is a useful package that is not yet available in the SliTaz repositories.
slaxemulator@7 6 * Can I use packages from other distributions on my SliTaz installation?
slaxemulator@7 7
slaxemulator@7 8 ===== Explanation =====
slaxemulator@7 9
slaxemulator@7 10 Packages in a general sense are simply a collection of files and meta-data, compiled from source code to suit a particular environment and installation. Software binaries from other distributions can sometimes run if the libraries that power it exist for SliTaz. It is an easy but not-always-accurate way of testing packages before writing SliTaz [[en:cookbook:receipt | Receipts]] for a SliTaz version of the package.
slaxemulator@7 11
slaxemulator@7 12 The SliTaz Package Manager, Tazpkg, can [[http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html#convert | convert]] packages from the Debian, RedHat, Slackware and Arch Linux formats, by unpacking them and using the meta-data information inside to create a Tazpkg.
slaxemulator@7 13
slaxemulator@7 14 ===== Solution =====
slaxemulator@7 15
slaxemulator@7 16 Simply run the following command in a Terminal:
slaxemulator@7 17 ''tazpkg convert //filename//''
slaxemulator@7 18
slaxemulator@7 19 The converted Tazpkg will be created after auto-detection of the original format.
slaxemulator@7 20
slaxemulator@7 21 <note important>There may be occasions where the generated package does not function. This could be a result of mismatching libraries or missing dependant software. Similarly, the binaries may under-perform as they may have been compiled for a different environment and have to adapt. For these reasons, it is highly advisable to compile the software from source code and create a Tazpkg proper.</note>