Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Gyzmo

Where to start?

This topic is 6443 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to start programming in Linux. I want to create non-graphical programs, I want to know where to start learning, I am not a complete linux-newbie but I don''t know much about it.My biggest achievement was compiling apache+openssl+php, it took me long enough... I don''t know anything about making (constructing) Makefiles or anything related to creating programs in Linux (except C/C++ syntax) and I''m looking for information on anything in Linux development including Makefiles, install-scripts and information on libraries (i.e. file-permission file io, user/password, networking, etc.) I prefer free(internet) information (I''m in a perpetual financial crisis) but if I must I will buy books, so I''m looking for sites/books for beginning Linux programmers (I already know C/C++) Gyzmo ======================= [signature][/signature]

Share this post


Link to post
Share on other sites
Advertisement
Programming non-graphical programs for Linux is a lot like programming for DOS, but you've got more power If you've got Linux installed, there are lots of HOWTO's in some directory (/usr/doc/ or something, I don't remember). I think there's a C/C++ programming doc, you should check it out. If you don't have Linux installed (yet), check out Linuxdoc.org, you can find lots of HOWTO's there. You might want to check out linuxprogramming.com too

Man pages are also good places to go looking for info.

Edited by - Muzzafarath on August 31, 2000 3:15:23 AM

Share this post


Link to post
Share on other sites
I do have Linux installed, as my gateway, I have a small network of 5 computers (2 Windows98 Pc''s, 2 Windows98 Laptop''s and a Linux Server) I want to learn Linux programming mostly because I can never host any game (unless I get lucky and know which ports to forward) so for any network game I make I at least want to make a linux-server. So people like me (read people connected to Internet through a Linux gateway) can still host games.



Gyzmo
=======================
[signature][/signature]

Share this post


Link to post
Share on other sites
Well, you wouldn''t want to run a game server under Windows anyway ;-)

If you are looking for general get-started docs/tutorials/howtos I''m afraid I can''t help you really much... I learned by trial-and-error, and by looking at other people''s source code (especially in the case of Makefiles).

For network programming, I suggest you get the one and only book, "Unix Network Programming" by Stevens. It''s simply great I''m currently wiriting a small strategy-game server in linux, with a MySQL db holding all data. I''ll try to answer any socket-related questions you might have

Share this post


Link to post
Share on other sites
Beginning Linux Programming, by Richard Stones and Neil Matthew (Wrox Press) is a great intro. It is very broad and covers a lot of ground (shell scripts, gcc, makefiles, perl and more). It will get you up and running in no time.

Share this post


Link to post
Share on other sites
Funny, I did some research (reading reviews on amazon) and I bought it this morning....



Gyzmo
=======================
[signature][/signature]

Share this post


Link to post
Share on other sites
On my new computer I have like 20 Megs free (3 of those are used already) and since I didn''t do a partition on my HD in the beginning before I started collecting all the crap I have now on my comp, I was wondering if there way to have both Windows and Linux( or Unix) on the same HD with no partitioning of the HD. Is that possible? Is it a good idea though?

Apology for posting my questions here but since you were talking about Linux...

-------------------------------
That's just my 200 bucks' worth!

..-=gLaDiAtOr=-..

Share this post


Link to post
Share on other sites
One solution is to defrag your HD and put all data in the beginning of the partition, then use some tool like Partition Magic the resize the partition and create a new one for linux.

Another is to use VMWare and run linux in a diskfile virtual partition. But personally, I think that sucks

Share this post


Link to post
Share on other sites
try ZipSlack (www.slackware.com), its a complete linux distribution that can run from an existing partition, including fat32.It works pretty good, but you''ll have to download xfree86 and nutscrape (netscape...feeling a little funny tonight), cause its not included in the package.

Have fun...

Share this post


Link to post
Share on other sites
Gladiator, it can be done. Many distros can be installed onto existing FAT32 partitions (Red Hat, Dragonlinux, someone mentioned ZipSlack), but it'll be slower than if you would dedicate two partitions for Linux. The dists (who install themselves on a FAT32 partition) usually put themselves as two (or one) file(s) in c:\ and you can simply delete those files to get rid of Linux. You'll have to boot with a boot floppy (or maybe loadlin works...?) to start Linux though.

quote:

Is it a good idea though?



No it isn't It's great if you want to simply try out Linux to see if it's any good, but if want to actually _use_ Linux you'd want to install it on its own partition.

Edited by - Muzzafarath on September 1, 2000 3:23:48 AM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!