# Building Portable Binaries

DevFeed: [Building Portable Binaries](<https://devfeed.tech/articles/building-portable-binaries-15563.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/building-portable-binaries>)

Author: Square Engineering

Published: 2015-06-15T16:09:00Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Python](<https://devfeed.tech/topics/python.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [binaries](<https://devfeed.tech/tags/binaries.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [linux](<https://devfeed.tech/tags/linux.md>), [portable](<https://devfeed.tech/tags/portable.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

The article explains how to build portable application binaries by shipping the runtime and dependencies together. It describes how reliance on system runtimes and libraries can cause failures after operating-system upgrades, and discusses using shebangs and rpaths to isolate dependencies, including for a relocatable Python installation.

## Source excerpt

Attempting to self-contain application dependencies