5 ms·
Apt-cyg, A command-line software installer for Cygwin
- blasdel 17y agoYears ago I used to beg for something like this to exist -- I couldn't understand why Cygwin's setup.exe was so obtuse. But my boss at my current job showed me a trick that makes it all better: run setup.exe, click the root checkbox, wait a few minutes for the GUI to start responding again, and install everything. It's only a few thousand crummy packages, none of which conflict with one another, only totaling up to a few gigs. It takes all the hassle out of the process, you never get frustrated that you're missing some package's goddamn headers -- If you don't have it, it wasn't there, so you can go straight to upstream without worrying you're doing it wrong.
- jamesbritt 17y agoI think I've tried that and run into trouble; possibly it would stall or get confused or something, and I have nothing installed. Instead, I first install the key stuff (wget, bash, whatever), making sure it is saved to disk, and then go back and gradually add pretty much everything.
- rbanffy 17y agoIt's a waste of space to have everything installed. Besides that, you risk conflicts with versions of stuff you compile yourself from source. Package management is a great idea. It's a shame so few OSs have anything like it.
- malkia 17y agoUsually that stuff goes into /usr/local (d:/cygwin/usr/local, or on my machine just c:/usr/local - I'm mapping cygwin to c:\ against their recommendations for mapping in root folder - but it works fine).
- rbanffy 17y agoAs fine as a Windows box can pretend to be Unix-like ;-) I share your pain. My company makes me use Windows. Cygwin made it bearable.
- malkia 17y agoI wish it was even better integrated. For example all fake "short-links", gcc.exe being "<cygwin>gcc-SomeVer.exe" for example really drive me nuts. I know hard-links is not the solution, but someday I'm thinking of writing an app, that runs after Cygwin setup.exe and makes all these weird short links to NTFS hard links. It drives me nuts, cause I can't use a lot of these apps from CMD.EXE, FAR.EXE, etc. I guess I'll end up with "gcc" "gcc.exe" "gcc-SomeVer.exe" all pointing to the same NTFS file.
- rbanffy 17y agoI can swear some ancient version of Cygwin did employ NTFS links. I am not sure when that changed - I haven't used Windows for a good couple years since the time I think I saw that.
- jey 17y agoStuff compiled from source should not be installed to the same prefix as stuff provided by the OS and/or package manager. For programs that use the de-facto standard GNU Autocrap build system you can specify this by passing "--prefix=/usr/local" to the "./configure" script. It's also good to not install everything system-wide, and instead have a $HOME/bins prefix, with $HOME/bins/bin added to PATH. (And $HOME/bins/lib to LD_LIBRARY_PATH, and that pkg-config thing if it matters, etc)
- rbanffy 17y agoAgreed. I had some problems long ago that may have burned me a little. It was pointed out that should be no problem most of the time. But why did you call it "GNU Autocrap build system"?
- blasdel 17y agoFreeBSD takes this a radical step further -- its package system only ever installs things to /usr/local. Your own random shit needs a third prefix. It won't even make a /bin/bash -- unless you fuck shit up, everything outside of /usr/local /home and /root came directly from the FreeBSD project, period. You can checkout the source to your system's entire userland from one repository, and build it with one make. I wish there was a nice Linux distro that held itself to this. Gentoo makes a nice distinction in portage between the necessary system packages that come built in the tarball and the world packages that you installed and care about, but it mixes them together in the filesystem.
- jrockway 17y agoIt's a waste of space to have everything installed. There is no such thing. A 1.5TB disk is around $100.
- bhousel 17y agoAs a VMware user, I prefer to keep my Windows VMs as small as possible. Makes them easier to back up as well.
- mark_l_watson 17y agoNice: I just installed and played with this for 5 minutes. Assuming no significant bugs or problems, this is a welcome tool for when I have to use Windows. (I can't even imagine using Windows without cygwin and a bash shell.)