Skip to content

hangyan/dpkg-pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dpkg-pacman

Dpkg command used in Ubuntu for package management have a very ugly output, especially in comparison to Arch's pacman or Gentoo's emerge. So I want to write a little script to beautify its output,like this:

currently, I only finished a few commands,there is still a lot work to do. Any suggestion and feedback will be welcome. Email : [email protected].

tools

This script use some system tools :

  1. grep
  2. awk
  3. apt-cache
  4. dpkg (from Debian)
  5. dpkg-query (from Debian)

install

just download the script :

wget https://raw.githubusercontent.com/hangyan/dpkg-pacman/master/pacman.sh

and put somewhere you think appropriate and chmod a+x pacman.sh.

usage

search

Search packages.

currently only support search one package at a time。

files

Show installed packages's files.

The output is not clear as tree,but is better than the origin

deps

show package's dependencies and reverse depends.

origin output of apt-cache showpkg htop :

the new one of pacman.sh deps htop :

info

show package's infomation (apt-cache show pkgname) :

About

better output for dpkg/apt-cache command,like arch's pacman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages