Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: alanl on June 09, 2010, 11:27:08 PM
-
How do I unzip a tcz?
-
If I just want to be able have a quick read-only look into a tcz archive I simply loop mount it.
For this I create a temporary directory with mkdir tcz-extr ; sudo mount EXT.tcz tcz-extr. The files of the archive are all available via the 'tcz-extr' directory. After use I simply un-mount and remove the directory with umount -d tcz-extr ; rm -rf tcz-extr. All this works with the TC / MC base, i.e. without any further extension.
If you want to really extract all the files you'll need the squashfs-tools-4.0.tcz extension and use the 'unsquashfs' command.
-
I`m trying to edit mc.ext but it cant be saved. So I`m trying to
place my edited file in mc.tcz. I`ve unsquashed it and made
the exchange. Now how do I re-squash it?
-
Check the wiki for description on how to do extensions.
-
A bit lazy to read the Wiki or search the forum, eh?
Because that command is "all over the show": mksquashfs PKG_DIR PKG.tcz
-
Did you try copying mc.ext to ~/.mc/bindings ?
-
Thank you very much Maro.
Well, when you get into your 60`s the old brain slows down!
Actually I did search extensions and tcz`s and I was reading
the wiki on howto unzip tinycore.gz. I guess I didnt read
far enough.
-
~/.mc/bindings ?? I dont know anything about this.
Is it a way to make edited files permanent?
-
~ is your home directory.
copy the file to /home/tc/.mc/bindings.
This file should be used instead of mc.ext if it exists.
This works on my CentOS machine, but I have not tried it on TC.
-
Thanks gerald....works great!