Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/takuya/apt-cyg

apt-cyg
https://github.com/takuya/apt-cyg

Last synced: 21 days ago
JSON representation

apt-cyg

Awesome Lists containing this project

README

        

apt-cyg
=======

A command-line software installer for Cygwin

Quick start
-----------

apt-cyg is a simple script. Once you have a copy, make it executable:

# chmod +x /bin/apt-cyg

Optionally place apt-cyg in a bin/ folder on your path.

First of all Update package repository

# apt-cyg -m http://ftp.jaist.ac.jp/pub/cygwin/x86_64/
# apt-cyg -m http://ftp.jaist.ac.jp/pub/cygwin/x86/  #for x86

Then use apt-cyg, for example:

# apt-cyg install nano

Subcommands:
-----
apt-cyg: Installs and removes Cygwin packages.

"apt-cyg install " to install packages
"apt-cyg remove " to remove packages
"apt-cyg update" to update setup.ini
"apt-cyg show" to show installed packages
"apt-cyg find " to find packages matching patterns
"apt-cyg search " to find packages matching patterns
"apt-cyg describe " to describe packages matching patterns
"apt-cyg packageof " to locate parent packages

Options:
----

--mirror, -m : set mirror
--cache, -c : set cache
--file, -f : read package names from file
--noupdate, -u : don't update setup.ini from mirror
--help
--version

Contributing
------------

This project has been cloned from original to make contributing easier. Feel free to fork and modify this script.

The [Google Code project](https://code.google.com/p/apt-cyg/) has a list of open issues.

TroubleShooting
-------------

If apt-cyg fail to install or mal install database, remove package entry from install.db

/etc/setup/install.db