- 追加された行はこの色です。
- 削除された行はこの色です。
* Cygwinパッケージ管理 [#g85d030d]
- apt-cygを使うか、
** コマンドラインからパッケージをインストールするには? [#ued0506c]
- apt-cygを使う。
-- apt-cygはLinuxのaptやyumのようなもの。
- Cygwin本体をChocolateyでインストールしたならcyg-getを使う。
- apt-cygはLinuxのaptやyumのようなもの。
- cyg-getはCygwinのsetup.exeを呼び出すラッパー。
-- cyg-getはCygwinのsetup.exeを呼び出すラッパー。
- setup.exeをコマンドラインで使う。
-- オプション指定が面倒なのでbashのエイリアス機能を使うと便利。
*** 参考 [#e7fc7273]
- http://superuser.com/questions/214831/how-to-update-cygwin-from-cygwins-command-line
- http://stackoverflow.com/questions/9260014/how-do-i-install-cygwin-components-from-the-command-line/23143997#23143997
** apt-cyg [#v251ff79]
*** 準備(setup.exeから) [#xb1073d4]
- https://github.com/transcode-open/apt-cyg
- 他にもフォークされたバージョンが存在する。
- Cygwinのインストールフォルダから、cygwinsetup.exeを実行し、以下のパッケージをインストールする。
-- wget
-- tar
-- gawk
-- gnupg
*** apt-cyg packagesのインストール [#k64dce2d]
** cyg-get [#ya0fc256]
*** cyg-getのインストール [#g46b3edb]
choco install cyg-get
*** cyg-getを使ってパッケージのインストール [#t127e2b6]
cyg-get diffutils perl
apt-cyg install gcc-core
apt-cyg install openssh
apt-cyg install python
apt-cyg install python-setuptools
*** cyg-getのヘルプ [#zad3fdc2]
cyg-get /?
- https://chocolatey.org/packages/cyg-get
- https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/packages/cyg-get
** パッケージ検索 [#eb018f47]
http://cygwin.com/cgi-bin2/package-grep.cgi
** パッケージ一覧 [#aacb9b77]
http://ftp.jaist.ac.jp/pub/cygwin/x86_64/release/