Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

Cygwin | コマンドでソフトのインストールを出来るapt-cygの導入

概要

コマンドでソフトのインストールを出来るapt-cygの導入

詳細

前提

curlをインストールします。
cygwinのsetup_x86.exeでインストールします。

この際に

You must install wget, tar, gawk and bzip2 to use apt-cyg.

と表示されたら
再度setup_x86.exeで上記のうち、不足しているものをインストールします。

手順

下記コマンドを実行します

curl -o /usr/bin/apt-cyg https://raw.github.com/rcmdnk/apt-cyg/master/apt-cyg
chmod +x /usr/bin/apt-cyg

インストールの確認

$ apt-cyg --version
apt-cyg version 0.57
Written by Stephen Jungels

Copyright (c) 2005-9 Stephen Jungels.  Released under the GPL.
試しにnanoをインストール
apt-cyg install nano