when dealing with package dependency woes, such as http://cygwin.com/ml/cygwin/2014-10/msg00563.html The current "depends" tree method fails, because it only shows the packages, not the dependency paths. These paths are necessary to solve the "shortest path problem" http://wikipedia.org/wiki/Shortest_path_problem Now, every possible dependency path will print from the chosen package. Combined with category search you can run searches such as apt-cyg category Base | apt-cyg depends | awk '/perl$/ {print length,$0}' | sort -n Solving the path problem in seconds. |
||
---|---|---|
CHANGELOG.md | ||
README.md | ||
apt-cyg | ||
apt-msys2 |
README.md
apt-cyg
apt-cyg is a Cygwin package manager. It includes a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository.
Command | Description | Analog |
---|---|---|
install | Install packages | apt-get install |
remove | Remove packages | apt-get remove |
update | Update setup.ini | apt-get update |
show | Displays the package records for the named packages | apt-cache show |
list | List packages matching given pattern. If no pattern is given, list all installed packages. | dpkg --list |
search | Search for a filename from installed packages | dpkg --search |
Quick start
apt-cyg is a simple script. To install:
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
Example use of apt-cyg:
apt-cyg install nano