Skip to content

modular package manager-ish script to automate and ease the process of installing packages your linux disto might not provide

License

Notifications You must be signed in to change notification settings

evergreenbear/pkgdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pkgdl

this is a modular bash script to ease and semi-automate the process of installing & upgrading packages your linux distro might not provide in their repositories

how it works

by default, pkgdl will create its main directory at $HOME/bin/pkgdl.d, with pkgs/ and work/ inside of this. these directories are created if they don't exist

installing/upgrading pkgs

the pkgdl script will parse the given package name and match it to a file in the pkgfiles directory ($HOME/bin/pkgdl.d/pkgs by default), and then source this file if matched
pkgdl get foo

it can also check for updates and send a notification if one is available
pkgdl get foo latest

configuration options

with pkgdl config, certain options can be changed without needing to manually edit the script
such as the main pkgdl.d location and pkgfiles directory

pkg file template

with pkgdl template bar, a template is made for package bar, put into pkgdl.d/pkgs/
this eases the process of adding new pkgs because general configuration is already done, as well as version checking (to some extent, you'll still need to change variables so the current and latest versions are properly gotten)

todo

allow to check updates for all packages at once
other stuff i will inevitably run into
logging
some sort of dependency resolution

it may not be the best script in the world, but i hope it can prove useful to you in some way!

About

modular package manager-ish script to automate and ease the process of installing packages your linux disto might not provide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages