Giter Site home page Giter Site logo

fishezzz / apt-dependencies Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 13 KB

Print a list of installed packages that depend on a given package. (the reverse of "apt depends")

License: MIT License

Shell 100.00%
apt apt-get dependencies package-management

apt-dependencies's Introduction

APT Dependencies

Print a list of installed packages that depend on a given package.

Installation

  1. Clone this repository (git clone https://github.com/Fishezzz/apt-dependencies.git) or download the zip and unzip it in your home folder.

For system-wide install:

  1. Place the apt-dependencies folder in the /opt folder:

    sudo mv ~/apt-dependencies /opt/
  2. Make apt-dependencies executable:

    sudo chmod a+x /opt/apt-dependencies/apt-dependencies
  3. Create a symbolic link:

    sudo ln -s /opt/apt-dependencies/apt-dependencies /usr/local/bin/

For user install:

  1. Place the apt-dependencies folder in the ~/.local/share/ folder:

    mv ~/apt-dependencies ~/.local/share/
  2. Make apt-dependencies executable:

    chmod a+x ~/.local/share/apt-dependencies/apt-dependencies
  3. Create a symbolic link:

    ln -s ~/.local/share/apt-dependencies/apt-dependencies ~/.local/bin/

Usage

apt-dependencies [OPTIONS] [--] <package>

Options

  • -h, --help

    display this help and exit

  • --

    everything after this will be treated as a list of packages.

Arguments

The <package> argument will be treated as a single package. Valid regexp can be used as well but should be between quotes. When multiple packages are provided without using -- only the last package will be used.

When -- is provided, multiple packages or regexps can be provided, when seperated by spaces and quoted when needed. This will override any package provided before the --.

When multiple packages are provided, packages that depend on ANY of the provided packages will be returned. Dependencies can occur multiple times when providing multiple packages.

apt-dependencies's People

Contributors

fishezzz avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.