Jguy101
Nov 16 2005, 05:15 AM
| | I''ve been wondering lately, what language is Linux written in?
I'm interested in this, because my friend and I are considering writing our own distro. I know, it sounds like a bit of a feat, but one guy wrote MEPIS by playing with the Debian source code. I think the two of us could do something similar. |
Reply
the empty calorie
Nov 16 2005, 05:38 AM
Linux I am not sure about, but I do know that UNIX is entirely written in C, and I'm willing to make a safe bet that Linux itself is also written in C. Writing a distro seems to be more about packages included and the package management used than actually altering the source code. If I was going to creat a distro, I'd basically end up creating another Slackware.
Reply
qwijibow
Nov 16 2005, 03:01 PM
You do not need to program to make a new distro. however, for the sake of answering your question..... Linux itself is written in C and Assembly. GNU is written mostly in C. Libraries are written in C and C++ (QT is written in C++, GTK i believe is C) Boot scripts are USUALLY written in Bash Script, but there is no reason you couldnt use some other scripting language To create a differant distro, here's what you need to do.... 1) Decide on a package management system. You can use a currently existing system such as RPM, Debian PKG, Gentoo's Portage, or Slackware's TGZ. Alternativly, you could choose to have no package management system, and the user will needto compile everything from source (similar to Linux From Scratch) OR Ideally, Program your own package management system (the language of your choice) 2) The Kernel.... Most distro's patch the vanilla linux kernel. For example, Gentoo has many krnels available, some patched to be optimised towards desktop use, some optimised for server use. You need to decide on what makes your distro differant / beter than other distro's and patch the kernel accordingly. For example, you may decide that disk IO is more important that disk reliability on your distro, so you may want to patch your kernel with the experimental file system Reiser4. Alternativly, you could use the kernel from anouther distro, for example the Gentoo kernel for performance, or the Redhat kernel for a more server oriented kernel. Alternativly, you could just use the un-patched vanilla linux kernel from kernel.org 3) Boot scripts. Many disto's use differant methods for selecting what scripts are executed dureing boot up. Slackware just executes every script that has executable permissions. Redhat / Fedora executes every script that has a symbolic link in the runlevel folder. Gentoo uses a tool called rc-update, Either use a currently existing method, or create your own method. 4) Create an Install CD. This doesnt have to be complicated. a simple install CD could be a simpl bootable CD, that just coppies a default install folder to the root of the hard disk, and installs GRUB to the MBR. Their are2 reasons i can think of for creating a distro... 1) for fun and learning 2) because there are no distro's that work exactly the way you like. For help getting started, you may want to look at Linux From Scratch. http://www.linuxfromscratch.org/this is a book with step by step instructions on how to start with a completely empty hard disk, and download and compile a full linux distro. the end result is a completely customised, lightning fast minimal distro. then books like Beyond Linux From Scratch will help you turn this into a full OS with all the features of any top quality distro. Many people create there own distro's using LFS as a base to work from. Enjoy.
Reply
vizskywalker
Nov 16 2005, 07:25 PM
Like all OSes, Linux is written in any programming language someone who adds to it rights in. Since OS kernels are compiled, the used language doesn't matter. However, most OSes are written in Assembly and C++. ~Viz
Reply
Jguy101
Nov 17 2005, 01:24 AM
Ooh, that Linux From Scratch site looks like it'd help a lot...thanks, Qwijibow!
Reply
hatim
Nov 17 2005, 09:24 AM
Well i would recomend that instead of making your own distribution , you should focus on maintainng an already established distribution. Alot of distributions require maintainers as people leave as they dont have time to contribute . Like Danial Robbins , founder of Gentoo....he had a family to take care of..but he did take a job at Microsoft :S Good Distros to contribute are Ubuntu , Fedora and Gentoo as they have a very strong community based program.
Reply
xboxrulz
Nov 17 2005, 10:05 PM
Hatim is right, there are a surplus of Linux distributions out there already. Too much is NOT a good idea. Try maintaining Ubuntu, OpenSuSE. xboxrulz
Reply
PureHeart
Nov 18 2005, 01:50 AM
And for the ones that' not a developer. Contributing by testing the new software and report the bugs. If you're very familiar with a distro, you may also help others on the forum, guide them to the Open Source World.
Reply
qwijibow
Nov 18 2005, 09:45 AM
Its amasing, but this thing seems to happen all the time in the Linux forum. A question is asked, but instead of beeing answered, they get an alien surgestion. "Q: How do i create a new distro ?" "A: Use Ubuntu" "Q: Does Linux support brand X wireless network" "A: I dont Know, use Ubuntu" "Q: Whats the capital of Scotland?" "A: Ubuntu" Lol. If only this site had a humour section. Seriously though..... Go for Linux From Scratch, or google for "Meta Distribution" a Meta Distribution is a bit like a distro used for creating s custom distro ( gentoo  yipee )
Reply
xboxrulz
Nov 19 2005, 05:42 AM
lol, everyone (well, mainly newbs) would just tell u to use Ubuntu. I can tell them to use any existing ones and tell them to help further develop it. xboxrulz
Reply
iGuest
Aug 20 2008, 05:54 PM
how to change linux time with putty?
What Language Is Linux Written In ?
Any one know how to change Linux server Time with putty ? Any help about it will be appreciated ! Thanks in advance ! Zia
Reply
abhiram
Nov 20 2005, 02:13 PM
Well... I gotta try everything I can right now, because I've only got one sem left before I graduate and once I leave, I doubt I'll have free internet  . Besides, I don't think I'll have the freedom and time later on. I'll give LFS a shot .... let's see what it has to offer  .
Reply
qwijibow
Nov 20 2005, 03:08 AM
QUOTE How long will it take to install LFS
Linux from scratch leaves you with a bootable linux OS and a full set of development tools. bascially, all your basic bash commands, and a compiler. This took me 2 solid days on a 1.2Ghz Athlon Thunderbird. he whole of the linux from scratch is equivelent to a gentoo @emerge system@ (forgive me, im on a windows machine, and the keyborad is set to american... no speach marks) Its a good learning experiance, but it gets repetative. you spend half the time readinf explanations of why you need to do each step, and typing... CODE wget files and patches tar -zxf blah gzcat patch.diff.gz | patch -P0 ./configre --prefix=/usr <and other random options > make make install
the *FUN* doesnt start untill you more onto the other books, like BeyondLinuxFrom scratch, which helps you build things like Xorg.
Reply
tadex
Nov 19 2005, 11:07 PM
QUOTE(Jguy101 @ Nov 16 2005, 06:15 AM) I''ve been wondering lately, what language is Linux written in?
I'm interested in this, because my friend and I are considering writing our own distro. I know, it sounds like a bit of a feat, but one guy wrote MEPIS by playing with the Debian source code. I think the two of us could do something similar. I think in C
Reply
xboxrulz
Nov 19 2005, 07:13 PM
not surprising. I don't like Ubuntu because it's annoying. It's debian configurator keeps overriding my manual configurations, which I need for running some games on my computer. Also, since it's Ubuntu, regular users can't open up extra X windows,(xinit /usr/local/games/[gamename]/[game] -- : 1) which makes me wonder, how is this a bad thing? It's actually better than if the game crashes and you losing all of your programs, like running Mercury Messenger and Skype in the background. After thinking for a while and returned back to SuSE Linux and have stuck to it since. I don't like gentoo because there's too much configuration needed and the compilation takes forever. xboxrulz
Reply
Recent Queries:--
what language was linux written in - 4.50 hr back. (1)
-
when was linux writen - 34.60 hr back. (2)
-
what language is mac written in - 53.44 hr back. (1)
-
linux written in what language - 54.25 hr back. (1)
-
"linux written in" - 58.35 hr back. (1)
-
language linux - 67.66 hr back. (1)
-
what is linux written in - 74.17 hr back. (2)
-
what is linux writen in - 74.17 hr back. (1)
-
linux written in c - 56.15 hr back. (3)
-
what language are os written in - 88.36 hr back. (1)
-
what language the linux has been written - 102.82 hr back. (1)
-
set language in linux - 106.00 hr back. (1)
-
in which language linux os is written - 114.89 hr back. (3)
-
how linux software are written - 133.84 hr back. (1)
Similar Topics
Keywords : language, linux, written
- When And What Is Your First Linux Experience?
(4)
I Want To Get Linux, Which One Is Best?
(6) currently have Windows XP (god help me) and want to change to Linux. I know that Linux is
open-source, but does that mean that it is free? I have no idea on the matter so I decided to
consult the forums. ....
Linux Software Installation Help
it tells how to install software in tar.bz2 or .bin extension (2) installing .tar.bz2 software open the terminal window.Place the s/w in root's home..then
write file.tar.bz2 in terminal. uncompressing will take place.a folder with .tar extension will b
created.Now write tar -xvf filename.tar,contents will be read..Now,move to the directory just
created..read the readme file..follow instruction such as make or make install to be commanded in
terminal...now its done..use it by writing in terminal for ex. mplayer movie.avi. ..or just drop ur
movie file nin the terminla..nd remove the " " in the file..append mplayer with blank spa....
Which Linux Version For Newbies?
Give your opinion (14) Hi, well i have been a windows user all my life, and I'm really satisfied with it. But from a
time know as a good programmer/user, I want to know what I'm missing(or not) from not using
linux, so for those who have a long time using it I would like you to ask a favor, if you could
recommend me the version that I should test. I don't understand when someone says to a newbie in
linux that is asking for a version to start, they say to them "well ubuntu(example) is a good
version to start", what are the real diference between the different types of linux. ....
Why Linux?
(23) i have always wonder, what is so special about linux? why do people have linux? rather than windows
or mac? is it recommended that noobs like me /laugh.gif" style="vertical-align:middle"
emoid=":lol:" border="0" alt="laugh.gif" /> have an linux os? /rolleyes.gif"
style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />....
Choice Of Motherboard For Linux Virtualization
Who knows which ones work well? (5) Virtualization is a relatively arcane subject, but it is one which is very rapidly growing, and
apparently very "hot" in commercial enterprises. For the hobbyist with multiple computers (I have
8), it offers the possibility of taking snapshots of running, fully configured applications and
operating systems, and transferring some or all of them onto a single computer platform. First, it
saves energy. Second, once the conversion has been made from real hardware to a virtual "guest,"
the driver problems associated with moving from one hardware platform to another are sol....
Linux Basic Command - For Storing Compilation Error To File
(1) Ex: Compiling a cpp file using a basic command " g++ filename.cpp " and to run the program use
./a.out , Then to store the compilation error to text file use this command. g++ test.cpp >
log.txt log.txt contains the compile time errors. ....
Linux For Beginners- Easy To Install
(16) Which Linux distru is for beginners and Easy to install?....
Access Linux Box From Windows Machine- Putty Tool
(2) Most of the guys want to access Linux box from Windows machine just to do some programming on the
command line. The "Putty Tool" is the solution for this. Just google for "Putty" and download this
small package(less then 1MB) and keep it on your desktop. Just you need to configure the linux
machine IP on this Putty tool and connect to Linux machine. If you face any problem in configuring
Linux IP, then let me know, i will help you out. If you think this is help full, please rate this.....
How To Copy File & Folders From Linux To Windows?.
(12) Many face problem while transfering file from Linux to windows and Vise versa. My solution for
this is "winscp405". Winscp is a windows freeware tool used to copy file from & to Linux machine.
To get this tool just google for " winscp405" tool and download this small package and install.
Enjoy working with Linux and windows /tongue.gif" style="vertical-align:middle" emoid=":P"
border="0" alt="tongue.gif" />....
Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.
(0) Let me give some usefull linux commands and utilities. Please add to this list if you know.
Work with tar files. To make tar archive use $ tar -cvf filename.tar filename
To extract tar archive use $ tar -xvf filename.tar To extract tar archive
with gz use $ tar -xzvf filename.tar.gz Connect to remote system through ssh
$ ssh name@ip followed by passwd e.g. ssh project@172.16.0.14 passwd: List the
file in current directory $ ls -l list the running process ....
How To Play Music And Movie In Linux? Which Is The Good One?.
(6) How to play Movie and music on linux. I am using fedora and i dont think so any player is specific
to any one flavour of linux. I have used "MP3 blaster" player, but this you need to play from
command line. Any other user friendly player pls let me know /rolleyes.gif"
style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> ......
So, I Want To Try Out Linux.
What do I need? (9) If I want to use Linux, would I need XP or a OS on a LAPTOP already? Or can I just pure boot Linux?
I've wanted to use Linux for a while, preferably Ubuntu. Unless those are two completely
different things. /dry.gif" style="vertical-align:middle" emoid=" I don't know, I have never
used Linux before. /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
alt="tongue.gif" /> So, any help?....
What Is Linux
Introduction to Linux (2) QUOTE "Linux" generally refers to an open-source Unix-clone operating system based on the Linux
kernel, written from scratch originally by Linus Torvalds and other smart people from across the
web. Although the linux kernel, which interfaces with a computer's hardware, is the core of the
operating system, many other programs are needed to form a complete operating system. Various
commercial and non-commercial groups produce Linux-based operating systems containing the kernel,
all necessary programs, and an installer. These different versions of linux are referr....
Linux?
(3) What is the pros and cons of linux? Does it cost money to get or is it free?....
Diablo 2 In Linux?
possible or not? (10) Hey! Sorry if this should be in the game forum, but it is about a game in Linux. And I need help
with it /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> so I
thougt that it belongs to here. So.. Is it possible to install Diablo 2 on Linux using some sort of
patch, or any special software? Not just diablo. But other games too, that only works on Windows.
Thanks //Feelay....
What Softwares Should I Get To Linux?
Need help from all the Gurus out there :P (6) Hey! I've just downloaded and installed ubuntu (sorry Yordan. That was the only one that
didn't need a CD). Now I have some questions. What Anit-virus and Anti-Spyware should I use (or
don't I need any for Linux?)?. What 2D/3D editor can I use to create/change pictures and things?
What Audio Editor can I use to create/change songs and things? What Web-broswer can I use for Linux?
(or can it also use fire-fox?). Is there any MSN for Linux? or does it use something else, that can
write to people using MSN? And if there is anything else I need to get, I would r....
Getting My Wireless Network Adapter Working On Linux
(2) Well, I recently decided to switch over all my PC's to linux, and was stumped when I tried to
convert one of my laptops. It has a Dell Wireless 1370 wireless networking mini-pci card, based on a
broadcom chip. I tried to find a driver on the internet, to no avail. I found NDISWrapper, but
despite my knowledge of how to set up a web server on linux, I couldn't work out how to use it.
I found a graphic tool, but it was commercial, which ruined any use for me. I was wondering if
anyone here knew a free tool that would automatically set it up. A few other things: m....
How Can I Rip A Dvd To My Hard Drive Under Linux?
more (0) There are several simple dvd-ripping tools available. vobcopy can be used. First you'll want to
mount your dvd (assuming the mount point is /mnt/dvd and is set up in your /etc/fstab): Code: $
mount /mnt/dvdThen you can rip the main title using vobcopy: Code: vobcopy -i /mnt/dvdThis will rip
the main title only, similar to IFO-mode in DVD Decrypter. if you want to rip the entire disc
preserving structure, use Code: vobcopy -i /mnt/dvd -m.You can also use dvdbackup from the
dvd-create project to rip dvds in a similar fashion. 2. How can I backup a DVD using fast (....
How To Install Linux Without A CD or DVD?
Would like to learn how to use Linux but don't know how to install (11) Hey! I've tryed to install linux without a cd (as they said on the website).. But I did'nt
understand it so good =/ Can anyone please tell me how I can install linux without a CD? Any
version.. The only thing I need is a fast one (faster than windows).. I am completly new (never
tried it before) and would want to learn Linux. But thats not easy, if I don't know hoiw to
install it /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Thanks
//Feelay....
Virtualization In Linux: A Review Of Four Software Choices
(4) Virtualization is the technique of running a "guest" operating system inside an already-running OS;
for example, Windows inside Linux, or vice-versa. This article compares four virtualization products
available for Ubuntu Linux: the free, open source Qemu; the closed-but-free versions of VirtualBox
and VMware-Server, and the commercial Parallels.
http://www.techthrob.com/tech/linux_virtualization.php _________________________________
http://dserban01.googlepages.com/linkedin....abap.basis.html ....
Looking For Linux
2 choices that I will choose - make it easy to install and MAINTAIN (34) Ok I have tried Linux before, it was ok, until something with the kernel screwed up and it left me
with a command line interface that I didn't know what to do. I am looking for 2 different
distributions of Linux here, my first one is for: (Currently running Windows XP SP2) A computer
with 512 MB RAM Pentium 4 processor Internet Access GNOME or KDE desktop, doesn't matter Minimal
command line work!!! Absolutely no command line work when installing. I have tried Ubuntu, it was
easy enough. Anything easier than Ubuntu and I'll give it a try. My second cho....
Psybnc - Howto
How to make a psyBNC on Linux (4) Installation First, fetch the latest source code from http://www.psybnc.at QUOTE cd wget
http://www.psybnc.at/download/beta/psyBNC-2.3.2-7.tar.gz tar -zxvf psyBNC-2.3.2-7.tar.gz cd psybnc
Configuration QUOTE make menuconfig Now go in `Bouncer Config', next set Listening
Port and Ip. Next select `User' Here you will be able to create a user for your bouncer. You
must set Ident, Realname and Password, and vhost too. So return to main menu, and choose exit. When
prompted for saving select Yes. Launching psyBNC QUOTE make ./psybnc ....
What Made You Switch To Linux?
(61) I first tried Linux a few years ago, not because I was completely against Windows or anything like
that, but just because I had some free time on my hands. I started off with Mandrake 9.0 which was
very user friendly and Windows-like. After reading through a bunch of message boards and learning
which distros are good for what, I soon realized my current distro was great for Linux noobs. So
then I decided to try something a little more advanced like Slackware which I knew had a steep
learning curve. Since then I've been using Slackware as my main OS and couldn'....
Where To Find Notepad++ For Linux ?
(37) I'm searching 2 days ago trying to find notepad++ for linux but i couldn't find it yet,
does anyone know or have this great software?, ofcourse i have it on windows, but i don't use
windows so much time, most times i'm on linux so i need it to be run on linux. P.S: i don't
use WINE so please don't recommend it /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" /> ....
What's The Difference Between Linux And Unix?!?
(18) are they even made by the same people...?....
You can Play now in Linux
These is a list of the games. (26) You can Play a greates gameg in linus as: Unreal Tournament Quake 3 Wolfenstein Enemy teritory Medal
of Honor And Emule Nintendo 64 and Play Station games. He have your property games as: Tux Raser
Tux Cart Flith of the amazon queen Beneath a Steel Sky and most more.....
Linux SuSE detec you all hareware
Yea SuSE detec all. (2) Yea SuSE heve the best tools. Mplayer, Xmms, OpenOfecce, K3B, FireFox etc.....
Now Linux is ease
The linux SuSE 9.1 is most ease linux (9) /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> if you desire to do
your linux most ease, I recommend yourself to change you to SuSE 9.1 and your life to be ease. These
linux make all to you. you don't need to make nothing. /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> ....
Running Linux on slow computers
(12) I'm wondering if Mandrake 9.2 with X can be used on slow machine like: Pentium 350, 64mb ram,
2mb graphic card. I don't want to install any servers (ssh maybe).....
Looking for language, linux, written
|
*SIMILAR VIDEOS*
Searching Video's for language, linux, written
|
advertisement
|
|