WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: extension manager  (Read 4099 times)

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
extension manager
« on: December 11, 2017, 06:58:11 AM »
As i understand tce and tce-load utilities let only install/mount extensions, but not manage installed TCZ's. tce can not show list of extensions on local storage, list of dependences. It can not delete extension, can't even show TCZ info, because INFO-file stay in repository. Honestly, Tiny Core has no packet manager, only small simply tool for loading extension.
Will be some changes in the nearest future?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: extension manager
« Reply #1 on: December 11, 2017, 07:40:25 AM »
patches to add additional functionality would be gratefully received

Offline polikuo

  • Hero Member
  • *****
  • Posts: 719
Re: extension manager
« Reply #2 on: December 11, 2017, 07:48:28 AM »
It can not delete extension ...

FYI
Quote
tc@box:~$ tce-audit
Usage: tce-audit { updatedeps | builddb | auditall | fetchmissing | nodepends | notrequired | marked | clearlst }  /path/to/tcedir/
       tce-audit { dependson | requiredby | audit | delete } /path/to/tcedir/extension.tcz
       tce-audit { remove }
tc@box:~$ tce-audit delete squashfs-tools.tcz
getFlash.tcz
getlocale.tcz
submitqc.tcz
squashfs-tools.tcz cannot be deleted.
That means squashfs-tools.tcz cannot be deleted because it's a dependence of getFlash, getlocale and submitqc.
If no message returned, rebooting the machine would delete the requested extension(s).

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
Re: extension manager
« Reply #3 on: December 11, 2017, 08:27:22 AM »
I'll Try to use tce-audit. I did not know about it. Thanks!  :)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
extension manager
« Reply #4 on: December 11, 2017, 10:08:07 AM »
Did you try APPS ?

Quote
tce can not show list of extensions on local storage, list of dependencies. It can not delete extension, can't even show TCZ info

APPS is the Tinycore Extension Manager, it performs all the above and more...


Sent from my iPhone using Tapatalk
« Last Edit: December 11, 2017, 10:30:53 AM by coreplayer2 »

Offline bonbob

  • Jr. Member
  • **
  • Posts: 99
Re: extension manager
« Reply #5 on: December 11, 2017, 11:37:11 AM »
Code: [Select]
root@TCL:~# tce-audit notrequired /etc/sysconfig/tcedir/
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file
The following are NOT required by any other extensions:

for any action tce-audit says that can not find tce.lst. For what is this file?
« Last Edit: December 11, 2017, 11:40:28 AM by bonbob »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: extension manager
« Reply #6 on: December 11, 2017, 02:08:56 PM »
Run "tce-audit builddb", that's a necessary step for most of the other functions. You don't need to pass the directory if using the default, like you are.
The only barriers that can stop you are the ones you create yourself.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: extension manager
« Reply #7 on: December 11, 2017, 08:32:52 PM »
Perhaps an option in tce-load to download the list and info files for an extension, just as a starting point?  I used to do that with a script but it turned out I pretty much never used those files anyhow... I had thought to write some additional utility scripts but it's still on my ever growing to-do list.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: extension manager
« Reply #8 on: December 12, 2017, 03:14:31 AM »
There's a helper script, tce-fetch.sh, that can be used. "tce-fetch.sh nano.tcz.info" will download that to the current dir.
The only barriers that can stop you are the ones you create yourself.

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: extension manager
« Reply #9 on: December 12, 2017, 04:17:58 PM »
I found the existing tce scripts give you all the tools to maintain extensions.

Incomplete list of tinycore command line tools.

Code: [Select]
Command          Function
ab                     browse local and remote applications
tce                    browse local and remote applications
tce-ab                 browse local and remote applications
tce-audit
tce-fetch.sh
tce-load               load local applications
tce-remove             allow removal of uninstalled (OnDemand) extensions via tce-audit
tce-run                download and run applications
tce-setdrive
tce-setup
tce-size               show total size of extension and dependencies
tce-update
tcemirror.sh

Pasted from http://wiki.tinycorelinux.net/wiki:tc_commands

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: extension manager
« Reply #10 on: December 14, 2017, 01:31:26 PM »
Clearly, I need to pay more attention to these things - I'm getting behind the curve.   :(
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: extension manager
« Reply #11 on: December 14, 2017, 03:30:58 PM »
I believe some of these commands are mainly intended for being used internally.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: extension manager
« Reply #12 on: December 15, 2017, 05:10:45 AM »
Some aren't very user-friendly, but they're all good to use from CLI if you don't want to use Apps.
The only barriers that can stop you are the ones you create yourself.