33 |
33 |
34 set TMP=c:\tmp |
34 set TMP=c:\tmp |
35 set TEMP=c:\tmp |
35 set TEMP=c:\tmp |
36 |
36 |
37 Also you need edit /etc/passwd to point to correct home path. |
37 Also you need edit /etc/passwd to point to correct home path. |
|
38 |
|
39 apt-cyg package manager |
|
40 ======================= |
|
41 |
|
42 ``apt-cyg`` is based on ``bash``, ``wget``, ``tar``, ``gawk`` and ``bzip2`` |
|
43 packages and provide convenient commands for managing and queries packages:: |
|
44 |
|
45 $ apt-cyg update |
|
46 $ apt-cyg install emacs-w32 |
|
47 $ apt-cyg remove emacs-w32 |
|
48 |
|
49 Information about package and dependencies:: |
|
50 |
|
51 $ apt-cyg show emacs-w32 |
|
52 $ apt-cyg depends wget |
|
53 $ apt-cyg rdepends emacs |
|
54 |
|
55 List installed packages:: |
|
56 |
|
57 $ apt-cyg list |
|
58 |
|
59 Search for package with file across installed packages:: |
|
60 |
|
61 $ apt-cyg search stdio.h |
|
62 |
|
63 Search for package with file through cygwin.com:: |
|
64 |
|
65 $ apt-cyg searchall stdio.h |
|
66 |
|
67 List all packages in ``setup.ini``:: |
|
68 |
|
69 $ apt-cyg listall |
|
70 |
|
71 Find package by regex:: |
|
72 |
|
73 $ apt-cyg listall ^emacs |
|
74 |
|
75 To search for package name or list packages:: |
|
76 |
|
77 To switch between mirrors:: |
|
78 |
|
79 $ apt-cyg mirror ftp://ftp.cygwinports.org/pub/cygwinports |
|
80 $ apt-cyg update |
|
81 $ apt-cyg install php |
|
82 |
|
83 $ apt-cyg mirror ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 |
|
84 |
|
85 To change a location of directory where packages and ``setup.ini`` downloaded:: |
|
86 |
|
87 $ apt-cyg cache |
|
88 C:\net |
|
89 |
|
90 $ apt-cyg cache ~/net |
|
91 Cache set to C:\home\net. |
|
92 |
|
93 https://github.com/transcode-open/apt-cyg/ |
38 |
94 |
39 Installation on Windows XP |
95 Installation on Windows XP |
40 ========================== |
96 ========================== |
41 |
97 |
42 Cygwin from v2.5.5 and Setup version 2.874 (on 25 Aug 2016) is latest version |
98 Cygwin from v2.5.5 and Setup version 2.874 (on 25 Aug 2016) is latest version |