Programming Books C Java PHP Python Learn more Browse Programming Books
Beginning Linux Programming and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $4.54 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Beginning Linux Programming on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Beginning Linux Programming [Paperback]

Neil Matthew , Richard Stones
4.8 out of 5 stars  See all reviews (11 customer reviews)

Buy New
$28.87 & FREE Shipping on orders over $35. Details
Only 8 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, July 11? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $22.99  
Paperback $28.87  
Unknown Binding --  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

November 5, 2007 0470147628 978-0470147627 4
Beginning Linux Programming, Fourth Edition continues its unique approach to teaching UNIX programming in a simple and structured way on the Linux platform. Through the use of detailed and realistic examples, students learn by doing, and are able to move from being a Linux beginner to creating custom applications in Linux. The book introduces fundamental concepts beginning with the basics of writing Unix programs in C, and including material on basic system calls, file I/O, interprocess communication (for getting programs to work together), and shell programming. Parallel to this, the book introduces the toolkits and libraries for working with user interfaces, from simpler terminal mode applications to X and GTK+ for graphical user interfaces. Advanced topics are covered in detail such as processes, pipes, semaphores, socket programming, using MySQL, writing applications for the GNOME or the KDE desktop, writing device drivers, POSIX Threads, and kernel programming for the latest Linux Kernel.

Frequently Bought Together

Beginning Linux Programming + The Linux Programming Interface: A Linux and UNIX System Programming Handbook + The Linux Command Line: A Complete Introduction
Price for all three: $114.33

Buy the selected items together

Editorial Reviews

From the Back Cover

Beginning Linux Programming 4th Edition

Building on the success of its previous editions, this must-have guide continues its popular tutorial approach and brings you a straightforward introduction to developing programs for Linux and other UNIX-style operating systems. The author duo of experienced Linux programmers covers a wide range of topics to help you learn more about what Linux has to offer so you can maximize your programming time and your use of the Linux system.

You'll progress from the basics of compiling programs, linking to libraries, and dealing with terminal input and output to more advanced subjects such as writing applications for the GNOME® and KDE® environments, storing data using MySQL®, and debugging. As each topic is covered, the authors introduce an appropriate programming theory and then illustrate it with practical examples, clear explanations, and a step-by-step approach with the intent that you will learn by doing. You'll quickly evolve from being a Linux beginner to confidently creating custom applications in Linux.

What you will learn from this book

  • How to use the standard Linux C libraries and other facilities

  • Ways to make the most of the standard Linux development tools

  • Tips on basic system calls, file I/O, interprocess communication, and shell programming

  • How to build graphical user interfaces using the GTK+ or Qt toolkits

  • Using sockets to support TCP/IP networking to different machines

  • How to write programs that will work on different distributions of Linux

Who this book is for
This book is for programmers and developers who want to increase their skill level using Linux. Experience in C and/or C++ programming is helpful.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

About the Author

Neil Matthew has been interested in and has programmed computers since 1974. A mathematics graduate from the University of Nottingham, Neil is just plain keen on programming languages and likes to explore new ways of solving computing problems. He’s written systems to program in BCPL, FP (Functional Programming), Lisp, Prolog, and a structured BASIC. He even wrote a 6502 microprocessor emulator to run BBC microcomputer programs on UNIX systems. In terms of UNIX experience, Neil has used almost every flavor since the late 1970s, including BSD UNIX, AT&T System V, Sun Solaris, IBM AIX, many others, and of course Linux. He can claim to have been using Linux since August 1993 when he acquired a floppy disk distribution of Soft Landing (SLS) from Canada, with kernel version 0.99.11. He’s used Linux-based computers for hacking C, C++, Icon, Prolog, Tcl, and Java at home and at work.
All of Neil’s “home” projects are developed using Linux. He says Linux is much easier because it supports quite a lot of features from other systems, so that both BSD- and System V-targeted programs will generally compile with little or no change.
Neil is currently working as an Enterprise Architect specializing in IT strategy at Celesio AG. He has a background in technical consultancy, software development techniques, and quality assurance. Neil has also programmed in C and C++ for real-time embedded systems.

Rick Stones started programming at school (more years ago than he cares to remember) on a 6502-powered BBC micro, which, with the help of a few spare parts, continued to function for the next 15 years. He graduated from Nottingham University with a degree in Electronic Engineering, but decided software was more fun.
Over the years he has worked for a variety of companies, from the very small with just a dozen employees, to the very large, including the IT services giant EDS. Along the way he has worked on a range of projects, from real-time communications to accounting systems, to very large help desk systems. He is currently working as an IT architect, acting as a technical authority on various major projects for a large pan-European company.
A bit of a programming linguist, he has programmed in various assemblers, a rather neat proprietary telecommunications language called SL-1, some FORTRAN, Pascal, Perl, SQL, and smidgeons of Python and C++, as well as C. (Under duress he even admits that he was once reasonably proficient in Visual Basic, but tries not to advertise this aberration.)

Product Details

  • Paperback: 816 pages
  • Publisher: Wrox; 4 edition (November 5, 2007)
  • Language: English
  • ISBN-10: 0470147628
  • ISBN-13: 978-0470147627
  • Product Dimensions: 2.8 x 3.6 x 0.7 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #86,208 in Books (See Top 100 in Books)

Customer Reviews

4.8 out of 5 stars
4.8 out of 5 stars
3 star
2 star
1 star
Most Helpful Customer Reviews
7 of 7 people found the following review helpful
5.0 out of 5 stars Excellent book for beginners January 26, 2010
Format:Paperback|Verified Purchase
I was just beginning in Linux programming when I bought this book. It was fantastic. The authors provide clear yet concise explanations of basic Linux system calls and library functions, as well as tons of background information concerning the inner workings of Linux and basic knowledge that one coming from a Microsoft background may not have considered. The book is very well-written and is easy to follow, with some humor along the way. All of my questions of the specific subject material seemed to be answered very soon after they popped in my head.

One word of caution, though. I was proficient in C# on Microsoft platforms prior to starting this book, so it was quite a shock going to pure C in Linux. I would strongly recommend a basic knowledge of C and how it differs from C++ and C# beforehand. Be sure to have a thorough understanding of pointers, pointers to arrays, pointers to multi-dimensional arrays, and anything else concerning pointers. The authors seem to expect it.

All in all, though, I give it an A+!
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Excellent coverage of all bases July 20, 2008
Format:Paperback|Verified Purchase
This book is an excellent place to start with programming in the Linux environment. Its a good overview of all bases in the Linux environment, it takes every major topic in Linux programming and gives the reader a good foundation and gives enough information to help the reader know where to go from there. If you are new to Linux programming and not sure where to start, THIS IS THE BOOK FOR YOU.
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
5.0 out of 5 stars #1 Rated and Best Book in my I.T. Collection July 19, 2008
Format:Paperback|Verified Purchase
I own a lot of IT books. This is by far the best book I have ever bought. This book doesn't teach you C or C++, but it does show you how to get started programming in a Linux Environment.

I like to learn by deconstructing simple examples. I have some "headfirst" books, but they are a little too nuts for me. Maybe that series attempts to teach artists or left brained people how to think like programmers. Perhaps the 1 star reviewers should have gotten one of those instead.

If your analytical and right brained, and if you like to learn by doing, look no further.

Ignore all the 1 star or negative reviews, 70 (5 star) reviews cant be wrong. You need to pickup a good C or C++ programming book as a companion to this, such as C++ primer plus.

This book is responsible for taking my career to the next level. Since this book I have moved on to other classics such as "linkers and loaders" and the art of GDB Debugging among many others.

Believe me, if you want to get started programming in Linux, you need to start here.

Finally, I would like to thank the authors for this book because they literally hold nothing back. They give it to you straight and provide concrete code examples on which you can build your understanding through hard work and experimentation.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Good book for a programmer May 30, 2013
Format:Kindle Edition
Being a C programmer from the First generation but evolved to a C# programmer under windows, I was curious about Linux for my home automation program. So I had to learn the OS and how to program it in a hurry. After eating the "Linux All-in-One For Dummies" as an introduction I had chosen the "Beginning Linux Programming" as an introduction to programming Linux. (That's what in in the word `Beginning' on the cover).

And believe it or not but it is worth every penny you pay for it. They cover really the whole thing, starting with shell programming and ending with programming for the graphical shells Gnome and KDE. That way the writers let taste you the whole Linux environment and all his possibilities. Although the go deeper in the programming against the Linux kernel functions, file systems, inter-task communications and network usage, all other things you can need to start loving Linux and the good old `C' are passing the revue.

A good book for someone already programming (the go fast to squeeze all stuff in one book). If you're new to programming, you can better taka a book on `C' at hand and use both side-by-side so you can bring in to practice what you learned.

A dangerous book too, you could get addicted to Linux programming...
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Four Stars July 9, 2014
Format:Paperback|Verified Purchase
not a bad beginner's book!
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Excellent book! March 27, 2014
By S. Amir
Format:Paperback|Verified Purchase
This is a fast read and an excellent primer on Linux programming. It covers all the pertinent angles, at least to enough dept to get you going... I recommend this to anyone who wants to get into Linux programming--especially if you have a solid CS background and experience in C.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category