User Tools

Site Tools


software:cygwin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
software:cygwin [2022/02/14 14:56]
solar [Recommended Packages]
software:cygwin [2022/03/01 20:17]
solar
Line 7: Line 7:
 ===== Spaces in Path ===== ===== Spaces in Path =====
  
-Cygwin does not play well when installed in a path that contains spaces. In this context, be aware that not all Windows paths are equal; e.g. the German "C:\Programme" is actually an alias for "C:\Program Files" (which contains a space). Ideally, install to "C:\Cygwin" to avoid any problems.+Cygwin does not play well when installed in a path that contains spaces. In this context, be aware that not all Windows paths are equal; e.g. the German "C:\Programme" is actually an alias for "C:\Program Files" (which contains a space). Ideally (if you have the necessary permissions), install to "C:\Cygwin" to avoid any problems.
  
 ===== First Install ===== ===== First Install =====
  
-For the first installation, do not make any package selections. I have experienced problems with too heavily customized package selections in the past. Just go with the default package selection (but *doselect a mirror close to you as package source).+For the first installation, do not make any package selections. I have experienced problems with too heavily customized package selections for the initial installation in the past. Just go with the default package selection (but //do// select a mirror close to you as package source).
  
 This will not include any X11 functionality yet. We will fix that in a later step. This will not include any X11 functionality yet. We will fix that in a later step.
Line 19: Line 19:
 Once you are done with the installation, and **before** you start the Cygwin shell the first time, adjust your home path. Once you are done with the installation, and **before** you start the Cygwin shell the first time, adjust your home path.
  
-By default Cygwin will create your user's home directory in ''<InstallPath>/home/<UserName>''Usually it is much more convenient to work from your ''%USERPROFILE%'' directory -- you know, where //Windows// already created your directories for Documents, Pictures, Videos, Downloads etc.+By default Cygwin will create your user's home directory in ''<InstallPath>/home/<UserName>''But it is much more convenient to work from your ''%USERPROFILE%'' directory -- you know, where //Windows// already created your directories for Documents, Pictures, Videos, Downloads etc.
  
 To change the home location, navigate to ''<InstallPath>/etc/'' and open the file ''nsswitch.conf'' in your favorite text editor. Among other things, you will find this line: To change the home location, navigate to ''<InstallPath>/etc/'' and open the file ''nsswitch.conf'' in your favorite text editor. Among other things, you will find this line:
Line 67: Line 67:
 After installation, you will find in your start menu the group "Cygwin-X", and in it the shortcut "XWin Server". Copy this shortcut to ''%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup'' to have X11 start automatically for your user. Copy the shortcut to ''%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\StartUp'' to have X11 start automatically for **every** user on your machine. After installation, you will find in your start menu the group "Cygwin-X", and in it the shortcut "XWin Server". Copy this shortcut to ''%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup'' to have X11 start automatically for your user. Copy the shortcut to ''%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\StartUp'' to have X11 start automatically for **every** user on your machine.
  
 +If you want some special keyboard setup, call up the properties of the shortcut, and add the necessary options -- in my case, I added ''-xkbmodel pc105 -xkblayout us -xkbvariant altgr-intl''.
 ===== Recommended Packages ===== ===== Recommended Packages =====
  
 +  * alacarte
   * vim, gvim   * vim, gvim
   * ctags   * ctags
Line 77: Line 79:
   * cmake, make, ninja   * cmake, make, ninja
   * dos2unix   * dos2unix
 +  * unzip
   * rcs   * rcs
   * bash-completion, chere   * bash-completion, chere
software/cygwin.txt ยท Last modified: 2022/03/02 12:48 by solar