Can I rename my C:\Cygwin64 directory to C:\Cygwin?
Andrey Repin
anrdaemon@yandex.ru
Thu Nov 17 18:24:05 GMT 2022
Greetings, Jim Reisert AD1C!
> 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.
Please look for my earlier message[1](thread) regarding installation path
changes for provided PowerShell script.
> Where does setup.exe get its information from? Is there a .ini file
> that I will need to edit?
Whoever it gets the information, you could easily change it the first time you
update the installation at the new place.
Consider it a non-issue.
The rest of the information is taken from `$InstallPath/etc/setup`
> 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?
Depends on your setup, existing symlink targets may be a problem.
[1] https://cygwin.com/pipermail/cygwin/2022-August/thread.html#252113
--
With best regards,
Andrey Repin
Thursday, November 17, 2022 21:18:24
Sorry for my terrible english...
More information about the Cygwin
mailing list