最終更新:2016-03-17 (木) 15:44:22 (1537d)  

apt-cyg
Top / apt-cyg

https://github.com/transcode-open/apt-cyg

apt-cyg is a command-line installer for Cygwin which cooperates with Cygwin Setup and uses the same repository. The syntax is similar to apt-get.

メモ

私家版

インストール

GitHub

  • 作者のGitHub
  • https://github.com/transcode-open/apt-cyg
  • wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
  • install apt-cyg /bin
  • Lynxを使う方法に変更されてた (2014/12/20)
  • wgetが入ってないと代わりにlynxを使うっぽい
    lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
    install apt-cyg /bin

Google Code (古い)

  • 最新のr18 (2010-04-28)はリポジトリの新ディレクトリ構造に対応してない。
  • Subversionwgetが必要。
    svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/
    chmod +x /bin/apt-cyg
  • You must install wget, tar, gawk and bzip2 to use apt-cyg.

MD5 sum did not match, exiting

  • Since version 2.867, cygwin has move to sha512 checksum, however, the current version of apt-cyg is still using md5sum rather than sha512sum? for integrity verification. That’s what causes the problem.
  • To resolve the issue change the md5sum in line 323 and 326 of the file “apt-cyg” with sha512sum?. It should work.

x86とか(arch)が重複してエラーになる

arch問題修正版

  • https://github.com/rcmdnk/apt-cyg
  • Git,OpenSSHが必要。
    git clone git://github.com/rcmdnk/apt-cyg.git
    cp apt-cyg/apt-cyg /bin/
    rm -rf apt-cyg # if the local repository is not necessary
  • 取得先を国内サーバに
    apt-cyg -m http://ftp.iij.ad.jp/pub/cygwin/x86/ update

Usage examples:

"apt-cyg install <package names>" to install packages
"apt-cyg remove <package names>" to remove packages
"apt-cyg update" to update setup.ini
"apt-cyg show" to show installed packages
"apt-cyg find <pattern(s)>" to find packages matching patterns
"apt-cyg describe <pattern(s)>" to describe packages matching patterns
"apt-cyg packageof <commands or files>" to locate parent packages

関連

参考