WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dpkg + apt on TCL as an extension  (Read 7161 times)

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
dpkg + apt on TCL as an extension
« on: July 06, 2020, 11:50:38 PM »
Hi !

Well, I am actually tempted to create a TCE of dpkg+apt.
Of course it may sound weird, but I have only two problems in creating it.

The mutual syncing of tce-load with apt+dpkg
I have got a instruction file from the web to create dpkg and I can do it. But, for example, when we install libc6 by using dpkg+apt, it may interfere with the already present symlinks of glibc_base-dev extension. This means that we need to manually add packages to dpkg status file but I don't know its format. And also, we would need to stop using the Apps browser or the "tce-load -wi ??" command. This also may lead to the removal of already downloaded packages.
But also, for loading firmwares of wifi, we would need tce-load. What to do ?

Persistent folders of temporary folders
I don't know if the title makes any sense but dpkg works by extracting the files and placing them in the folder unlike the symlinking method used by tce-load. This means that we would need to have all deb packages stored. Also, as we extract the packages, that would occupy 2X the size of .deb files (.deb file on HDD + the extracted files).

Hence I think of persistent folders as a workaround but I don't know how to add custom bootcodes for persistent (not only home and opt but also) var, sys, bin.

Any ideas ?
« Last Edit: July 06, 2020, 11:59:57 PM by Sashank999 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: dpkg + apt on TCL as an extension
« Reply #1 on: July 07, 2020, 01:19:00 AM »
Have you tried dCore?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: dpkg + apt on TCL as an extension
« Reply #2 on: July 07, 2020, 01:48:01 AM »
Hi Juanito !

No. What is dCore ?
I know it only as a port of TCL.
« Last Edit: July 07, 2020, 01:55:02 AM by Sashank999 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: dpkg + apt on TCL as an extension
« Reply #3 on: July 07, 2020, 03:03:34 AM »
Yes, I’m speaking of tinycore dCore.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: dpkg + apt on TCL as an extension
« Reply #4 on: July 07, 2020, 03:08:56 AM »
I just know it as a port. I don't know anything about it  :-X .
« Last Edit: July 07, 2020, 03:11:07 AM by Sashank999 »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: dpkg + apt on TCL as an extension
« Reply #5 on: July 07, 2020, 06:31:55 AM »
Come on, does anyone have any suggestions about this ?

@Juanito Does the dCore have apt and dpkg ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: dpkg + apt on TCL as an extension
« Reply #6 on: July 07, 2020, 07:51:18 AM »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 397
Re: dpkg + apt on TCL as an extension
« Reply #7 on: July 07, 2020, 09:06:29 AM »
Will do :D . Really excited.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: dpkg + apt on TCL as an extension
« Reply #8 on: July 07, 2020, 01:20:53 PM »

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: dpkg + apt on TCL as an extension
« Reply #9 on: July 07, 2020, 08:36:24 PM »
Xor - probably should be asked in the dCore threads, but here is a good start:

http://wiki.tinycorelinux.net/doku.php?id=dcore:faq

sce-import

is one of the major tools.  Instead of downloading a deb package directly, let dCore do it for you and handle it.

Ie, to install htop, it is as simple as this (assuming you have at least an ethernet connection online)

sce-import htop
sce-load htop
htop

Heh, many more options to it than this, but just demonstrating how easy it is.  Shares many of the same concepts as TC, so existing skills will be easy to use.

« Last Edit: October 27, 2022, 10:59:44 PM by Rich »
That's a UNIX book! - cool  -- Garth

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: dpkg + apt on TCL as an extension
« Reply #10 on: July 15, 2020, 06:16:41 AM »
I just saw your answer!
thank you for the answer

Xor - probably should be asked in the dCore threads, but here is a good start:

http://wiki.tinycorelinux.net/doku.php?id=dcore:faq

sce-import

is one of the major tools.  Instead of downloading a deb package directly, let dCore do it for you and handle it.

Ie, to install htop, it is as simple as this (assuming you have at least an ethernet connection online)

sce-import htop
sce-load htop
htop

Heh, many more options to it than this, but just demonstrating how easy it is.  Shares many of the same concepts as TC, so existing skills will be easy to use.
« Last Edit: October 27, 2022, 10:59:23 PM by Rich »