Can I rename my C:\Cygwin64 directory to C:\Cygwin?

Jim Reisert AD1C jjreisert@alum.mit.edu
Thu Nov 17 16:58:42 GMT 2022


Now that Cygwin x86 is nearing/has reached end-of-life, I would like
to rename my C:\Cygwin64 directory to C:\Cygwin.

Other than updating my Windows environment variable (CYGROOT), are
there any "gotchas" in doing this?  I already have a D:\Home directory
specified in /etc/nsswitch.conf so I'm not expecting the move to break
that.

Where does setup.exe get its information from?  Is there a .ini file
that I will need to edit?

My main concern is that the Cygwin Perl installer may get confused.  I
currently have this in my Cygwin environment.  It doesn't appear that
such a change will be a problem:

  PERL5LIB=/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5

Is there anything else I'm missing?

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us


More information about the Cygwin mailing list