views:

237

answers:

7

Is there any lightweight *nix OS dedicated for programming purposes?

Actually, I have a full installation of Mandriva in my computer; but sometimes in Windows I must use Virtualbox to run some *nix OS.

Because I only need the OS for only programming in this case, so I just want to ask you about it. Of course, I searched about this on the net; but I also want to have your opinions...

Basically I need C/C++, Java, Python environment.

A: 

What about something like Puppy or DSL?

They aren't dedicated to programming, but they are small and lightweight.

mabwi
Well, I didn't like Puppy, but will give a try DSL:)
israkir
+2  A: 

I have a Debian install with X, windowmaker, firefox, vim, gcc, make and dependencies. Also, source control tools. Not much more, other than stuff that's useful in shell scripts. About 1.4G used on disk. Boots quickly. Very little BS involved.

I used to use OpenBSD on my old laptop. Similar to the above, but even more minimalist. You upgrade the OS with tar and patch. :-) Very nice, very small. Only reason I switched away from it is because I got a new machine which needed ndiswrapper for wifi...

PS: seems like this should be a community wiki...

asveikau
Don't get me wrong; Debian is easily my favourite distro. BUT...1.4G is HUGE for a basic coding environment. I used to run X on yggdrassil or slackware in about 12MB of memory (4MB of swap over what I actually had in physical RAM), and I think about 30MB of disk space. From the Walnut Creek CDROM advert: "Linux uses as little as 2 MB of hard disk space or as much as 680 MB." -- http://www.vectorbd.com/bfd/bbsinfo/walnut.inf
Lee B
I generally agree. For the latest OpenBSD release, I got the base system on the ftp with "mget bsd* *.tgz" and the result was 232 MB. But Debian can be at least less bloated than something that ships with GNOME or KDE by default.
asveikau
Sure, it's pretty big - but then again, 1.4G is likely to be smaller than your swapfile on Windows, so it's also pretty small when you look at in the context of current disk sizes.
caf
+1  A: 

I recommend xubuntu. I keep a full programming environment on a 4GB thumb drive with me at all times... just in case. :-)

jcrossley3
+2  A: 

Actually, a machine that you do development on shouldn't be lightweight. It should be heavy. full of compilers, interpreters, profilers, debuggers, IDEs, editors, benchmarks, checked-out code from repos, development versions of system libraries, test suites, generated large test files, backup tools, virtual machines, chroots, music to set-up comfort environment, mail, office suite to do the paperwork.

I mean, install Putty and connect to your machine (a), or do all development on virtual machine (b), that is kept on external hard drive (that's what I did, when I needed this), so you can use it everywhere where VirtualBox can run.

As for linuxes, I personally would like to use Gentoo Linux, as it can be customized to be lightweight. But unless you're really experienced with all linux administration stuff, customization may take a lot of time. So as a (c) variant, I'd advise to use any distribution (like your Mandriva), because normally base system takes about 10% of "weight" that you need for development on top of that.

And, by the way, boot speed is irrelevant on VirtualBox, since you can save virtual machine state entirely on hard drive and restore it within seconds.

Pavel Shved
+5  A: 

The only Linux distro you should use is Arch Linux. Please read why it is so great for developers :)

I'm an Arch Linux user, so my opinion may be biased.

Andrey Vlasovskikh
I'm also an Arch fan - build your system with what you want/need and nothing more!
timepilot
A: 

I'd use something like GRML.

Teddy
A: 

Don't forget about Cygwin, which gives you a Unix-like environment right within your Windows box.

Hai Vu