gnupackは手軽にcygwinとemacsを導入できるパッケージソフトウェアです。
アーカイブファイルを展開するだけでgnupackはすぐに利用できます。
gnupackの特徴は以下のとおりです。
startup_*.exe
を実行するだけで、cygwin、emacs、gvimがすぐに利用可能。gnupackには、以下のソフトウェアがバンドルされています。バンドルされているソフトウェアはすべて32bitバイナリです。
各ソフトウェアのバージョンは、リリースノートを参照してください。
ソフトウェア名 | ソフトウェア概要 | Webサイト |
---|---|---|
cygwin | WindowsにLinuxディストリビューション同等の機能を提供する各種ツール群。公式バイナリをバンドル。 | https://www.cygwin.com/ |
emacs | カスタマイズかつ拡張可能なテキストエディタ。IMEパッチ適用、独自ビルドしたcygwinバイナリをバンドル。 | http://www.gnu.org/software/emacs/ https://gist.github.com/rzl24ozi/ |
gvim | 効率的なテキスト編集のためのテキストエディタ。右記Webサイトで提供されているバイナリをバンドル。 | http://www.kaoriya.net/software/vim/ |
nkf | 文字列の文字コード変換プログラム。独自ビルドしたcygwinバイナリをバンドル。 | http://osdn.jp/projects/nkf/ |
global | ソースコードのタグ生成、タグ検索プログラム。独自ビルドしたcygwinバイナリをバンドル。 | http://www.gnu.org/software/global/ |
cocot | コマンド・端末間の文字コード自動変換プログラム。独自ビルドしたcygwinバイナリをバンドル。 | https://github.com/vmi/cocot/ |
sshpass | コマンドライン上でパスワード指定可能なsshラッパープログラム。独自ビルドしたcygwinバイナリをバンドル。 | http://sourceforge.net/projects/sshpass/ |
cmigemo | ローマ字入力の日本語インクリメンタル検索プログラム。独自ビルドしたcygwinバイナリをバンドル。 | https://github.com/koron/cmigemo/ |
ttyrec | 端末画面表示の録画・再生プログラム。独自ビルドしたcygwinバイナリをバンドル。 | http://0xcc.net/ttyrec/ |
sary | Suffix Arrayを用いた高速なファイルの全文検索プログラム。独自ビルドしたcygwinバイナリをバンドル。 | http://sary.sourceforge.net/ |
silver searcher | ファイル内文字列の高速検索プログラム。独自ビルドしたcygwinバイナリをバンドル。 | https://github.com/ggreer/the_silver_searcher/ |
man-pages-ja | Linux関連コマンドの日本語版マニュアルページ。右記Webサイトの提供ファイルをバンドル。 | http://linuxjm.osdn.jp/ |
Migu 1M | M+フォントとIPAゴシックの合成フォント。右記Webサイトの提供フォントをバンドル。 | http://osdn.jp/projects/mix-mplus-ipa/ |
apt-cyg | CUIベースのcygwinパッケージ管理プログラム。右記Webサイトの提供スクリプトをバンドル。 | https://github.com/kou1okada/apt-cyg/ |
gnupackの開発(バグ改修や機能追加など含む)は、開発者の対応可能な範囲内で行わせていただきます。
gnupackでは用途に応じた2種類のパッケージを提供します。
パッケージごとのバンドル ソフトウェアは以下のとおりです。
(凡例 ○:バンドル ×:非バンドル)
ソフトウェア名 | gnupack basic |
gnupack devel |
---|---|---|
cygwin (core) | ○ | ○ |
cygwin (gcc) | × | ○ |
cygwin (python, ruby) | × | ○ |
cygwin (cvs, git, subversion) | × | ○ |
emacs | ○ | ○ |
gvim | ○ | ○ |
nkf | ○ | ○ |
global | ○ | ○ |
cocot | ○ | ○ |
sshpass | ○ | ○ |
cmigemo | ○ | ○ |
ttyrec | ○ | ○ |
sary | ○ | ○ |
silver searcher | ○ | ○ |
man-pages-ja | ○ | ○ |
Migu 1M | ○ | ○ |
apt-cyg | ○ | ○ |
gnupackの動作する環境と、開発者による動作テストの実施有無は以下のとおりです。
(凡例 ○:動作可 △:動作可(未確認) ×:動作不可)
OS名 | バージョン番号 | 動作環境 | 動作テスト |
---|---|---|---|
Windows 8.1 | NT 6.3 | △ | No |
Windows 8 | NT 6.2 | △ | No |
Windows 7 | NT 6.1 | ○ | Yes |
Windows Vista | NT 6.0 | △ | No |
Windows XP | NT 5.1 | × | No |
Windows 2000 | NT 5.0 | × | No |
Windows Me | 4.9 | × | No |
Windows 98 SE | 4.1 | × | No |
Windows 98 | 4.1 | × | No |
Windows 95 | 4.0 | × | No |
gnupack本体の展開に必要なディスク容量の目安は以下のとおりです。
パッケージ種別 | 必要ディスク容量 |
---|---|
gnupack basic | 約600 MB |
gnupack devel | 約1.0 GB |
バージョンアップの方針は以下のとおりです。
cygwin1.dll
のアップデートで大幅な変更があった場合に実施。startup_*.exe
において上位互換のない改修があった場合に実施。startup_*.exe
において上位互換のある改修があった場合に実施。リリース ファイルの命名規則は以下のとおりです。
gnupackのダウンロード手順は以下のとおりです。
gnupackのインストール手順は以下のとおりです。
startup_cygwin.exe
、startup_emacs.exe
、startup_gvim.exe
へのショートカットを作成します。
各ソフトウェアの起動方法は以下のとおりです。
startup_cygwin.exe
を実行します。startup_emacs.exe
を実行します。startup_emacsclient.exe
を実行します。startup_gvim.exe
を実行します。gnupackのアンインストール手順は、以下のとおりです。
TEMP
配下のgnupackディレクトリを削除します。
cygwinのレジストリ情報を削除する場合、以下の項目を削除します。レジストリ変更は自己の責任において実施してください。
HKEY_LOCAL_MACHINE\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin
cygwinアンインストールの詳細な手順は公式サイトのFAQ(How do I uninstall all of Cygwin?)を参照ください。
gnupackのバージョンアップには、以下の2種類の方式があります。
gnupackのバージョンアップ手順は、以下のとおりです。
上記はgnupackをデフォルトの状態で利用している場合の手順です。
設定ファイルやバンドル ソフトウェアの構成などを変更した場合、バージョンアップ後に個別変更した内容を反映してください。
cygwinのバージョンアップは、apt-cygにより行います。apt-cygの詳細な使い方は配布サイトのREADMEを参照ください。
一例として、新規パッケージの追加結果を以下に示します。
# apt-cyg install bash-completion Working directory is /setup Mirror is ftp://mirror.mcs.anl.gov/pub/cygwin <省略> Unpacking... Package bash-completion requires the following packages, installing: bash Package bash is already installed, skipping Running postinstall scripts Package bash-completion installed # cygcheck -c bash-completion Cygwin Package Information Package Version Status bash-completion 1.3-1 OK
cygwinパッケージの詳細な情報は公式サイトのSearch Packagesを参照ください。
gnupackのディレクトリ構成の全体概要は以下のとおりです。
ROOT_DIR
として参照可能。setup.exe
あるいはapt-cyg
による追加パッケージも本ディレクトリにインストール。make install PREFIX=/usr/local
したパッケージも本ディレクトリにインストール。cygwinのディレクトリとWindowsのディレクトリとの対応関係は以下のとおりです。
gnupackにバンドルされているcygwinの主要なパッケージは以下のとおりです。
各パッケージのバージョンは、リリースノートを参照ください。
(凡例 ○:バンドル ×:非バンドル)
パッケージ名 | パッケージ概要 | gnupack basic |
gnupack devel |
---|---|---|---|
_autorebase | Run rebaseall automatically | ○ | ○ |
_update-info-dir | Generate info/dir file automatically | ○ | ○ |
alternatives | A tool for managing package conflicts | ○ | ○ |
ascii | ASCII character tables | ○ | ○ |
attr | Utilities for managing filesystem extended attributes | ○ | ○ |
base-cygwin | Initial base installation helper script. | ○ | ○ |
base-files | A set of important system configuration and setup files | ○ | ○ |
bash | The GNU Bourne Again SHell | ○ | ○ |
bc | Arbitrary precision calculator language | ○ | ○ |
bzip2 | A high-quality block-sorting file compressor (utilities) | ○ | ○ |
ca-certificates | CA root certificates | ○ | ○ |
coreutils | GNU core utilities (includes fileutils, sh-utils and textutils) | ○ | ○ |
ctags | A C programming language indexing and/or cross-reference tool | ○ | ○ |
cvs | Concurrent Version System | × | ○ |
cygutils | A collection of simple utilities (core collection) | ○ | ○ |
cygutils-extra | A collection of simple utilities (other tools) | ○ | ○ |
cygwin | The UNIX emulation engine | ○ | ○ |
dash | Dash shell | ○ | ○ |
diffutils | A GNU collection of diff utilities | ○ | ○ |
dos2unix | Line Break Conversion | ○ | ○ |
editrights | Alter Windows user rights and privileges from command line | ○ | ○ |
expect | Tool for automating interactive applications | ○ | ○ |
file | A utility for determining file types | ○ | ○ |
findutils | Utilities for finding files--find, xargs, locate, updatedb | ○ | ○ |
gawk | GNU awk, a pattern scanning and processing language | ○ | ○ |
gcc-core | GNU Compiler Collection (C, OpenMP) | × | ○ |
gcc-g++ | GNU Compiler Collection (C++) | × | ○ |
getent | Get entries from Name Service Switch libraries | ○ | ○ |
git | Distributed version control system | × | ○ |
gnupg | GNU\'s tool for secure communication and data storage. | ○ | ○ |
grep | Search for regular expression matches in text files | ○ | ○ |
groff | GNU roff formatter | ○ | ○ |
gzip | The GNU compression utility | ○ | ○ |
hostname | Show host name, domain name or network addresses | ○ | ○ |
inetutils | Common networking clients and servers (clients) | ○ | ○ |
less | A file pager program, similar to more(1) | ○ | ○ |
libXpm-noX | X.Org X Pixmap library -- no X required (utilities) | ○ | ○ |
libcroco0.6_3 | GNOME CSS parser library (runtime) | ○ | ○ |
libdatrie1 | Double-array digital search tree library | ○ | ○ |
libdbus1_3 | Freedesktop message bus system | ○ | ○ |
libgif4 | GIF file manipulation library (runtime) | ○ | ○ |
libgnutls28 | Library implementing TLS 1.0 and SSL 3.0 protocols (runtime) | ○ | ○ |
libgraphite2_3 | Graphite smart font parser | ○ | ○ |
libharfbuzz0 | OpenType text shaping engine | ○ | ○ |
libjpeg8 | JPEG library with SIMD acceleration | ○ | ○ |
libpng15 | PNG library | ○ | ○ |
librsvg2_2 | GNOME Scalable Vector Graphics library (runtime) | ○ | ○ |
libtiff6 | TIFF image library | ○ | ○ |
libxml2 | GNOME XML library (runtime) | ○ | ○ |
make | The GNU version of the 'make' utility | ○ | ○ |
man-db | Man page viewer | ○ | ○ |
mintty | Terminal emulator with native Windows look and feel | ○ | ○ |
ncurses | Terminal display utilities | ○ | ○ |
openssh | The OpenSSH server and client programs | ○ | ○ |
patch | Applies diff files | ○ | ○ |
perl | Larry Wall's Practical Extracting and Report Language | ○ | ○ |
perl_manpages | Perl programming language interpreter | ○ | ○ |
perl_pods | Perl programming language interpreter | ○ | ○ |
perl_vendor | Additional vendor modules previously packaged in perl-5.10 | ○ | ○ |
ping | A basic network tool to test IP network conectivity | ○ | ○ |
popt | Library for parsing cmdline parameters | ○ | ○ |
procps | System and process monitoring utilities | ○ | ○ |
python | Python language interpreter | × | ○ |
python-setuptools | Python package management tool | × | ○ |
rebase | Utilities for rebasing DLLs to load at alternate addresses | ○ | ○ |
ruby | Interpreted object-oriented scripting language | × | ○ |
sed | The GNU sed stream editor | ○ | ○ |
source-highlight | Syntax highlighting utilities | ○ | ○ |
subversion | A version control system | × | ○ |
tar | A GNU file archiving program | ○ | ○ |
termcap | Old-style database for terminal handling | ○ | ○ |
terminfo-extra | Terminal capability database (additional entries) | ○ | ○ |
time | The GNU time command | ○ | ○ |
tree | Display graphical directory tree | ○ | ○ |
tzcode | Time Zone Database | ○ | ○ |
unzip | Info-ZIP decompression utility | ○ | ○ |
util-linux | Collection of basic system utilities | ○ | ○ |
vim | Vi IMproved - enhanced vi editor | ○ | ○ |
vim-minimal | Minimal Vi text editor | ○ | ○ |
wget | Utility to retrieve files from the WWW via HTTP and FTP | ○ | ○ |
which | Prints out full path of executables | ○ | ○ |
xz | LZMA de/compressor | ○ | ○ |
zip | Info-ZIP compression utility | ○ | ○ |