apt-cyg
apt-cyg copied to clipboard
Question: apt-cyg install (previous version)
Just a question.
When i do apt-cyg find openssh I only get the option to install the current version of 8.0 but i would really like to install 7.9
Is it possible to install a previous version of some app like in the setup.exe does?
I cannot seem to figure out how to do this or if it is possible.
Sorry, currently the feature of selecting a version is not implemented. Please wait for a while. I'll try to implement it when I have time to spare.
For you, who are waiting it, I suggest another way to install a previous version easily. Try following command:
apt-cyg setup -- -B -M -P openssh
setup-x86{_64,}.exe will be stopped at the dialog of Cygwin Setup - Select Packages.
This makes easy for you to choose a version which you want to install.
If you already installed oppenssh and you want to replace it, try this one:
apt-cyg setup -- -q -B -M -x openssh -P openssh

Thank you for the reply. It was very helpful and informative.
It works for what i need it to do now i understand how the command is formatted.
I'll just add this for anyone else reading.
In this command apt-cyg setup -- -B -M -P openssh
-B -M -P are switches passed to the setup.exe from here https://www.cygwin.com/faq/faq.html#faq.setup.cli
Yes. Also you can read it with following command:
apt-cyg setup -- --help