CDE: automatically create portable Linux applicationscde
(Formerly known as cdepack) Automatically packages up
C Ode,
D ATA, and
E Launch ronment required to deploy and run your Linux programs on other machines without any installation or configuration. CDE is the easiest way to completely eliminate dependency hell. to get started, download the CDE Binary (32-bit or 64-bit) and follow these steps:
1. package prepend any set of Linux commands with the " CDE " binary, and cde will run them and automatically package up all files (e.g ., executables, libraries, plug-ins, config/data files) accessed during execution. |
2. Deliver A package is simply a directory that can be compressed and delivered to any x86-Linux machine. it contains all the files and environment variables required to run your original commands. packages can range from 10 to 100 MB in size. |
3. run after creating the package, the user can now run those same commands from within the package on Any modern x86-Linux distro. the user does not need to first compile, install, or configure anything. CDE-exec " (included within the package) --> |
CDE implements a form of lightweight application virtualization alization that allows you to easily distribute portable software, to deploy applications to the cloud, to make Computational experiments reproducible, and to run software on non-native Linux distros without conflicts. [Use Cases | user manual | FAQ | mailing list | GitHub repository] Please send bug reports, feedback, and suggestions to philip@pgbovine.net
Copyright 2010-2011 Philip J. Guo
Below the fold
CDE is being developed by me, a computer science Ph. D. student named Philip Guo. These research papers provide more details about cde's inner-workings and use cases:
Philip J. Guo, Dawson Engler. CDE: Using System Call interposition to automatically create portable software packages. InProceedings of the 2011 usenix annual technical conference, June 2011. [Download PDF | extended technical report (PDF)]
Philip J. Guo. CDE: run any Linux application on-demand without installation. InProceedings of the 2011 usenix large installation system administration conference (Lisa), December 2011. [Download PDF]
CDE delivers on one simple promise:If you can run a set of commands on your Linux machine, then CDE allows others to easily re-run those same commands on their Linux machines.
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 ).
An astute reader will notice that CDE packages might be incomplete since they only contain the files accessed on executed paths. It's easy to manually augment packages with additional files to make them complete.
Demos
This 4-minute screencast shows what CDE can do:
Here's a 10-minute overview of a common CDE use case:
If you're really patient, then you can watch my 1-hour Google tech talk. I give a 20-minute live demo starting at around und 32: 00.
Download
CDE is implemented as a single portable binary named"CDE". These pre-compiled binaries (released on) shocould work on any modern x86-Linux distro:
- Download 32-bit binary (i386)
- Download 64-bit binary (x86-64)
After downloading, rename the file"CDE", Make it executable ("Chmod U + x"), And then consult the user manual.
These binaries probably don't contain the latest features and bug fixes. if you want to run the latest version of CDE, you must download and compile its source code. if you don't want to go through this hassystemic, send me an emailPhilip@pgbovine.netAnd I 'd be happy to help you with the compilation process. The CDE Source Code resides in a public GitHub code repository. You can check out the latest copy and compile using these commands:
Git clone git: // github.com/pgbovine/cde.gitcd cdemake
Feedback
If you have questions, feedback, bug reports, or feature requests, email mePhilip@pgbovine.netOr join the CDE-Users Mailing List.
If you find CDE useful, please take a moment to email me and let me know how you're using it. I want to collect more anecdotes about interesting use cases!