Reviewed on 24 October 2026. Should any information have changed, please notify me and I shall update it with the date of the amendment.
1. Save the code and its history
- The complete source code, not merely the executable. Without the source, adaptation is impossible.
- The version history, if utilising a control system such as Git.
- A copy in a public archive, if the code is suitable for public release. Software Heritage preserves source code and its history permanently, assigning it a stable identifier. However, it does not store data, keys, or the environment: it is a copy of the code, not the work itself.
2. Document all requirements of the code
Software preservation specialists recommend recording:
- The language and its version, along with the compiler or interpreter.
- The dependencies: every library, with its precise version.
- The operating system and the hardware upon which it functions.
- The compilation and launch procedure, step by step.
- The configuration: settings files, variables, resolution, and audio.
- The resources: images, sounds, typefaces, models, and data.
- The credentials: which keys or accounts are utilised, without storing them within the code, and how to replace them.
3. Identify external dependencies
A work that calls upon an online service, an API, or an external database is dependent upon a service beyond your control. For every external dependency, note:
- The nature of the service and the data the work transmits to it.
- The consequences of it ceasing to respond: whether the work halts, fails, or possesses a fallback mode.
- Potential alternatives for substitution.
If possible, prepare a degraded mode: ensuring the work continues to function, albeit in a limited capacity, in the absence of the service.
4. Package the environment
Two tools assist in ensuring code remains functional in the future:
- Containers package the program alongside its dependencies.
- Virtual machines replicate an entire computer, including its operating system.
Neither eliminates obsolescence: they too age, and one must preserve their images, manifests, and documentation for reconstruction. They represent an additional layer of protection, not a guarantee.
5. Verify functionality
The most direct verification that a work can be re-executed is to install and test it. Annually, or upon changing hardware:
- Install the work from scratch on a clean machine, following solely your documentation.
- Verify that it behaves as it does in the reference video.
- Note any failures and amend the documentation accordingly.
If the test fails due to a component becoming obsolete, it is time to decide between migrating, emulating, or reinterpreting, as explained in the guide on obsolescence.
Checklist
- Complete source code and version history.
- Language, dependencies, and versions recorded.
- Compilation and launch instructions.
- Configuration and resources saved with the master file.
- External dependencies identified, with a contingency plan for failure.
- Environment packaged and documented.
- Reinstallation test performed and recorded.
If the work is generative, supplement this with the guide on what to document in a generative work.
Further reading
- Software Heritage.
- Software Preservation Network, metadata for software-based art.
- Guggenheim, The Conserving Computer-Based Art Initiative.
On the open conversation
This guide remains open to corrections and documented cases. Should you detect an error or utilise a procedure that allows for the refinement of any of these steps, you may write to me.
