LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-09-2009, 04:14 PM   #1
CSandman
Member
 
Registered: Mar 2007
Distribution: Fedora/SUSE/Debian/Knoppix
Posts: 34

Rep: Reputation: 16
Post Any Tips for Creating a New Distro?


Hi All,

I'm thinking about configuring a derivative of Ubuntu to suit my needs. My plan was to start with the minibuntu image and configure it with things like fluxbox and a few of the programs that I always have installed.

To those of you that have tried (or do on a regular basis) things like this: Are there any tips or tricks that you could give that would make the process easier or more successful.

As well, what programs/tools/packages do you view as absolutely critical to your system?

My list is fairly small:
build-essential
python
gcc/g++
multimedia codecs
firefox/thunderbird
emacs
terminator
guake
pidgin


Thanks in advance for your advice!
 
Old 07-11-2009, 01:51 AM   #2
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Rep: Reputation: 16
I see you have an idea what your distribution will be based upon, but how will it be different than Ubuntu or any other distro is what you should be thinking about, that is unless you are just configuring an existing GNU/Linux configuration for your personal minimalistic needs.

To answer your question, the tools I would include depend if it's to be published or not. I wouldn't include closed source drivers, codecs, or web technologies in a F/OSS project.

Critical tools for a successful desktop distribution include:

build tools:
gcc, make, patch and the like. There is a meta-package for these in the apt repositories.

development:
At a bare minimum I would include python, perl, and *sh.
Also a command-line editor such as vim, emacs, or even nano. Maybe a GUI editor such as geany or bluefish, too.

graphics:
To view graphics quick, I use mirage. You can't go wrong with The GIMP and Inkscape for raster/vector editors, and perhaps imagemagick for command line tasks.

codecs:
gstreamer+plugins, vorbis-tools, musepack, flac, lame, and ffmpeg.

multimedia players:
mplayer for video, and mpd with mpc/ario for audio.

system tools:
a basic text editor (mousepad), calculator (galculator), lightweight terminal (sakura), file manager (pcmanfm or thunar), and openssh.

web browser:
Firefox is becoming less and less of a choice for a lightweight distribution. I would choose another browser such as midori for such a configuration. elinks for command line browsing.


The above GUI applications all use the GTK+ toolkit because I believe a pre-configured, lightweight distribution should have a unified look with a one-app-per-task approach. I did not mention KDE/Gnome/XFCE above because I believe there are some much lighter window managers that would fit the shoe better. I left a lot out purposely, and I probably forgot even more, but those are some examples of lightweight applications needed for a typical desktop configuration.
 
Old 07-11-2009, 02:54 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by CSandman View Post
Any Tips for Creating a New Distro?
  • don't; there are already enough
  • if you do, don't just make it another meaningless variation on ubuntu; there are already enough
  • decide whether this is just a 'vanity project' (just for you and a few mates - doing it 'because you can') or does it have something to offer the wider world, and, if so, what that is

I'm being slightly unfair here; there is probably a place for another distro, if it does something different (or just better) from what is already out there.

If, after that, you are still determined to do it, work out why you want to do it and what is different about your distro and its abjectives from everything else; I'm not sure that just giving people stuff that they could get by spending 5 minutes selecting and deselecting stuff in synaptic is worthwhile.
 
Old 07-11-2009, 09:36 AM   #4
CSandman
Member
 
Registered: Mar 2007
Distribution: Fedora/SUSE/Debian/Knoppix
Posts: 34

Original Poster
Rep: Reputation: 16
Thanks a ton axion0917, you made a few really good points about keeping the footprint small. And you brought up a few things I hadn't really thought about yet like keeping the gui apps all withing the realm of gtk.

As for why I want to do this... Because I want to learn more about what goes into creating a distro. I wanted to play around with "selecting and deselecting stuff in synaptic" at first but I'm thinking that I'd like to try something like the LFS. http://http://www.linuxfromscratch.org/

I have no illusions that my result will probably be not too different from many other Distro's but the main goal is for me to learn more of the underlying system. I'm not quite sure you would call this a 'vanity project' because other than using it as a neat live disk I'm not even sure that I'll use it much as an pure install.

Thanks again axion0917!

Last edited by CSandman; 07-11-2009 at 09:38 AM.
 
Old 07-11-2009, 09:42 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
A good suggesstion may also be tinycore-2.1/microcore-2.1(11mb/7mb)
infinitely hackable.

very easy to remaster, up to date repos, different run options etc

small, fltk, easy to explore.

here's mine at 60mb with flash10, opera, xfe, OSS too
the dragon screenshots are tinycore
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )

so, you could easily take that kernel, and build it to what you want
or whatever.
 
Old 07-12-2009, 01:19 AM   #6
axion0917
Member
 
Registered: Nov 2003
Distribution: Arch Linux / LFS
Posts: 49

Rep: Reputation: 16
CSandman, I have built countless distributions with LFS, and I must say it is the way to go if you want complete control. However, LFS is a learning tool more than anything else. Don't start an LFS build expecting to have a shiny new, custom distro afterwards. For one, it takes several hours, if not days, to complete an LFS build. Second, it is a wasted effort if you just copy/paste and don't read _everything_. Finally, it only guides you through completing a bare minimum, and then Beyond LFS takes over, which takes even longer to complete. With that said, using LFS you can create a brand-new derivitive-free distribution with some time and learning.

Also check out T2 (www.t2-project.org). T2 is a distribution build kit. With it, you select features from a menu, and it will download source code and compile everything from scratch automatically. It automatically creates a disc image to burn too. This has a huge advantage over LFS if you are limited on time but still want a lot of control.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenLDAP Quick Tips: Creating encrypted passwords LXer Syndicated Linux News 0 11-19-2008 01:40 PM
Need tips on creating scripts for daily backup (tar) a directory to an external drive Joejr4u Linux - Server 2 06-07-2007 07:46 AM
need a 'how-to' on creating my own distro American Psycho Linux - General 10 04-13-2004 08:09 AM
creating distro when done iluvatar Linux From Scratch 3 03-18-2004 01:35 PM
info on creating my own distro joesbox Linux - Distributions 2 09-02-2003 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration