mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-08-24, 14:22   #1
tinner
 
Aug 2007

2×3 Posts
Default guide me about linux

Hi, Iโ€™m doesnโ€™t know anything about Linux programming language, can someone guide me or suggest me any good Ebook for Linux and me how to start a Linux program and in which editor I can do the program and how can I compile and run the program in Linux.

tinner is offline   Reply With Quote
Old 2007-08-24, 21:04   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,617 Posts
Default

First off, Linux is not a programming language is actually the kernel of the operating system called Gnu/linux. Most people refer to GNU/linux just as "linux". Under this free and open source operating system there are a number of different languages with compilers and interpreters, plus many other free things, for example Open Office.

But I assume you have the Windows operating system and that you might want to use some free tools, like "gcc", a free "C programing language" compiler, and not be bothered with installing linux (operating system). In this case you will might try out cygwin.

If you are interested in installing the GNU/Linux operating system and have an old computer (on which the data and previous operating system are defunct) then try out an installation. There are scores of GNU/Linux distributions. Ubuntu is one of the easiest to install. If the machine is a low spec. one you could try Xubuntu.

If you have only one machine, and no old one to play with, then you could go for a "dual boot system" where Linux and Windows live on separate parts of the same computer. However, you have to be careful not to destroy your Windows installation. I recommend you really understand what you are doing before you attempt this and take a backup of you data.

As for "starting a program", you need to "execute" it. This might be clicking on something with the mouse, or by typing in the command to a "terminal" (program) from the keyboard.

There are many editors for plain text; emacs, vi, gedit, nano etc, The first three will pick up on the file extension of the file being worked on and make the code appear in pretty colours, which is useful for debugging.

Let, suppose you have wrtten the program "hello-world.c" in the "C programming language". To turn it into some thing that can be executed you simply type

Quote:
gcc hello-world.c
and this will produce an executable file called "a.out" (which you may rename), and to run this (from the same directory that it resides in), under linux, type in:

Quote:
./a.out
If you wrote a "perl" program you could execute it like this:

Quote:
perl hello-world.pl
To Xyzzy: Where is that e-book that you once linked from here about the history of Unix?

Last fiddled with by paulunderwood on 2007-08-24 at 21:17
paulunderwood is offline   Reply With Quote
Old 2007-08-25, 00:20   #3
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

1F5C16 Posts
Default

Quote:
Originally Posted by paulunderwood
To Xyzzy: Where is that e-book that you once linked from here about the history of Unix?
It may have been this:

http://www.catb.org/~esr/writings/taoup/html/
Xyzzy is offline   Reply With Quote
Old 2007-08-25, 13:58   #4
tinner
 
Aug 2007

2·3 Posts
Default thanks

Hi, paulunderwood thanks for your information, i has more doubts in linux later i will clear my doubts on this forum.

_____________
tinner
tinner is offline   Reply With Quote
Old 2007-09-04, 05:44   #5
tinner
 
Aug 2007

2×3 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
Hi,thanks for your site which is given above. i have want to the site, it was good site and it has many topics about OS and linux etc.
____________
tinner

Last fiddled with by tinner on 2007-09-04 at 05:45
tinner is offline   Reply With Quote
Old 2007-12-01, 08:08   #6
tinner
 
Aug 2007

2·3 Posts
Default

I'm looking for an easy Linux distribution that can be permanently installed on a Dell computer with a ram of 512 mb and a free space of 10 GB.
If it possible, I would like the distribution to be easy to use and install because I'm a beginner and i should have all the necessary applications and characteristics needed for a personal desktop usage.
suggest me a best linux distribution that match's above requirements. thanks in advance.
tinner is offline   Reply With Quote
Old 2007-12-01, 11:28   #7
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

1F5C16 Posts
Default

Probably Ubuntu.

http://www.ubuntulinux.org/
http://ubuntuforums.org/
Xyzzy is offline   Reply With Quote
Old 2007-12-01, 21:30   #8
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

DB316 Posts
Default

Tinner's last post kinda cheeses me a bit, I'd be wanting crunching credit in exchange for the help.
jasong is offline   Reply With Quote
Old 2007-12-02, 10:48   #9
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

10,639 Posts
Default

Quote:
Originally Posted by jasong View Post
Tinner's last post kinda cheeses me a bit, I'd be wanting crunching credit in exchange for the help.
Fair enough. What do you offer me in return for the assistance I've given you in the past?

(Was the above a rhetorical question and, for that matter, is this a rhetorical question?)


Paul

Last fiddled with by xilman on 2007-12-02 at 10:49 Reason: delete errant comma
xilman is online now   Reply With Quote
Old 2007-12-02, 12:13   #10
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

22×32×223 Posts
Default

"Do A Good Turn Daily."

The Scout slogan is "Do A Good Turn Daily". Good Turns are helpful acts of kindness done quietly, without boasting and without expecting reward or pay. Doing at least one good turn every day is a normal part of a Scout's life.
Xyzzy is offline   Reply With Quote
Old 2007-12-05, 00:27   #11
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Quote:
Originally Posted by xilman View Post
Fair enough. What do you offer me in return for the assistance I've given you in the past?

(Was the above a rhetorical question and, for that matter, is this a rhetorical question?)


Paul
The following is meant politely, I promise. :)

1) I definitely appreciate the help you and the Forum have given me in the past, and acknowledge that I owe you. You obviously didn't realize that, so you haven't had an opportunity to collect. :)

2) I guess it's more the tone of the post that cheesed me, a lot of times I get mad at people at work(KFC) because of a lack of manners. While I have been hypocritical about it in the past, I try to show appreciation for helpful people, even if it's only an,"I really appreciate this," or something.
jasong is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide to compiling YAFU Mr. Odd YAFU 4 2017-04-24 15:40
Overclock Testing Guide? Caribou007 Software 18 2013-06-18 19:57
Guide OmbooHankvald Operation Billion Digits 4 2009-08-26 08:18
Linux guide for people who want to do more than point and click. Do you know of one? jasong Linux 2 2006-12-08 23:56
Guide OmbooHankvald 3*2^n-1 Search 3 2005-07-13 21:03

All times are UTC. The time now is 15:28.

Sun Apr 11 15:28:24 UTC 2021 up 3 days, 10:09, 1 user, load averages: 1.31, 1.58, 1.68

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.