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 have developed my own tiny linux file system using buildroot and busybox. I used linux- kernel configured and cross-compiled for target system(X86) according to needs.Now the filesystem is built but it has only busybox shell and it doesn't support GUI.It does not have any package-manager too.Now I want to enable GUI on it. I checked /etc but there was not any x11 directory or x11.conf file.It does not support startx too.

How can I install x11(XFree86 or Xorg) on my system Explicitly.

I also want to install a package-manager for my system.

How can this be achieved?

share|improve this question
Maybe, you'll have to do it from the sources. – mdpc Apr 2 '13 at 20:02
You'll have to build X on your own. – Renan Apr 2 '13 at 20:04
You can suggest any links? – Arunesh Singh Apr 2 '13 at 20:06
You'll need a lot of time on your hands for this.... x.org/wiki – Stephan Apr 2 '13 at 20:28
Can be very very involved but here's XF86: xfree86.org – Dave C Apr 2 '13 at 20:52

You will have to build X on your own. Begin by reading this X.Org wiki entry.

This guide is for developers who wish to build the X Window System from source. If your area of interest is limited to a single package, like a driver or an application, check with your O/S first for development facilities.

As for a package manager, you will need to choose one, satisfy all needed dependencies and then package stuff for it (just because you chose dpkg/rpm/whatever, does not mean that deb/RPM/... packages will magically work with your distro). Pacman, from Arch Linux, looks easy enough to build.

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.