Category Archives: Linux development
Your project under open source license
Least enjoyable programming language
Linux system programming: Open file, read file and write file
This is my first article in what I'm hoping will be a series of articles on system programming for POSIX compliant operating systems with focus on Linux. Actually I've touched this topic a while ago when I wrote three articles about library programming on Linux (static libraries, dynamic libraries and dynamic libraries using POSIX API). In this series my goal is to go trough basics of Linux system programming from the easiest topics like open file, read file and file write to a bit more complicated things like Berkeley sockets network programming. So lets get started with environment setup and an example of program that copies source file into destination file using POSIX API system calls to demonstrate open(), read() and write() system calls on Linux operating system.
Continue readingCompile upstream Linux kernel from kernel.org on Ubuntu or Debian
In this article I will show you how to compile kernel from kernel.org on Debian based operating systems like Ubuntu. If you talk to any Linux guru he will say that compiling upstream kernel.org is something very complicated and reserved only for advanced users. That just isn't true. Nowadays to compile upstream kernel without excessive modification of default options all you need is some free time, because compilation process could take 30 to 60 minutes or longer depending on your PC characteristics. So lets get down to business...
Continue reading