Skip to content

Instantly share code, notes, and snippets.

@kunev
Created February 12, 2014 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunev/8958202 to your computer and use it in GitHub Desktop.
Save kunev/8958202 to your computer and use it in GitHub Desktop.
minimal script for isntalling rpm files from a URL with pkcon
#!/bin/bash
pkg_path=$1
filename=$(basename $pkg_path)
curl "$pkg_path" -o "$HOME/rpms/$filename"
pkcon install-local "$HOME/rpms/$filename"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment