Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will be instaled by a script in virtual machine (qemu KVM). A easy way to get prepare my linux would by as much appreciate as linux itself. Distro should be as small as possible. Any ideas?

share|improve this question

I would use whatever distro you are most familiar with administering (preferably what is on the host system to make tooling easy). You don't need a completely separate distro to do this, all you need is a package set and install script to install your current / preferred distro to a target file system (in a loopback file to create a drive image). This will get you exactly the set of tools you need and no more with little fuss and a lower learning curve than automating the install of some other distro.

If you state the distro of choice and ask a specific question I'm sure somebody here can be helpful with the details.

share|improve this answer
I was going to suggest this. Keeping with a familiar distro is easier as you're already familiar with the environment. Strip it down to your liking, replacing window managers (in your case, removing them) and installing exactly what you want. – n0pe Aug 22 '11 at 22:54

Have a look at ArchivistaVM, it is only about 100 MByte (with Xorg + Firefox), or 72 MByte without GUI:


Zip-File without GUI (same password) https://www.archivista.ch/avtest5.zip

It works completely in RAM, startup time is about 15 or 20 seconds, there is a cluster mode (drdb), but at this time, the documentation is not yet fully available in English.

share|improve this answer

Fedora with the AOS kickstart. g++ and javac/gcj can be installed via yum after, or you can modify the kickstart file to include them in the install.

share|improve this answer

Distros like Archlinux, Gentoo or Slackware would get you where you want, but you'll probably need to get your hands dirty a bit.

share|improve this answer

Your Answer


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.