LoginSignup
12
9

More than 5 years have passed since last update.

Cygwinでapt-cygのインストール

Last updated at Posted at 2016-02-07

実行環境

apt-cygのインストール

apt-cygは、Cygwinでアプリケーションを簡単(※)にインストールするためのツール。
※ インストールする際にsetup.exeを使わずに1コマンドで済む。

公式版は開発が止まっているらしいので、他の方がforkして作っているものをダウンロード

wget https://raw.github.com/kou1okada/apt-cyg/master/apt-cyg

実行権限を付与

chmod +x apt-cyg

PATHの通っているディレクトリへ移動

mv apt-cyg /usr/local/bin/

Cygwinの setup-x86_64.exe で利用していた last-cache と last-mirror に関する情報をを apt-cyg に引き継ぐ。

apt-cyg --use-setuprc

以上で完了。

apt-cygを用いてアプリケーション(下記例ではsl)をインストールする場合は、下記のコマンドを実施。

apt-cyg install sl

参考サイト

12
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
9