Skip to main content

Installs popular cmdline utils into /usr/local directly from GitHub released artifacts.

Project description

usr-local-pull

Installs bunch of cmdline utilities into /usr/local directly from GitHub releases.

Installing into /usr/local doesn't interfere with the rest of the system. Ie. you can have ripgrep installed from both, official distro package and this script and updating any of them will not overwrite the other. Which one gets used when you call ripgrep from your shell, depends on your $PATH. In most modern distros, stuff from /usr/local has priority.

Supported operating systems:

  • any and only Linux
  • only x86_64 architecture

Supported shells:

  • ZSH

Supported apps:

How to use it?

Install:

sudo su -
git clone https://github.com/tadams42/usr-local-pull.git
cd usr-local-pull
python -m venv .venv
source .venv/bin/activate
pip install -U pip wheel setuptools
pip install .
  • needs to be run as root to be able to write into /usr/local

Update:

sudo su -
cd usr-local-pull
git pull
source .venv/bin/activate
pip install .

Install or update apps:

sudo su -
cd usr-local-pull
source .venv/bin/activate
usr-local-pull

Other side-effects:

  • uses ~/.cache for stuff downloaded from GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usr_local_pull-0.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usr_local_pull-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file usr_local_pull-0.1.0.tar.gz.

File metadata

  • Download URL: usr_local_pull-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for usr_local_pull-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49f525ff270187170d60f9474aaad414776cb10aa1446716855907856547151f
MD5 8695f90d793c865b09e813a4c1195671
BLAKE2b-256 cc6da16cee16b40cb0c9f5db53542ea0453a166ad3875100f46728eaa59bc040

See more details on using hashes here.

Provenance

The following attestation bundles were made for usr_local_pull-0.1.0.tar.gz:

Publisher: pypi-publish.yaml on tadams42/usr-local-pull

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file usr_local_pull-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: usr_local_pull-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for usr_local_pull-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac34a9c07449d7da89146be5539522e6cda33fb8a6e86444ba105a77f695003
MD5 d10b38edfd65cc75d6d30a8e33ef0dd8
BLAKE2b-256 7c9461bab962da080488b36061d43ff5888e40d28d5fdcaaf4a560290adb0b71

See more details on using hashes here.

Provenance

The following attestation bundles were made for usr_local_pull-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yaml on tadams42/usr-local-pull

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page