https://github.com/nylen/scripts-debian-pkg
This package provides several scripts that assist in working with Debian/Ubuntu/Linux Mint packages using apt-get and related tools.
https://github.com/nylen/scripts-debian-pkg
Last synced: 2 months ago
JSON representation
This package provides several scripts that assist in working with Debian/Ubuntu/Linux Mint packages using apt-get and related tools.
- Host: GitHub
- URL: https://github.com/nylen/scripts-debian-pkg
- Owner: nylen
- Created: 2013-09-20T16:10:42.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-08-08T15:05:48.000Z (almost 12 years ago)
- Last Synced: 2025-11-12T03:32:01.645Z (8 months ago)
- Language: Shell
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scripts-debian-pkg
This package provides several scripts that assist in working with
Debian/Ubuntu/Linux Mint packages using apt-get and related tools.
The scripts are packaged using `npm` for convenience.
## Installation
sudo npm install -g --unsafe-perm scripts-debian-pkg
The `--unsafe-perm` is needed so that `npm` will run the simple
`scripts/install.sh` script as root. Similarly, to uninstall:
sudo npm rm -g --unsafe-perm scripts-debian-pkg
## Scripts
### pkg
`pkg` is a wrapper for `apt-get` and will automatically `sudo` if necessary.
# To install package abcde:
pkg abcde
pkg install abcde
# To download source code:
pkg source abcde
# Any other apt-get command should work here too:
pkg remove abcde
Also, `pkg reinstall` is a shortcut for `apt-get install --reinstall`.
### pkg-info
`pkg-info` shows some information about the given package(s), including
selected fields from `apt-cache` and whether or not the package is installed.
# Show basic information
pkg-info abcde
# Include package dependencies
pkg-info -d abcde