GithubHelp home page GithubHelp logo

check-pkgs's Introduction

check-pkgs: Taming the package zoo

check-pkgs helps you manage APT, so you only the packages you actually want are installed.

It does this by requiring that each package is either

  • A dependency of another (wanted) package.
  • Or explicitly marked as wanted by the user.

Usage

RTFM:

$ check-pkgs --help
usage: check-pkgs [--list orphaned|dowant|ignore|remind|delete]

Pro tip:
  $ echo 'DPkg::Post-Invoke {"PATH/TO/THIS/SCRIPT";};' > /etc/apt/apt.conf.d/99check-pkgs

To check for orphaned packages simply run check-pkgs with no arguments.

Run automatically

To automatically run check-pkgs each time you install or remove something with APT, put this line in /etc/apt/apt.conf.d/99check-pkgs:

DPkg::Post-Invoke {"PATH/TO/THIS/SCRIPT";};

Lists

Four lists are saved in ~/.pkgs:

  • dowant.pkgs: Packages that must be installed.

  • ignore.pkgs: Packages that can be installed but doesn't need to be (useful if you e.g. use Gimp sometimes but don't want to have it installed always).

  • delete.pkgs: Packages that must not be installed.

  • remind.pkgs: Packages that the user has not decided whether should be installed or not. Packages on this list are automatically deleted after five days.

Installing

Place check-pkgs in your PATH.

Contributers

This script was developed by myself and Idolf.

check-pkgs's People

Contributors

br0ns avatar kristoff3r avatar

Watchers

 avatar  avatar  avatar

Forkers

tethyssvensson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.