author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 09 Oct 2017 10:49:36 +0300 | |
changeset 2188 | e95731eef030 |
parent 2170 | b3827a5ac4c3 |
child 2196 | 4709306e4ec8 |
permissions | -rw-r--r-- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1032
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
========= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
Cygwin. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
========= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1774
diff
changeset
|
7 |
:local: |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
Installation. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
============= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
Run setup.exe. Use output dir like:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
d:\opt\cygwin |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH% |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
19 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
REM on your windows machine are not updated as a side effect of cygwin |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
REM operations. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
set CYGWIN=binary nontsec nodosfilewarning codepage:cp1251 noglob |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
set LANG=ru_RU.cp1251 |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
Set HOME env var (where places config file and projects):: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
set HOME=d:\home |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
Set TMP and TEMP env vars with good path (without spaces, etc.; these vars |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
already set as used defined, so you need change their values):: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
set TMP=c:\tmp |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
set TEMP=c:\tmp |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
|
2143
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
37 |
Also you need edit ``/etc/passwd`` to point to correct home path. |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
38 |
|
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
39 |
Starting from Cygwin ``/etc/nsswitch.conf`` settings used to define user home. |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
40 |
By default it is ``/home/%U`` so it is better to create symlink:: |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
41 |
|
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
42 |
$ ln -s /cygdrive/d/home /home/user |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
43 |
|
2164
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
44 |
Alternatively with native Windows symlink (from build-in ``cmd`` command):: |
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
45 |
|
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
46 |
cmd# mklink /D c:\opt\cygwin\home\user c:\home |
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
47 |
|
2170
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
48 |
List of installed packages (``-c`` - check, ``-d`` - dump only):: |
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
49 |
|
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
50 |
$ cygcheck -c -d |
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
51 |
|
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
52 |
Alternatively look to file content:: |
2169
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
53 |
|
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
54 |
/etc/setup/installed.db |
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
55 |
|
2143
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
56 |
https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
57 |
How can I change my Cygwin home folder after installation? |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
|
2107
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
59 |
Documentation |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
60 |
============= |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
61 |
|
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
62 |
Cygwin C API man pages and user guide manuals available in ``cygwin-doc`` |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
63 |
package. |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
64 |
|
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
65 |
Documentation unpacked to ``/usr/share/doc/cygwin-...`` directory. |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
66 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
67 |
apt-cyg package manager |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
68 |
======================= |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
69 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
70 |
``apt-cyg`` is based on ``bash``, ``wget``, ``tar``, ``gawk`` and ``bzip2`` |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
71 |
packages and provide convenient commands for managing and queries packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
72 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
73 |
$ apt-cyg update |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
74 |
$ apt-cyg install emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
75 |
$ apt-cyg remove emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
76 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
77 |
Information about package and dependencies:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
78 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
79 |
$ apt-cyg show emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
80 |
$ apt-cyg depends wget |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
81 |
$ apt-cyg rdepends emacs |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
82 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
83 |
List installed packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
84 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
85 |
$ apt-cyg list |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
86 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
87 |
Search for package with file across installed packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
88 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
89 |
$ apt-cyg search stdio.h |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
90 |
|
2079
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
91 |
List package files for installed packages:: |
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
92 |
|
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
93 |
$ apt-cyg listfiles util-linux |
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
94 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
95 |
Search for package with file through cygwin.com:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
96 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
97 |
$ apt-cyg searchall stdio.h |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
98 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
99 |
List all packages in ``setup.ini``:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
100 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
101 |
$ apt-cyg listall |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
102 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
103 |
Find package by regex:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
104 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
105 |
$ apt-cyg listall ^emacs |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
106 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
107 |
To switch between mirrors:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
108 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
109 |
$ apt-cyg mirror ftp://ftp.cygwinports.org/pub/cygwinports |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
110 |
$ apt-cyg update |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
111 |
$ apt-cyg install php |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
112 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
113 |
$ apt-cyg mirror ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
114 |
|
2090
1a788101d63c
http://mirrors.kernel.org/sources.redhat.com/cygwin/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2079
diff
changeset
|
115 |
$ apt-cyg mirror http://mirrors.kernel.org/sources.redhat.com/cygwin/ |
1a788101d63c
http://mirrors.kernel.org/sources.redhat.com/cygwin/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2079
diff
changeset
|
116 |
|
2091
059f9e54d538
Altering between mirrors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2090
diff
changeset
|
117 |
Just switching mirror does not update metadata. |
059f9e54d538
Altering between mirrors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2090
diff
changeset
|
118 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
119 |
To change a location of directory where packages and ``setup.ini`` downloaded:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
120 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
121 |
$ apt-cyg cache |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
122 |
C:\net |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
123 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
124 |
$ apt-cyg cache ~/net |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
125 |
Cache set to C:\home\net. |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
126 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
127 |
https://github.com/transcode-open/apt-cyg/ |
2062
c57e9efdaae0
https://github.com/transcode-open/apt-cyg/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2061
diff
changeset
|
128 |
Home page. |
2092
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
129 |
https://github.com/transcode-open/apt-cyg/issues/19 |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
130 |
Request to support multiply sources. |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
131 |
http://stackoverflow.com/questions/22411162/how-to-add-a-repository-using-apt-cyg/ |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
132 |
How to add a repository using apt-cyg. |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
133 |
https://odoepner.wordpress.com/2012/12/06/install-cygwin-and-cygwinports-packages-using-apt-cyg/ |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
134 |
Depricated way to install from several sources with ``-m`` option using shell |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
135 |
aliases as a trick. |
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
136 |
|
2165
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
137 |
Cygwin file permission |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
138 |
====================== |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
139 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
140 |
Get list of permissions:: |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
141 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
142 |
$ getfacl . |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
143 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
144 |
rsync without problems:: |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
145 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
146 |
$ rsync -ar —chmod=ugo=rwX $FROM/ $TO/ |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
147 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
148 |
https://cygwin.com/cygwin-ug-net/using-filemodes.html |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
149 |
File permissions. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
150 |
https://cygwin.com/cygwin-ug-net/ntsec.html |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
151 |
POSIX accounts, permission, and security. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
152 |
https://stackoverflow.com/questions/5828037/cygwin-sets-file-permission-to-000 |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
153 |
Cygwin sets file permission to 000. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
154 |
|
2059
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
155 |
Installation on Windows XP |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
156 |
========================== |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
157 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
158 |
Cygwin from v2.5.5 and Setup version 2.874 (on 25 Aug 2016) is latest version |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
159 |
with Windows XP support. Later versions build with dependencies on newer |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
160 |
syscalls and failt to run in Windows XP. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
161 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
162 |
Latest mirrors avaialble at fruitbat.org: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
163 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
164 |
* 32-bit: ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
165 |
* 64-bit: ftp://www.fruitbat.org/pub/cygwin/circa/64bit/2016/08/30/104235 |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
166 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
167 |
To run setup against this mirror:: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
168 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
169 |
cmd> setup.exe |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
170 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
171 |
``setup.exe`` available at: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
172 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
173 |
* 32-bit ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86-2.874.exe |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
174 |
* 64-bit ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86_64-2.874.exe |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
175 |
|
2060
66ccf8bdcbc0
Option description for setup-x86.exe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2059
diff
changeset
|
176 |
Run as (``-X`` disable signature verification, ``-s <url>`` option select a |
66ccf8bdcbc0
Option description for setup-x86.exe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2059
diff
changeset
|
177 |
particular mirror, ``-O`` option disallow any other mirrors):: |
2059
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
178 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
179 |
cmd> setup-x86.exe -X -s ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 -O |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
180 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
181 |
http://www.fruitbat.org/Cygwin/timemachine.html |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
182 |
Description of Cygwin time machine project. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
183 |
http://stackoverflow.com/questions/39479826/cygwin-2-5-2-mirror-getting-the-last-xp-release |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
184 |
Question about Cygwin old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
185 |
http://superuser.com/questions/1132000/is-it-still-possible-to-get-cygwin-for-xp |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
186 |
Question about Cygwin old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
187 |
http://cygwin-xp.portfolis.net/ |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
188 |
Another old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
189 |
|
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
190 |
Cygwin ports. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
191 |
============= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
192 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
193 |
This project provides Cygwin binary and source packages for a large variety of programs and |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
194 |
libraries, including the GNOME and KDE desktop environments |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
195 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
196 |
http://cygwin-ports.sourceforge.net/ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
197 |
newest home of the Cygwin Ports project |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
198 |
http://sourceware.org/cygwinports/ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
199 |
home page |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
200 |
http://cygwinports.blogspot.com |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
201 |
official blog?? |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
202 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
203 |
Which Cygwin version you run? |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
204 |
============================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
205 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
206 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
207 |
$ uname -r |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
208 |
1.7.7(0.230/5/3) |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
209 |
$ cygcheck -c cygwin |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
210 |
Cygwin Package Information |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
211 |
Package Version Status |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
212 |
cygwin 1.7.7-1 OK |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
213 |
|
2105 | 214 |
Rebase dll |
215 |
========== |
|
216 |
||
217 |
In order to Cygwin to maintain ``fork()`` syscall it should preserve same |
|
218 |
logical base address for dll to be able to share library between child and |
|
219 |
parent process. It was done via special hints in dlls. |
|
220 |
||
221 |
With new version of Cygwin software or external Windows libraries (AntiVirus may |
|
222 |
inject its their libraries into Cygwin process address space) it may happen that |
|
223 |
new library is overlapped with existing. |
|
224 |
||
225 |
There is ``rebase`` utility that changes base address hints for dll. |
|
226 |
||
227 |
You should finish all Cygwin processes in order to ``rebase`` to succeed. |
|
228 |
||
229 |
You may trigger automatic rebase of all packages in next run of ``setup.exe`` |
|
230 |
with:: |
|
231 |
||
232 |
$ rebase-trigger full |
|
233 |
||
234 |
Read more at: |
|
235 |
||
236 |
* ``/usr/share/doc/rebase/README`` |
|
237 |
* ``/usr/share/doc/Cygwin/_autorebase.README`` |
|
238 |
||
239 |
https://chromium.googlesource.com/chromium/src/+/master/docs/cygwin_dll_remapping_failure.md |
|
240 |
Handling repeated failures of rebaseall to allow cygwin remaps. |
|
241 |
||
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
242 |
Recreate /etc/passwd and /etc/groups. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
243 |
===================================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
244 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
245 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
246 |
$ mkpasswd -d | grep $yourlogin > /etc/passwd # if you in Windows domain |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
247 |
$ mkpasswd -l > /etc/passwd # if you in Windows domain |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
248 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
249 |
$ mkgroup -l > /etc/group |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
250 |
|
1774
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
251 |
Adding mount points. |
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
252 |
==================== |
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
253 |
|
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
254 |
``/etc/fstab``:: |
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
255 |
|
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
256 |
C:/foo /bar/baz ntfs text,posix=0 0 0 |
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
257 |
/var /usr/var none bind |
16876330496f
Adding mount points.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
258 |
|
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
259 |
Running X Window. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
260 |
================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
261 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
262 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
263 |
$ XWin -multiwindow& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
264 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
265 |
or:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
266 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
267 |
$ XWin -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
268 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
269 |
To start X application you must set 'DISPLAY':: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
270 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
271 |
$ DISPLAY=:0 xterm& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
272 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
273 |
Working with packages. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
274 |
====================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
275 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
276 |
Installed package list with versions. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
277 |
------------------------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
278 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
279 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
280 |
$ cygcheck -c -d |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
281 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
282 |
List of package files. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
283 |
---------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
284 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
285 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
286 |
$ cygcheck -l pkg-name |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
287 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
288 |
Search package by containing file (only under installed packages). |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
289 |
------------------------------------------------------------------ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
290 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
291 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
292 |
$ cygcheck -f full-path-to-file |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
293 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
294 |
Search packages by containing path (only under installed packages). |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
295 |
------------------------------------------------------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
296 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
297 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
298 |
$ for f in /etc/setup/*.lst.gz; do gzip -c -d $f | grep $WORD 2>&1 >/dev/null && { echo $f; break; } || :; done |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
299 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
300 |
Search for package. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
301 |
------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
302 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
303 |
If you have file name or regex use (need internet connection):: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
304 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
305 |
$ cygcheck -p REGEX |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
306 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
307 |
cygcheck use such link: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
308 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
309 |
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
310 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
311 |
Cygwin installation info. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
312 |
========================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
313 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
314 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
315 |
$ uname -a |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
316 |
$ cygcheck -s -r |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
317 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
318 |
Cygwin acronyms. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
319 |
================ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
320 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
321 |
http://www.cygwin.com/acronyms |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
322 |
One encounters all sorts of acronyms on the Cygwin mailing lists. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
323 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
324 |
Check dll dependency. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
325 |
===================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
326 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
327 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
328 |
$ ldd my.dll |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
329 |
$ ldd my.exe |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
330 |
$ cygcheck ./my.dll |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
331 |
$ cygcheck ./my.exe |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
332 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
333 |
Cygwin alternatives. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
334 |
==================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
335 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
336 |
http://www.suacommunity.com/SUA.aspx |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
337 |
Subsystem for Unix-based Applications and Services for Unix |