While installing cygwin, make sure you install the python/python-setuptools from the list. This will install 'easyinstall' package. Once you have easyinstall, you can use it to install pip.
Active4 months ago
To install additional packages for Cygwin, do I just need to run the
setup.exe
again and choose from the packages list?Also, doing this won't harm my computer in terms of 2 Cygwin instances being installed or problems of that kind (I'm kind of a noobie with these things).
Last, there is no package manager in Cygwin which you can run in the command line? Something similar to Pip in Python.
Lii7,60844 gold badges4646 silver badges6464 bronze badges
osseosse69355 gold badges1414 silver badges2424 bronze badges
5 Answers
No, it doesn't hurt the current setup. The install program knows what's installed already.
Having said that, I long ago got into the habit of installing all of Cygwin since, despite its size, it's still minuscule compared to the size of modern hard disks. That way, you won't ever have to worry about whether a package is installed or not.
Lii7,60844 gold badges4646 silver badges6464 bronze badges
paxdiablopaxdiablo668k185185 gold badges13271327 silver badges17261726 bronze badges
No, adding additional packages doesn’t modify the current settings. There is apackage manager called apt-cyg which installes additional packages fromcommand-line. To install apt-cyg follow the below steps:
Note: wget should be installed for downloading the apt-cyg. To Use apt-cyg forinstalling additional package (after following the above steps):
Yvette Colomb20.6k1616 gold badges7272 silver badges115115 bronze badges
balajivijayanbalajivijayan
Re-run the setup executable like 'cygwin_setup-x86_64.exe' should do it.
- 'Install from Internet'
- Accept your existing root directory (from your existing installation)
- Use your existing 'Local Package Directory'
- On the screen, view 'Full'
- Search for the new package you want to add
- Go through the installation
david m leedavid m lee
Additional option, may be helpful for someone:
To install additional packages in windows from windows command line you can use your cygwin installer.
I suppose, you've already downloaded it to install cygwin from here https://cygwin.com/install.html.
I suppose, you've already downloaded it to install cygwin from here https://cygwin.com/install.html.
see this guide for details: http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/
Viacheslav ShalamovViacheslav Shalamov1,62822 gold badges1818 silver badges3434 bronze badges
There is no package management in Cygwin outside of the setup program. The setup only applies updates to your current installation, it does not overwrite packages than what you already have.
So if you want new packages just rerun the setup program to install packages.
Archit PandeyArchit Pandey
Not the answer you're looking for? Browse other questions tagged cygwin or ask your own question.
Grow your team on GitHub
GitHub is home to over 40 million developers working together. Join them to grow your own development teams, manage permissions, and collaborate on projects.
Sign upautoconf-archive
Cygwin autoconf-archive packaging00 0 0 UpdatedJul 28, 2019 python-sphinx-notfound-page
Cygwin python-sphinx-notfound-page packaging00 0 0 UpdatedJul 23, 2019 python-xmltodict
Cygwin python-xmltodict packaging00 0 0 UpdatedJul 23, 2019 python-ntlm-auth
Cygwin python-ntlm-auth packaging00 0 0 UpdatedJul 22, 2019 python-recommonmark
Cygwin python-recommonmark packaging00 0 0 UpdatedJul 21, 2019