WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: "CDE" ( Code, Data and Environment) software  (Read 2626 times)

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
"CDE" ( Code, Data and Environment) software
« on: September 23, 2014, 12:24:25 PM »
Hi,

Yesterday I read in DistroWatch this QA about a software called "CDE" ( Code, Data and Environment) and found it very interesting:


http://distrowatch.com/weekly.php?issue=20140915#qa


this peace of software can do the execution of some encapsulated software from a Linux distribution into another different Linux distribution.

I have made the next prove within TC and works!

I work now with ub-dCore-trusty. In this TC I can't found a version of xonclock in the form of xonclock.sce, but I found a desktop clock called Buici (it looks a little primitive, not like xonclock).
I boot my TC4.7 with xonclock in the desktop, then I run:

Quote
$ cde xonclock

it creates a subdirectory called /cde-package

Then I boot my ub-dCore-trusty and go to this subdirectory and execute the newly created file xonclock.cde

Quote
tc@ubt-dC5x-ordjd$ cd /mnt/sda4/cde-package
tc@ubt-dC5x-ordjd:/mnt/sda4/cde-package$./xonclock.cde

and in the desktop appears a nice xonclock.

Next I was going to /tmp and created a /package subdirectory,in this a /opt subdirectory and copied /cde-package into it, renamed this /cde-package to /xonclock-cde and executed in /tmp:
Quote
tc@ubt-dC5x-ordjd:/tmp$ mksquashfs package xonclock-cde.sce

copied this .sce to /mnt/sda1/ubdc5/sce/
put in sceboot.lst this xonclock-cde.sce, created in /home/tc/.X.d a xonclock file with "/opt/xonclock-cde/xonclock.cde &" in it and finally reboot.

Now I got the xonclock in my desktop in ub-dCore-trusty! (coming from my TC4.7!)

Have a look into this peace of software!

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: "CDE" ( Code, Data and Environment) software
« Reply #1 on: September 24, 2014, 11:33:52 AM »
Yeah, thank's. I've read that, too, but havn't tryed yet.
Download a copy and keep it handy: Core book ;)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: "CDE" ( Code, Data and Environment) software
« Reply #2 on: September 24, 2014, 12:17:48 PM »
I tried to use this for the SCM extension type, and though there are reasons it does not work well for distributed packages, it is very good to wrap up an application with all it's dependencies and run it wherever you like.  It is like an SCE or SCM except that it is a sandbox that CDE basically chroots into. 

I think it is very useful especially when used on a smaller distro like TC.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: "CDE" ( Code, Data and Environment) software
« Reply #3 on: September 24, 2014, 07:32:15 PM »
http://www.pgbovine.net/cde.html
Quote
To enable Windows and Mac users to run your CDE packages, you can embed them within a virtual machine (e.g., using a lightweight distro like Tiny Core Linux).

(:
Download a copy and keep it handy: Core book ;)