Giter VIP home page Giter VIP logo

apt-cyg's Introduction

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 [email protected]: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/

apt-cyg's People

Contributors

johnbianchi avatar paprykarz avatar rcmdnk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.