Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

how to install the additional packages like gcc, gcc-objc, gcc-g++, make, patch, xorg-x11-base, xorg-x11-devel. The basic package is installed.

share|improve this question
    
What have you tried? What is the problem exactly? –  Drew Khoury Sep 7 '13 at 7:33
    
I have a pdf that says install the basic package by normal installation then install additional packages like gcc and others. Now i check with the command cygcheck --check-setup --dump-only as i read it somewhere. I didn't find gcc and others in that list. –  Edward Sep 7 '13 at 8:23
add comment

3 Answers

up vote 0 down vote accepted

The only thing i use setup.exe anymore for is updates and sometimes browsing for packages. Thankfully! Because "apt-cyg" is a god send! This guy over at github seems to stay on top of it, since the google code page died a long time ago. There are a few forks but this one just works great! https://github.com/kou1okada/apt-cyg

Just use it like you would apt-get. Personally i have it switch between cygwinports mirror and standard cygwin repos. Its works splendidly well.

apt-cyg find gcc
apt-cyg install gcc
apt-cyg install make automake

It solves dependencies, is very fast and works with x86 amd x64. You can switch the mirror it uses with -m options, and then isntantly search for stuff on cygwinports. Moreover it even removes things very well with apt-get remove "package name". It describes packages you have installed and those available via your specified mirrors. If you use cygwin it really is a must.

share|improve this answer
add comment

Download installer from the site and start it, choose mirror and then packages you want - setup won't break anything, it will install packages you want and update required ones as specified in GUI.

share|improve this answer
    
K. Im new to the software. and i don't know what is specified in GUI. But I have a pdf that says install the basic package by normal installation then install additional packages like gcc and others. Now i check with the command cygcheck --check-setup --dump-only as i read it somewhere. I didn't find gcc and others in that list. –  Edward Sep 7 '13 at 8:20
    
just run setup.exe and follow the screens, when it will ask for packages - select gcc, gcc-objc, gcc-g++, make, patch, xorg-x11-base and xorg-x11-devel to be installed, that's all, the rest (basic) part will be installed automatically. –  GioMac Sep 7 '13 at 8:39
    
Thanks GioMac.. Problem solved –  Edward Sep 7 '13 at 9:51
    
you're welcome... –  GioMac Sep 7 '13 at 9:51
    
@Edward Welcome to Server Fault. If your problem is solved, remember to mark it as solved by clicking the check mark next to the answer that helped you most. –  Michael Hampton Sep 7 '13 at 16:57
add comment

Additionally, Cygwin setup.exe installer can be used non-interactively or from command line if you wish:

# installing custom packages
setup.exe -q -n -N -d -R c:\cygwin -s http://cygwin_mirror_you_use -l c:\packages mintty,wget,ctags,diffutils

where -R is Cygwin root installation directory, -s Cygwin mirror where to download new packages and -l where the packages are stored locally. For other options, please check Cygwin FAQ.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.