Page 1 of 4 1234 LastLast
Results 1 to 10 of 37

Thread: Linux Programming 101?

  1. #1
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806

    Linux Programming 101?

    Any recommended resources for learning linux it intrests me in that id like to learn it .
    I've only done some flash actionscript cgi and html but if i tinker with something long enough and take it apart i cant usually pickup most anything?

    -Not so leet
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  2. #2
    Low Bitrate
    Join Date
    Jan 2005
    Location
    Richmond, VA
    Posts
    95

  3. #3
    Constant Bitrate cbergeron's Avatar
    Join Date
    Apr 2004
    Posts
    176
    There really isn't an 'easy' way to learn Linux. The best way to learn is it just commit to it. You can't learn something unless you really want to.

    Here are a few tips:

    a) if you know DOS inside and out, you'll probably take to learning linux pretty easily. You should look up a tutorial about transitioning from DOS command line. The most powerful things in Linux are done on the command line. The windowing system is just a way to display stuff. That's kind of tricky for Windows users to grasp. But if you've grown up with the DOS days, it's easier.

    b) if you know nothing about DOS or command lines; but you aren't afraid to get into your system, you should probably start with a distro like Fedora. It'll give you some neat graphics, etc. but you can still learn.

    c) if you know nothing about DOS or command lines, but you're pretty hardcore and can learn anything, try starting with Slackware. You'll learn a lot in the install process, and you'll learn a ton about how linux works by using it.

    d) if you know nothing about DOS or command lines, but you don't want to move too fast; try using a user-friendly distro like Mandrake. It's a Windows-like version of Linux.

    Regardless of the "distribution" of linux you choose, please keep in mind that it's not Windows. Linux acts differently and clicking in a certain spot may not do something that it might do in Windows. Once you get past that stigma, you can learn how to make Linux work for you.

    Linux isn't for everyone. But for those that can hack it (no pun intended), there's a vast goldmine at the end of the rainbow. Following the red-brick road is learning about software, compiling code, hacking, tweaking, etc. The fun of it is the journey.
    DashPC - The Linux Car (since 1999).

    Dash LCD, Via Epia, GPS, XM, OBDII, DSSC Shutdown Controller.

    As seen in the book Geek My Ride

  4. #4
    Top Ramen lgbr's Avatar
    Join Date
    Feb 2004
    Location
    Spokane, WA, US
    Posts
    973
    What is it specifically you want to do? Any C/C++ book will do, so look in that area. However stuff like "OpenGL Programming" will not work. Another alternative is to learn Java, then you will not have to worry at all about operating systems. I recommend trying both.
    Audio Rockford Fosgate: 900 Watt 4-channel amp, 501bd Mono amp
    Computer AMD 2400+ XP, 1 GB DDR RAM, Orbit Micro 250W DC-DC PSU

    Head units are for cheaters!
    sure some girls fake orgasms.....but it's guys like me who fake the whole relationship

  5. #5
    Variable Bitrate cheerio's Avatar
    Join Date
    Jun 2004
    Location
    San Antonio
    Posts
    233
    Depends on what you want to do. Some simple scripting, there are plenty of scriptable languages out there for linux. Few are TCL, PERL, and SH. IF you want to start programming, i reccommend you get 'The Joy of C' and start from there.(will also help you with windows programming). Depending on what you want to do after that, get into c++ blah blah blah. Im not sure if tldp.org will help you, as they are mostly how-tos unless they changed their selection. If you understand programming already, you could always: cat /usr/include and read code for a few weeks.
    Crouching Tiger, Drunken Kitty

  6. #6
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    Quote Originally Posted by lgbr
    However stuff like "OpenGL Programming" will not work.
    What do you mean by that?
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  7. #7
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    I'd recommend using C/C++ because that is what pretty much every GNU/Linux application is programmed in. Well, except those in perl, python, bash scripts, etc.. There are some good books but I cannot recommend a single one. I believe "Advanced Linux Programming" is a good one.

    However, before you go into Linux programming I would HIGHLY recommend gettting familiar with the Linux enviroment and how thing work in a Unix-ish operating system. To accomplish this I would recommend finding some tutorials on bash scripts. Writing bash scripts will get you to be familiar with the Linux directory structure. It will make you familiar with core utilities like cat, sed, awk, grep, etc. In addition it will let you see how things like pipes work, since you will be using those when you start writing programs with multiple processes. And of course you will become a CLI guru. If you want a decent book on Linux's details and how to write good scripts then PM me. I have a PDF from one of my professors.

  8. #8
    Low Bitrate cyber's Avatar
    Join Date
    Jun 2004
    Location
    Frozen Tundra
    Posts
    105
    learning linux or programming for linux? These goals are very different. I you want to truely LEARN linux then follow the lfs book. If programming is your goal and you already know c/c++ then I'd suggest Beginning Linux Programming 3rd Ed.

  9. #9
    Low Bitrate khemical's Avatar
    Join Date
    Jun 2004
    Location
    DeKalb
    Posts
    102
    Quote Originally Posted by cyber
    learning linux or programming for linux? These goals are very different. I you want to truely LEARN linux then follow the lfs book. If programming is your goal and you already know c/c++ then I'd suggest Beginning Linux Programming 3rd Ed.
    the LFS Book isn't gonna teach you anything except how to install linux from scratch and setup certain common programs. Check out the Oreilly series of books for learning *nix systems and programs and languages.

    as a note: the "in a nutshell" books are reference books, not learning tools...


    A good book to start with:
    Running Linux
    http://www.oreilly.com/catalog/runux4/

    even has example chapters on upgrading the kernel

  10. #10
    Variable Bitrate Grimey's Avatar
    Join Date
    Feb 2005
    Location
    Moody, ME
    Posts
    329
    Could check out something like this:

    http://www.amazon.com/exec/obidos/tg...glance&s=books

    I've also used the Linux Programming Bible which is a HUGE book and is pretty helpful. I didn't get very far in it due to other project but I'm sure it would be good for what you're looking to do.

    http://www.amazon.com/exec/obidos/tg...glance&s=books

    I like the 'Bible' books personally because when you're done with it, it still works as a really good reference to look back on.
    Dak TruckPuter:

    Mac: - Researching and Awaiting Funds

    Changed to planning for a Mac Mini Trukputer...w3rd.

Page 1 of 4 1234 LastLast

Similar Threads

  1. Possible EPIA distro for Linux, Can we make one?
    By adamis in forum Software & Software Development
    Replies: 15
    Last Post: 02-23-2005, 06:50 PM
  2. Linux Login, UPS and Linux Touch Screen
    By polc1410 in forum Newbie
    Replies: 5
    Last Post: 02-11-2005, 11:43 AM
  3. The LOW Risk Linux Adventure...
    By grepzen in forum Software & Software Development
    Replies: 13
    Last Post: 11-08-2004, 10:12 PM
  4. Wanting to learn some programming, help me pick a language!
    By RS3RS in forum Software & Software Development
    Replies: 32
    Last Post: 10-15-2004, 05:38 PM
  5. PS2 Linux -- check it out
    By Superfly in forum General Hardware Discussion
    Replies: 7
    Last Post: 03-22-2003, 12:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •