Skip to content

johnbianchi/apt-cyg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

apt-cyg

A command-line software installer for Cygwin. Original version is available in http://code.google.com/p/apt-cyg/.

Recently, Cygwin mirror sites change their directory structure, and original apt-cyg doesn't work on them anymore.

In this repository, an updated version of apt-cyg which can be used for the new Cygwin mirror site strucuture is available.

Example installation

$ git clone git@github.com:jbianchi/apt-cyg.git
# copy to wherever in your $PATH (example copies to /bin)
$ cp apt-cyg/bin/apt-cyg   /bin/     

# or curl directly w/o local repo:
$ curl -o /bin/apt-cyg https://raw.github.com/johnbianchi/apt-cyg/master/bin/apt-cyg
$ chmod +x /bin/apt-cyg

# If you want to get bash completion, include completion mechanism from .bash.d/completions/apt-cyg
# You can include it statically, by sourcing script into current shell, e.g in. ~/.bashrc
$ . .bash.d/completions/apt-cyg # suppose that directory .bash.d/completions/ exists 
# or dynamically via completion loader function.

Usage

2013.12.07: Added ~/.apt-cygrc to be sourced. use to store your default mirror. Also can hold WGET_OPTS which if set to "--quiet" will quiet up all the wget calls Added -v for verbose and -q for quiet options (mostly just wget calls)

2013.12.05: added support for .xz tar files (vim-minimal is an xz file now: vim-minimal-7.3.1314-1.tar.xz) create yum compatible (search=find, list=show, info=describe, provides=packageof)

  • TODO: need to handle failed extractions better, currently apt-cyg thinks all went well.

2013-09-26: Find: two new options: --ignore-case, --available-only Added primitive completion of parameters and available packages

13/08/2013 update: This version can be used exactly same way with original apt-cyg. Architecture will be set automatically.

If you want to specify mirror site, put x86 (for 32 bit machine) or x86_64 (for 64 bit machine) at the end of URL $ apt-cyg update -m ftp://mirror.mcs.anl.gov/pub/cygwin/x86_64/

About

A command-line software installer for Cygwin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%