How do I install TazPkg in SliTaz Linux?
Usually to install tazpkg packages you need TazPkg but I unsintalled TazPkg because it was broken now how do I install it again?
How do I install TazPkg in SliTaz Linux?
Usually to install tazpkg packages you need TazPkg but I unsintalled TazPkg because it was broken now how do I install it again?
I think you can just download the TazPkg. The packages are available from the SliTaz website.
Once you've downloaded this file you can use the following steps to manually unpack its files.
Download
$ wget http://mirror.slitaz.org/packages/cooking/tazpkg-5.1.tazpkg
uncompress file
$ mv tazpkg-5.1.tazpkg tazpkg-5.1.tazpkg.gz
$ gunzip tazpkg-5.1.tazpkg.gz
cpio extract archive
$ cpio -id < tazpkg-5.1.tazpkg
contents of extracted archive
$ ls -l
total 152
-rw-r--r-- 1 saml saml 1213 Oct 24 22:57 files.list
-rw-r--r-- 1 saml saml 66044 Oct 24 22:57 fs.cpio.lzma
-rw-r--r-- 1 saml saml 1958 Oct 24 22:57 md5sum
-rw-r--r-- 1 saml saml 1648 Oct 24 22:57 receipt
uncopressed .lzma file
$ lzcat fs.cpio.lzma | cpio -idm
596 blocks
resulting extracted files
$ find fs/ -ls | head -5
10895752 4 drwxr-xr-x 4 saml saml 4096 Oct 24 22:59 fs/
10895756 4 drwxr-xr-x 4 saml saml 4096 Oct 24 22:59 fs/usr
10895757 4 drwxr-xr-x 8 saml saml 4096 Oct 24 22:59 fs/usr/share
10895758 4 drwxr-xr-x 3 saml saml 4096 Oct 24 22:59 fs/usr/share/icons
10895759 4 drwxr-xr-x 3 saml saml 4096 Oct 24 22:59 fs/usr/share/icons/hicolor
....
The files in the fs/ directory can then be moved into position to regain the tool tazpkg.
$ find fs/|grep "/bin/tazpkg$"
fs/usr/bin/tazpkg