Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: halma on February 16, 2017, 06:45:07 PM

Title: why TC has no "live" remove extension system
Post by: halma on February 16, 2017, 06:45:07 PM
Hi,

i am asking myself, why TC has no "live" removing extension function?
What i exactly mean is, in mostly every linux distro there is an package management system to install and remove packages, like rpm/apt/pkg etc..., why TC has not such like a similiar system without rebooting TC to remove extensions, tce-load is nice but not able to remove without rebooting, or i do not see such a feature on TC to stay on TC while extension is succelfully removed without rebooting?

Halma
Title: Re: why TC has no "live" remove extension system
Post by: polikuo on February 16, 2017, 10:40:28 PM
There is no official "tce-unload" command because it would likely leave your system unstable due to cross dependencies between different extensions.

The memory usage of this kind of extension is very low.
http://forum.tinycorelinux.net/index.php/topic,16345 (http://forum.tinycorelinux.net/index.php/topic,16345)

It's very difficult to remove a extension without rebooting.
Nevertheless, there's a unofficial script just for that.
Here's the unofficial tce-unload script.
http://forum.tinycorelinux.net/index.php?topic=5012.0 (http://forum.tinycorelinux.net/index.php?topic=5012.0)
Title: Re: why TC has no "live" remove extension system
Post by: mocore on February 18, 2017, 01:00:53 AM

No doubt this may be a bit OT

however if you have an intrest in add/removing things from your envroment
the `nix package manager` can do this without rebooting and without
'leaveing your system unstable due to cross dependencies between different extensions.'