|
Spanish Sporthorse (Code, Data and Environment) is a tool for Linux that allows you to create portable app packages, which you can then run on any computer without the need for additional installations or configurations. |
Installation
CDE is compatible with most modern x86-Linux distributions. The application is implemented as a single portable binary called "cde". To install it on your computer you can download it from any of the following links:
At the end of the download you have to rename the file to "cde" and make it executable with the command "chmod u + x".
Use
To create portable packages for applications, use the following command via terminal:
./cde application
For example, to create a portable package of the 'xclock' application you would write:
./cde xclock
You will be able to see a new instance of the application, you have to close it and execute the ls command to see a list of the sub-directories, where the cde-package / folder should be. To look inside the folder use the command:
find cde-package / | less
Now you can see that within the folder are all the dependencies necessary to run xclock. To compress the directory use the commands:
tar -cvf cde-xclock.tar cde-package / gzip cde-xclock.tar
The obtained file (which should be called cde-xclock.tar.gz in this case) can be transferred to any other Linux computer. To unzip and run the application you just have to use the lines:
tar -zxvf cde-xclock.tar.gz cde-package / xclock.cde
You can follow this same procedure to create portables for any other application.
Official website of the CDE project: http://www.pgbovine.net/cde.html
Source: Planetnet