個人的なCygwinあれこれ、その1

# 目的
現在dwmを起動するのにやたら時間がかかっている。tmuxが悪いのかと思いきやそうでもない。よくわからないので不要な物は削除して様子をみる。
## 通常業務に必要なもの
dwm,bash, Vim, tmux, git, tar, gzip, grep, diff, ssh, mintty, find, urxvt
# いらないもの削除
## Xfce系
Thunar、Thunar-devel, risretto, tumbler, garcon
libxfce4kbd-private2_0, libxfce4ui1_0, libxfce4util-common/devel, libxfce4gui4_4, libxfconf0_2, libexo1-common, libexo1_0, libgarcon
xfce-themes
xfconf, xfconfd, xfdesktop, exo
## IM系
im-chooser-common, imchooser, imsettings, girepository-IBus 1.0, ibus, libibus1.0_5
## PHP,Python,Ruby系
php, php-curl, php-devel, php-mbstring, php-mcrypt, php-phar
python, python3, python-beautifulsoup, python-bonobo2, python-cairo, python-cffi, python-chardet, python-configobj, python-dbus, python-docutils, python-fontforges, python-gconf2, python-gi, python-gi-common, python-gnome2, python-gnomecanvas2, python-gnomevfs2, python-gobject, python-gtk2.0, python-imaging, python-jinja2, python-lxml, python-markupsafe, python-numphy, python-orbit, python-ply, python-pycparser, python-pygments, python-pynotify, python-setuptools, python-simplejson, python-six, python-sphinx, python-urllib3, python-xdg, python3-cairo, python3-gi, 
ruby, ruby-curses, ruby-json, ruby-minitest4, ruby-rake, ruby-rdoc, rubygems
## TeX系
libptexenc1, libsynctex1, libtexlua52_5, libtexluajit2, perl-Text-BibTex, texlive, dblatex, texlive-collection-bibtexextra
## Gnome系
guake, gvfs, gigolo, GConf2, gnome-keyring, gnome-menus, gnome-mime-data, gnome-online-accounts, libgnome-keyring0, libgnome-menu3_0, libgnome2_0, libgnomecanvas2_0, libgnomeui2_0, libgnomevfs2_0, libsoup-gnome2.4_1
## OpenGL, Magick系
libEGL-devel, libEGL1, libGL-devel, libGL1, libglapi0, dri-drivers
ImageMagick, libMagickC++, libMagickCore, libMagickWand
## fzf
fzf, fzf-bash, fzf-bash-completion, fzf-vim, fzf-zsh, fzf-zsh-complition
## その他
enchant, mintty, mercurial, mc, mysql, mysql-common, feh, libimsettings5, libpoppler62, libpoppler-glib8,  libspeexdsp1, speexdsp, biber

# 依存関係で削除できないらしいもの

```bash
dblatex	(0.3.9-1)
	Converts DocBook SGML/XML to DVI/PS/PDF
	Required by: gtk-doc

dri-drivers	(12.0.4-1)
	OpenGL DRI drivers
	Required by: xorg-server-common, libEGL1, libGL1

gvfs	(1.26.3-2)
	GNOME virtual filesystem
	Required by: gigolo

ibus	(1.5.13-1)
	IBus X Input Module framework
	Required by: imsettings

im-chooser-common	(1.6.6-1)
	Shared components for im-chooser and xfce4-im-chooser
	Required by: im-chooser

ImageMagick	(6.9.5.7-2)
	Image processing suite (utilities)
	Required by: dblatex

libEGL-devel	(12.0.4-1)
	Embedded GL native platform interface library (development)
	Required by: libcairo-devel

libEGL1	(12.0.4-1)
	Embedded GL native platform interface library (runtime)
	Required by: libcairo2, libwebkitgtk1.0_0, libwebkitgtk3.0_0, libEGL-devel

libGL-devel	(12.0.4-1)
	X11 OpenGL library (development)
	Required by: libcairo-devel

libGL1	(12.0.4-1)
	X11 OpenGL library (runtime)
	Required by: libcairo2, libepoxy0, libwebkitgtk1.0_0, libwebkitgtk3.0_0, xorg-server, libGL-devel

libglapi0	(12.0.4-1)
	OpenGL internal API library (runtime)
	Required by: libGL-devel, libEGL1, libGL1, dri-drivers

libhunspell1.4_0	(1.4.1-1)
	Spell checker and morphological analyzer
	Required by: libenchant1

libibus1.0_5	(1.5.13-1)
	IBus X Input Module framework library (runtime)
	Required by: girepository-IBus1.0, ibus

libicu58	(58.2-1)
	IBM Internationalization Components for Unicode
	Required by: libboost_regex1.60, libharfbuzz-icu0, texlive

libidn2_0	(0.11-1)
	International Domain Name library (runtime)
	Required by: libcurl4, libpsl5

libimsettings5	(1.7.2-1)
	On-the-fly X Input Method settings manager
	Required by: imsettings, im-chooser-common

libMagickC++6_6	(6.9.5.7-2)
	Image processing suite (runtime C++)
	Required by: libpstoedit0

libMagickCore6_2	(6.9.5.7-2)
	Image processing suite (runtime)
	Required by: libautotrace3, libMagickC++6_6, ImageMagick, libMagickWand6_2

libMagickWand6_2	(6.9.5.7-2)
	Image processing suite (runtime C++)
	Required by: libMagickC++6_6, ImageMagick

libnfs8	(1.11.0-1)
	NFS client library
	Required by: gvfs

libpoppler62	(0.45.0-2)
	PDF rendering library (core runtime)
	Required by: texlive

libptexenc1	(20160520-4)
	TeX Unicode encoding library (runtime)
	Required by: texlive

libspeexdsp1	(1.2-0.1.rc3)
	A patent-free, Open Source/Free Software DSP library (runtime)
	Required by: pulseaudio

libsynctex1	(20160520-4)
	TeX source/output synchronization library (runtime)
	Required by: texlive

libtexlua52_5	(20160520-4)
	TeX lua scripting library (runtime)
	Required by: texlive

libtexluajit2	(20160520-4)
	TeX Just-In-Time lua compiler library (runtime)
	Required by: texlive

libxfce4util-common	(4.12.1-1)
	Xfce4 utility library
	Required by: libxfce4util6

libXfont2_2	(2.0.1-1)
	X.Org font library
	Required by: xorg-server

perl-Text-BibTeX	(0.77-1)
	Perl distribution Text-BibTeX
	Required by: biber

php	(7.0.14-2)
	PHP Hypertext Preprocessor
	Required by: php-json

php-json	(7.0.14-2)
	PHP json extension
	Required by: php-jsonc

python	(2.7.12-1)
	Python language interpreter
	Required by: GConf2, fontforge, git, gtk-doc, libfontforge1, libglib2.0-devel, libgtk2.0-devel, libgtksourceview2.0_0, python-beautifulsoup, python-bonobo2, python-cairo, python-cffi, python-chardet, python-configobj, python-dbus, python-docutils, python-gconf2, python-gi, python-gnome2, python-gnomecanvas2, python-gnomevfs2, python-gobject, python-gtk2.0, python-imaging, python-jinja2, python-lxml, python-markupsafe, python-numpy, python-orbit, python-ply, python-pycparser, python-pygments, python-pynotify, python-setuptools, python-simplejson, python-six, python-sphinx, python-vte, python-xdg, terminator, texlive-collection-binextra, texlive-collection-mathextra, texlive-collection-pictures, dblatex, ibus

python3	(3.4.5-1)
	Py3K language interpreter
	Required by: gettext-devel, python3-cairo, python3-gi, ibus

speexdsp	(1.2-0.1.rc3)
	A patent-free, Open Source/Free Software DSP library
	Required by: libspeexdsp1

texlive	(20160520-4)
	TeX Live binaries
	Required by: texlive-collection-basic, dblatex

tzcode	(2016j-1)
	Time Zone Database utilities
	Required by: coreutils
```

2回め

```bash
GConf2	(3.2.6-2)
	GNOME configuration database system
	Required by: gconf-desktop-schemas, libgnomevfs2_0

girepository-cairo1.0	(1.46.0-1)
	GObject Introspection data for libcairo
	Required by: girepository-Gtk3.0, girepository-Pango1.0

gnome-keyring	(3.18.3-1)
	GNOME Desktop password management system
	Required by: libsecret1_0, libgnome-keyring0

gnome-menus	(3.13.3-3)
	GNOME Desktop Menu implementation
	Required by: libgnome-menu3_0

gnome-mime-data	(2.18.0-10)
	Base set of file types and applications for GNOME 2.x
	Required by: libgnomevfs2_0

gnome-online-accounts	(3.18.5-1)
	GNOME online account manager service
	Required by: libgoa1.0_0

libcairo-devel	(1.14.4-1)
	Cross-device vector graphics library
	Required by: libgtk2.0-devel, libpango1.0-devel, libvte-devel

libcairo2	(1.14.4-1)
	Cross-device vector graphics library
	Required by: adwaita-themes, gtk2.0-engines-murrine, gtk2.0-engines-pixmap, gvim, libMagickCore6_2, libfontforge1, libgcr-ui3_1, libgtk2.0_0, libgtk3_0, libgtksourceview2.0_0, libpango1.0_0, librsvg2_2, libvte9, libwebkitgtk1.0_0, libwebkitgtk3.0_0, libwnck1_22, midori, texlive, girepository-cairo1.0, libcairo-devel, python-gtk2.0, python-gi, python-cairo

libgnome-keyring0	(3.12.0-2)
	GNOME Desktop password management client library
	Required by: libgnomeui2_0

libgnome-menu3_0	(3.13.3-3)
	GNOME Desktop Menu implementation
	Required by: xwin-xdg-menu

libgnome2_0	(2.32.1-3)
	Non-gui part of the GNOME library
	Required by: libbonoboui2_0, python-gnome2, libgnomeui2_0, python-bonobo2

libgnomecanvas2_0	(2.30.3-2)
	GNOME canvas widget library
	Required by: libbonoboui2_0, libgnomeui2_0, python-bonobo2, python-gnomecanvas2

libgnomeui2_0	(2.24.5-2)
	GUI part of the GNOME library
	Required by: python-gnome2

libgnomevfs2_0	(2.24.4-6)
	GNOME Virtual File System libraries
	Required by: libgnome2_0, libgnomeui2_0, python-gnomevfs2

libsoup-gnome2.4_1	(2.52.2-1)
	GNOME HTTP library
	Required by: librest0.7_0, midori

libspeexdsp1	(1.2-0.1.rc3)
	A patent-free, Open Source/Free Software DSP library (runtime)
	Required by: pulseaudio

php	(7.0.14-2)
	PHP Hypertext Preprocessor
	Required by: php-json

php-json	(7.0.14-2)
	PHP json extension
	Required by: php-jsonc

python	(2.7.12-1)
	Python language interpreter
	Required by: fontforge, git, libfontforge1, libglib2.0-devel, libgtk2.0-devel, libgtksourceview2.0_0, terminator, texlive-collection-binextra, texlive-collection-mathextra, texlive-collection-pictures, GConf2, python-configobj, python-dbus, python-gconf2, python-gnome2, python-gobject, python-gtk2.0, python-pynotify, python-vte, python-pygments, python-numpy, python-six, python-gi, python-bonobo2, python-gnomecanvas2, python-gnomevfs2, python-cairo, python-chardet, python-docutils, python-imaging, python-setuptools, python-sphinx, python-orbit, python-lxml, python-cffi, python-jinja2, python-simplejson, python-beautifulsoup, python-pycparser, python-markupsafe, python-ply

python-beautifulsoup	(3.2.1-1)
	Python HTML/XML parser
	Required by: python-lxml

python-bonobo2	(2.28.1-3)
	Python bindings for the GNOME Bonobo libraries
	Required by: python-gnome2

python-cairo	(1.10.0-3)
	Python bindings to libcairo
	Required by: python-gtk2.0, python-gi

python-cffi	(0.9.2-1)
	Python 2 Foreign Function Interface
	Required by: python-imaging

python-chardet	(2.2.1-1)
	Python character encoding detection library
	Required by: python-pygments, python-beautifulsoup

python-configobj	(5.0.6-1)
	Python module for handling config files
	Required by: terminator

python-dbus	(1.2.4-1)
	Python dbus bindings
	Required by: terminator

python-docutils	(0.12-1)
	Python reStructuredText processing module
	Required by: python-pygments, python-sphinx

python-fontforge	(20120731-4)
	Font creation, editing, and conversion library (Python bindings)
	Required by: fontforge

python-gconf2	(2.28.1-3)
	Python bindings for the GNOME GConf library
	Required by: terminator, python-gnome2

python-gi	(3.18.2-1)
	Python GObject Introspection bindings
	Required by: python-dbus

python-gi-common	(3.18.2-1)
	Python GObject Introspection bindings
	Required by: python-gi

python-gnome2	(2.28.1-3)
	Python bindings for the GNOME libraries
	Required by: terminator

python-gnomecanvas2	(2.28.1-3)
	Python bindings for the GNOME canvas library
	Required by: python-gnome2, python-bonobo2

python-gnomevfs2	(2.28.1-3)
	Python bindings for the GNOME VFS library
	Required by: python-gnome2

python-gobject	(2.28.6-5)
	Python GLib/GObject/GIO bindings
	Required by: terminator, python-dbus, python-gconf2, python-gnome2, python-gtk2.0, python-pynotify, python-vte, python-bonobo2, python-gnomecanvas2, python-gnomevfs2

python-gtk2.0	(2.24.0-3)
	Python bindings for GTK+2 and libglade
	Required by: terminator, python-gnome2, python-pynotify, python-vte, python-bonobo2, python-gnomecanvas2

python-imaging	(2.8.2-2)
	Python Imaging Library
	Required by: python-pygments, python-docutils, python-sphinx

python-jinja2	(2.7.3-1)
	Python template engine library
	Required by: python-sphinx

python-lxml	(3.4.4-1)
	Python XML2/XSLT bindings
	Required by: python-docutils, python-sphinx

python-markupsafe	(0.23-1)
	Python XML/HTML safe string module
	Required by: python-jinja2

python-numpy	(1.9.2-1)
	Python scientific computing module
	Required by: texlive-collection-pictures, python-gtk2.0

python-orbit	(2.24.0-12)
	Python bindings for ORBit-2
	Required by: python-bonobo2, python-gnomevfs2

python-ply	(3.6-1)
	Python 2 lex and yacc
	Required by: python-pycparser

python-pycparser	(2.12-1)
	Python 2 C language parser
	Required by: python-cffi

python-pygments	(2.0.2-1)
	Python syntax highlighting module
	Required by: texlive-collection-binextra, python-docutils, python-sphinx

python-pynotify	(0.1.1-5)
	Python libnotify bindings
	Required by: terminator

python-setuptools	(15.2-1)
	Python package management tool
	Required by: python-pygments, python-numpy, python-chardet, python-sphinx, python-jinja2

python-simplejson	(3.6.5-1)
	Python JSON decoder/encoder
	Required by: python-sphinx

python-six	(1.9.0-1)
	Python 2 and 3 compatibility library
	Required by: python-configobj

python-sphinx	(1.2.3-1)
	Python documentation generator
	Required by: python-pygments

python-vte	(0.28.2-6)
	GTK+ terminal emulator (Python bindings)
	Required by: terminator

python3	(3.4.5-1)
	Py3K language interpreter
	Required by: gettext-devel

ruby-json	(1.8.2-1)
	Ruby JSON module
	Required by: ruby-rdoc

ruby-minitest4	(4.7.5-1)
	Ruby testing framework, version 4.x
	Required by: rubygems

speexdsp	(1.2-0.1.rc3)
	A patent-free, Open Source/Free Software DSP library
	Required by: libspeexdsp1
```

# 結果
minttyを使ってCygwinのsetupを行っていたのでapt-cygで再インストールした。
また、Bash起動時にこんなエラーが出るようになってしまった。

```bash
-bash: _fzf_orig_completion_g++: bad substitution
```
変数名に++が入っているからだろうか。