WebComer
WebComer

Reputation: 1181

how to configure cygwin Local Package Directory

I have to change my cygwin Local Package Directory, which happen to be earlier as C:\Users\username\Downloads.

Folders like http%3a%2f%2fcygwin.mirror.constant.com%2f are all in place in my new directory for Local Package Directory.

How to do that? (I cannot find, where cygwin stores the config.)

Running setup from new location tries to install all over again instead from continue using earlier packages from the internet.

Upvotes: 7

Views: 4605

Answers (1)

matzeri
matzeri

Reputation: 8496

The information is on /etc/setup/setup.rc

$ head setup.rc
last-cache
        e:\downloads\cygwin_cache
last-mirror
        http://mirrors.kernel.org/sourceware/cygwin/
net-method
        Direct
last-action
        Download,Install
mirrors-lst
....

Please note that setup just propose the settings based on last run but you can always change typing new values.

Upvotes: 4

Related Questions