This repository provides a backported version of the pipx
package (version 1.6.0) for Ubuntu 24.04 LTS (Noble). This backport was created to address issues with the pipx
package in the official Ubuntu repositories, specifically:
- Issue #1524:
sudo pipx ensurepath --global
fails on Ubuntu 24.04 LTS. - Issue #1481:
pipx
package in Ubuntu 24.04 is obsolete.
This repository contains the source files, build scripts, and precompiled .deb
package to facilitate installation and usage of the latest pipx
version.
The backport was created using the following upstream sources:
- Original source tarball:
python-pipx_1.6.0.orig.tar.gz
- Debian packaging:
python-pipx_1.6.0-1.debian.tar.xz
- Debian source control file:
python-pipx_1.6.0-1.dsc
These sources were retrieved from the official Ubuntu 24.10 (Oracular) repository:
- Source package location: http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pipx/
- Package details: Ubuntu 24.10 pipx
The backport was compiled and tested on the following system:
Linux proteus 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
This system runs Ubuntu 24.04 LTS (Noble) on the x86_64
architecture.
To install the backported pipx
package, follow these steps:
-
Clone this repository:
git clone <repository-url> cd <repository-directory>
-
Install the
.deb
package:sudo dpkg -i python-pipx_1.6.0-1ubuntu24.04-backport1_all.deb
-
Resolve any missing dependencies:
sudo apt -f install
-
Verify the installation:
pipx --version
If you prefer to build the package from source, follow these steps:
-
Install required tools:
sudo apt update sudo apt install build-essential devscripts dpkg-dev
-
Extract the source package:
dpkg-source -x python-pipx_1.6.0-1.dsc
Alternatively, if you fear I might have modified anything in the source from the official 24.10 repository (I've not, easy to check with a diff) : http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pipx/ , you can also download the files directly from there :
dget -u http://archive.ubuntu.com/ubuntu/pool/universe/p/python-pipx/python-pipx_1.6.0-1.dsc
-
Install build dependencies:
cd python-pipx-1.6.0 sudo apt build-dep .
-
Build the package:
dpkg-buildpackage -us -uc
-
Install the generated
.deb
file as described above :sudo dpkg -i python-pipx_1.6.0-1ubuntu24.04-backport1_all.deb
-
Resolve any missing dependencies:
sudo apt -f install
-
Verify the installation:
pipx --version
Since this is basically only a backport of the .deb available for Ubuntu 24.10 for the pipx package, and since I'm neither an Ubuntu dev nor a pipx developer, feedback on the usage of pipx should be redirected to the pypa/pipx repository: https://github.com/pypa/pipx/issues, following the rules available in the python-pipx-1.6.0/CONTRIBUTING.md
file.
The contents of this repository follow the original MIT licensing of the pipx
package. Refer to the python-pipx-1.6.0/LICENSE
file in the source directory for more details.