Skip to content

Dotbot plugin to install/upgrade apt-get packages

License

Notifications You must be signed in to change notification settings

kmARC/dotbot_plugin_aptget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dotbot apt-get Plugin

Plugin for Dotbot, that adds aptget directive, which allows you to install and upgrade packages using apt-get from known sources or from configurable PPA.

Installation

  1. Simply add this repo as a submodule of your dotfiles repository:
git submodule add https://github.com/dein0s/dotbot_plugin_aptget.git
  1. Pass this folder (or directly aptget.py file) path with corresponding flag to your Dotbot script:
  • -p /path/to/file/aptget.py

or

  • --plugin-dir /pato/to/plugin/folder

WARNING!

Dotbot (or install script) needs to be executed with root permissions (as sudo) in order to install/upgrade packages. It is strongly recommended to place aptget tasks in a separate config!

Supported task variants

- aptget: package_name
- aptget: [package_name_one, package_name_two, package_name_three]
- aptget:
    package_name:
        ppa_source: ppa:package/source
        upgrade: true
    package_name_two: ppa:package/source
    package_name_onemore:
        ppa_source: ppa:package/source

Usage

Example config

- aptget:
    tilix:
        ppa_source: ppa:webupd8team/terminix
        upgrade: true
    atom: ppa:webupd8team/atom
    htop:

Execution

"~/.dotfiles/bin/dotbot" -d "~/.dotfiles" -c "~/.dotfiles/packages.yaml" -p "~/.dotfiles/plugins/aptget.py"

Output

cli_out

About

Dotbot plugin to install/upgrade apt-get packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages