Side-by-side installation is the practice of installing two or more versions of the same software on one computer so that they coexist without overwriting each other, with each version keeping its own files, libraries and configuration. In the field of Installation & packages, it is the main answer to a recurring conflict in software: one application needs an older runtime or library while another needs a newer one.
The approach is used for language runtimes, database engines, office suites, browsers, development toolchains and shared system libraries. It works only when the software and its installer are designed for it, because version isolation must cover installation paths, registry or configuration keys, file associations, services and network ports.
How side-by-side installation isolates versions
A side-by-side installation separates versions by giving each one a distinct installation location and a distinct identity that the operating system and other programs can address. Instead of a single folder such as a generic program directory, each version lives in a versioned path, and shared components are stored under names that include the version number.
Isolation has to extend beyond files. The installer must also keep per-version configuration, avoid claiming the same service name or TCP port, and decide which version owns global integration points such as the command-line PATH, file type associations and default handlers. When two versions compete for one of these global integration points, only one can win, so the installer either asks the user or follows a documented precedence rule.
The table below lists the main layers that must be isolated and the typical mechanism used for each layer.
| Layer | Typical isolation mechanism | Conflict if not isolated |
|---|---|---|
| Program files | Versioned directory per release | Newer files overwrite older ones |
| Shared libraries | Versioned file names or a component store | Applications load the wrong library |
| Configuration | Separate settings folder or registry key | Settings become incompatible |
| Services and ports | Unique service names and port numbers | Second instance fails to start |
| Command-line access | Version manager, shims or explicit paths | Wrong version runs from a terminal |
Technical approaches across operating systems
Each platform offers its own coexistence mechanisms, and the term is used most formally on Windows. The Windows side-by-side assembly store (WinSxS) holds several versions of system components such as the Visual C++ runtime, and an application manifest states which exact version the application binds to. This design was introduced to end the era of overwritten shared DLLs.
On Linux and other Unix-like systems, shared library versioning through the soname lets libfoo.so.1 and libfoo.so.2 coexist, while the update-alternatives system selects a default command among installed versions. On macOS, frameworks can contain several versions inside one bundle. Runtime ecosystems add their own tools: the .NET runtime installs each major version in its own folder, and version managers such as pyenv, nvm or SDKMAN switch between interpreters per project.
The following table compares common mechanisms by platform and scope.
| Mechanism | Platform | Scope of isolation |
|---|---|---|
| WinSxS and manifests | Windows | System components and shared DLLs |
| Library soname versioning | Linux and Unix-like systems | Shared libraries |
| Alternatives system | Debian, Fedora and derivatives | Default command selection |
| Versioned runtime folders | .NET, Java, Python installers | Entire language runtimes |
| Version managers | Cross-platform | Per-user or per-project runtime choice |
| Containers and sandboxes | Cross-platform | Whole application environment |
Comparison with related installation models
Side-by-side installation differs from an in-place upgrade, which replaces the previous version, and from neighboring concepts in the same topic. A portable application achieves coexistence by avoiding system integration altogether, while an application sandbox or container isolates the entire environment rather than only the versioned components.
| Model | Old version after install | Main advantage | Main cost |
|---|---|---|---|
| Side-by-side installation | Remains usable | Controlled coexistence | More disk space and integration rules |
| In-place upgrade | Replaced | Simple maintenance | No quick rollback |
| Portable application | Remains in its own folder | No system changes | Weak OS integration |
| Containerized deployment | Runs in a separate image | Full environment isolation | Runtime overhead and tooling |
The models are often combined. A developer can keep two database engines side by side on a workstation for testing, while production servers run each version in its own container with pinned dependency versions.
When to choose side-by-side installation
Side-by-side installation is justified when compatibility requirements diverge across applications or projects that must run on the same machine. It is also a standard migration and rollback strategy: the new version is installed next to the old one, tested, and the old one is removed only after verification.
| Situation | Recommended approach | Reason |
|---|---|---|
| Legacy application needs old runtime | Keep old runtime side by side | Avoids breaking the legacy application |
| Testing an upgrade | Install new version next to current one | Allows comparison and quick rollback |
| Multiple projects with different toolchains | Use a version manager | Switches versions per project |
| Single application, no compatibility issue | In-place upgrade | Less complexity and disk usage |
| Strict reproducibility required | Containers with pinned versions | Isolates the full dependency tree |
Administrators should document which version is the default and which applications depend on each installed version. Without that record, cleanup becomes risky, because removing a version that looks unused can silently break a scheduled job or a line-of-business tool.
Limitations and common mistakes
The approach solves version conflicts but introduces operational overhead. Each retained version consumes disk space, needs security patches and widens the attack surface, so an unpatched older version left in place is a frequent audit finding.
- Ambiguous defaults: a terminal or script runs a different version than the developer expects because
PATHorder changed. - Shared configuration collisions: two versions read the same user settings file and corrupt it with incompatible formats.
- Port and service clashes: a second database server fails to start because the first one already uses the default port.
- Orphaned versions: an uninstaller removes the main application but leaves old runtimes that nobody maintains.
- Unsupported software: some products simply do not support coexistence, and forcing it leads to undefined behavior.
A disciplined practice is to treat every retained version as a managed asset with an owner and an end date, and to remove it once no dependent application remains.
Stripped to the essentials
Side-by-side installation means keeping two versions of the same program on one computer at the same time. Each version gets its own folder and its own settings, so installing the new one does not erase the old one.
Think of two editions of a cookbook on one shelf. One recipe works only with the old edition, another only with the new one, so you keep both. The only rule is to label them clearly so you always grab the right one. The key benefit is compatibility without forced upgrades.
Where it is applied
A finance department runs an internal reporting tool that was built for an older Python 3.8 runtime, while the data science team on the same analysis server needs Python 3.12 for new libraries. Upgrading the single installed interpreter would break the reporting tool before its month-end run.
The administrator installs Python 3.12 side by side with Python 3.8, each in a versioned directory, and configures the reporting job to call the 3.8 interpreter by its full path. Data scientists select 3.12 through virtual environments created from the new interpreter. Both workloads continue without interruption, and the team schedules the removal of Python 3.8 after the reporting tool is ported, with the old version patched and documented until that date.