Tiny Core Linux

General TC => Remasters / Remixes - Unofficial => Topic started by: Sashank999 on July 06, 2020, 08:50:38 PM

Title: dpkg + apt on TCL as an extension
Post by: Sashank999 on July 06, 2020, 08: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 ?
Title: Re: dpkg + apt on TCL as an extension
Post by: Juanito on July 06, 2020, 10:19:00 PM
Have you tried dCore?
Title: Re: dpkg + apt on TCL as an extension
Post by: Sashank999 on July 06, 2020, 10:48:01 PM
Hi Juanito !

No. What is dCore ?
I know it only as a port of TCL.
Title: Re: dpkg + apt on TCL as an extension
Post by: Juanito on July 07, 2020, 12:03:34 AM
Yes, I’m speaking of tinycore dCore.
Title: Re: dpkg + apt on TCL as an extension
Post by: Sashank999 on July 07, 2020, 12:08:56 AM
I just know it as a port. I don't know anything about it  :-X .
Title: Re: dpkg + apt on TCL as an extension
Post by: Sashank999 on July 07, 2020, 03:31:55 AM
Come on, does anyone have any suggestions about this ?

@Juanito Does the dCore have apt and dpkg ?
Title: Re: dpkg + apt on TCL as an extension
Post by: Juanito on July 07, 2020, 04:51:18 AM
Try the iso and see: http://tinycorelinux.net/dCore/x86_64/release/dCore-buster64/
Title: Re: dpkg + apt on TCL as an extension
Post by: Sashank999 on July 07, 2020, 06:06:29 AM
Will do :D . Really excited.
Title: Re: dpkg + apt on TCL as an extension
Post by: xor on July 07, 2020, 10:20:53 AM
How do we run downloaded "* .deb" applications?

Try the iso and see: http://tinycorelinux.net/dCore/x86_64/release/dCore-buster64/
Title: Re: dpkg + apt on TCL as an extension
Post by: PDP-8 on July 07, 2020, 05: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.

Title: Re: dpkg + apt on TCL as an extension
Post by: xor on July 15, 2020, 03: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.