Cygwinで遊ぶ ~ パッケージ確認編

Cygwin(x86_64)をデフォルトでインストールした時に選択されていたパッケージを確認してみる。

パッケージ一覧

まず最初のインストール時(2013/12/14)に元から選択されていたパッケージ。

  • alternatives (1.3.30c-10)
  • base-cygwin (3.3-1)
  • base-files (4.1-1)
  • bash (4.1.11-2)
  • coreutils (8.15-3)
  • cygwin (1.7.27-2)
  • dash (0.5.7-4)
  • editrights (1.02-1)
  • file (5.13-1)
  • findutils (4.5.11-1)
  • gawk (4.1.0-1)
  • grep (2.15-1)
  • gzip (1.4-1)
  • hostname (3.13-1)
  • ipc-utils (1.0-2)
  • login (1.10-10)
  • man (1.6g-2)
  • mintty (1.2-beta1-1)
  • rebase (4.4.1-1)
  • run (1.3.0-1)
  • sed (4.2.2-3)
  • tar (1.26-1)
  • tzcode (2013c-1)
  • vim-minimal (7.3.1314-1)
  • which (2.20-2)
  • zlib0 (1.2.8-1)

そしてそれらの依存関係により追加されたパッケージ。

  • bzip2 (1.0.6-2)
  • groff (1.22.2-1)
  • less (458-1)
  • libattr1 (2.4.46-1)
  • libbz2_1 (1.0.6-2)
  • libcrypt0 (1.1-1)
  • libdb5.3 (5.3.21-1)
  • libgcc1 (4.8.2-1)
  • libgdbm4 (1.10-2)
  • libgmp10 (5.1.3-1)
  • libiconv2 (1.14-1)
  • libintl8 (0.18.1.1-3)
  • liblzma5 (5.0.4-1)
  • libmpfr4 (3.1.2-1)
  • libncursesw10 (5.9-4)
  • libpcre1 (8.33-1)
  • libpopt0 (1.16-1)
  • libreadline7 (6.2-1)
  • libssp0 (4.8.2-1)
  • libstdc++6 (4.8.2-1)
  • perl (5.14.4-1)
  • terminfo (5.9-4)
  • texinfo (5.2-1)
  • xz (5.0.4-1)
  • _autorebase (000058-1)
  • _update-info-dir (00253-1)

パッケージの詳細

とりあえずひとつひとつ見ていく。

alternatives
  • カテゴリ: Base
  • 依存パッケージ: libintl8 libiconv2 cygwin

* A tool for managing package conflicts
The alternatives provides mechanisms for maintaining a database of, and
managing, other packages which might be in conflict with each other.
The end user can easily switch between the desired versions.

適当訳: 競合パッケージ管理ツール
alternativesは競合するパッケージを管理する仕組みを提供する。
これによってユーザーは簡単に希望のバージョンに切り替えることができる。

要するに、異なるバージョンのパッケージが複数インストールされているときに便利なコマンド。

base-cygwin
  • カテゴリ: Base
  • 依存パッケージ: なし

* Initial base installation helper script.

Cygwinをインストールするときに必要なスクリプト
インストールが終わったら自動的に削除される。

base-files

* A set of important system configuration and setup files

システム設定に関するファイル。
デフォルトのprofileとかが含まれる。

bash
  • カテゴリ: Base, Shells
  • 依存パッケージ: coreutils libintl8 libncursesw10 libreadline7 _update-info-dir cygwin

* The GNU Bourne Again SHell
Bash is an sh-compatible shell that incorporates useful features
from the Korn shell (ksh) and C shell (csh). It is intended to conform to the
IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional
improvements over sh for both programming and interactive use. In addition,
most sh scripts can be run by Bash without modification.

言わずと知れたシェルプログラム、bash

coreutils
  • カテゴリ: Base
  • 依存パッケージ: bash libattr1 libgmp10 libiconv2 libintl8 tzcode _update-info-dir cygwin

* GNU core utilities (includes fileutils, sh-utils and textutils)
Common core utilities include: [ arch base64 basename cat
chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir
dircolors dirname du echo env expand expr factor false fmt fold gkill
groups head hostid id install join link ln logname ls md5sum
mkdir mkfifo mknod mktemp mv nice nl nohup nproc od paste pathchk
pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq
sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort
split stat stty su sum sync tac tail tee test timeout touch tr true
truncate tsort tty uname unexpand uniq unlink users vdir wc who whoami
yes

シェルでよく使う基本的なコマンドの詰め合わせパッケージ。

cygwin
  • カテゴリ: Base
  • 依存パッケージ: base-cygwin _autorebase

* The UNIX emulation engine

UNIX環境を再現するエンジン。Cygwin本体。
Cのライブラリやヘッダーファイル、cygwin1.dllなどはこれに含まれる。

dash
  • カテゴリ: Base
  • 依存パッケージ: cygwin

* Dash shell
DASH is a POSIX-compliant implementation of /bin/sh that aims
to be as small as possible. It does this without sacrificing speed
where possible. In fact, it is significantly faster than bash (the GNU
Bourne-Again SHell) for most tasks.

軽量シェル。

editrights
  • カテゴリ: Base
  • 依存パッケージ: cygwin

* Alter Windows user rights and privileges from command line

Windowsのユーザーアカウントの権限を操作するコマンド。
実行には管理者権限が必要。

file
  • カテゴリ: Utils, Base
  • 依存パッケージ: zlib0 _autorebase cygwin

* Determines file type using 'magic' numbers
With file you can obtain information on the file type of a specified
file. File type recognition is controlled by the file /usr/share/file/magic
which contains the classification criteria.

ファイルの種類を特定するコマンド。

findutils
  • カテゴリ: Base
  • 依存パッケージ: bash libintl8 _update-info-dir cygwin

* Utilities for finding files--find, xargs, locate, updatedb
The findutils package contains programs which will help you
locate files on your system. The find utility searches through a
hierarchy of directories looking for files which match a certain set
of criteria (such as a filename pattern). The xargs utility builds
and executes command lines from standard input arguments (usually
lists of file names generated by the find command). The locate
utility scans a database of filenames and displays matches. The
updatedb utility builds the database for locate.

ファイル検索に関するコマンド。

gawk
  • カテゴリ: Interpreters, Base
  • 依存パッケージ: bash libgmp10 libintl8 libmpfr4 libreadline7 _autorebase _update-info-dir cygwin

* GNU awk, a pattern scanning and processing language
The gawk package contains the GNU version of awk, a text
processing utility. Awk interprets a special-purpose programming
language to do quick and easy text pattern matching and
reformatting jobs.

Install the gawk package if you need a text processing utility.
Gawk is considered to be a standard Linux tool for processing text.

テキスト処理コマンド。

grep
  • カテゴリ: Base
  • 依存パッケージ: libintl8 libpcre1 libiconv2 libgcc1 _update-info-dir cygwin

* Search and print textual input for lines which match a specified pattern
The GNU versions of commonly used grep utilities. Grep searches
through textual input for lines which contain a match to a specified
pattern and then prints the matching lines. GNU's grep utilities
include grep, egrep and fgrep.

言わずと知れた文字列検索コマンド。

gzip
  • カテゴリ: Base
  • 依存パッケージ: cygwin _update-info-dir

* The GNU compression utility

gzip形式の圧縮解凍ツール。

hostname
  • カテゴリ: Base
  • 依存パッケージ: cygwin

* Show host name, domain name or network addresses
This package provides the Debian version of the hostname command.
It can be used to display the system's host name, DNS domain name or
network addresses.

ホスト名を表示するコマンド。

ipc-utils
  • カテゴリ: Base
  • 依存パッケージ: cygwin

* XSI IPC maintainance utilities

IPC(プロセス間通信)に関するツール。
管理者権限が必要。

login
  • カテゴリ: Base
  • 依存パッケージ: cygwin bash

* Sign on to a system

ログインコマンド。
多分ログイン出来ない。

man

* Man, apropos and whatis commands
The man page suite, including man, apropos, and whatis consists of
programs that are used to read most of the documentation available on the
system. The whatis and apropos programs can be used to find documentation
related to a particular subject.<<
コマンドのマニュアルを表示するコマンド。

mintty
  • カテゴリ: Shells, Base
  • 依存パッケージ: cygwin

* Terminal emulator with native Windows look and feel
Mintty is a terminal emulator for Cygwin. It is based on code
from PuTTY 0.60 by Simon Tatham and team.

Features include:
* Xterm-compatible terminal emulation.
* Full Unicode support.
* Native Windows user interface that tries to keep things simple.
* Graphical options dialog. Options stored in a text file.
* Drag & drop and copy & paste of text, files and folders.
* Extensive mouse support.
* Window transparency.

Cygwinデフォルトの端末。

rebase
  • カテゴリ:
  • 依存パッケージ:

* Utilities for rebasing DLLs to load at alternate addresses
This package contains the Cygwin rebase utilities. Use rebase for
specific DLLs or rebaseall for all DLLs installed by Cygwin's setup.exe.

多分、DLLのベースアドレスを書き換えるツール。

run
  • カテゴリ: Base
  • 依存パッケージ: cygwin

* Launch cmdline programs with hidden console
run launches cmdline programs with hidden console

CLI(CUI)のプログラムをコンソール無しで起動するコマンド。

sed
  • カテゴリ: Base
  • 依存パッケージ: libintl8 _update-info-dir cygwin

* The GNU sed stream editor
The sed (Stream EDitor) editor is a stream or batch (non-interactive)
editor. Sed takes text as input, performs an operation or set of
operations on the text and outputs the modified text. The operations
that sed performs (substitutions, deletions, insertions, etc.) can be
specified in a script file or from the command line.

テキスト処理コマンド。

tar
  • カテゴリ: Base
  • 依存パッケージ: bash libiconv2 libintl8 bzip2 gzip xz _update-info-dir cygwin

* A GNU file archiving program
The GNU tar program saves many files together in one archive
and can restore individual files (or all of the files) from that
archive. Tar can also be used to add supplemental files to an archive and
to update or list files in the archive. Tar includes multivolume support,
automatic archive compression/decompression, the ability to perform
remote archives, and the ability to perform incremental and full backups.

言わずもがな、tarアーカイバ

tzcode

* The time zone package
The public-domain time zone database contains code and data that represent the
history of local time for many representative locations around the globe.

タイムゾーンに関するデータ。

vim-minimal
  • カテゴリ: Base
  • 依存パッケージ: libiconv2 libintl8 libncursesw10 cygwin

* Minimal Vi text editor
Vim (Vi IMproved) is an almost compatible version of the UNIX
editor vi. Almost every possible command can be performed using only ASCII
characters. Many new features have been added: multilevel undo, command line
history, file name completion, block operations, and editing of binary data.

テキストエディタ

which
  • カテゴリ: Base
  • 依存パッケージ: _update-info-dir cygwin

* Prints out full path of execuatbles
GNU Which prints out the full path of the executables that bash(1)
would execute when the passed program names would have been entered on the
shell prompt. It uses the exact same algorithm as bash.

コマンドのフルパスを表示するコマンド。

zlib0
  • カテゴリ: Base, Libs
  • 依存パッケージ: _autorebase cygwin

* Zlib de/compression library (runtime)
A Massively Spiffy Yet Delicately Unobtrusive Compression Library

Deflate圧縮のライブラリ。

とりあえずここまで

書きかけ