Manpages for Linux Development

This year I’m taking a course in Operating Systems, and it looks like I’m loving this area. I’m going to post here problems I face during the course, and their solutions, so I can find them easily next time I need them. As a side effect, I’ll be sharing them with the world. ;) The first problem I faced is with the manpages: Sections 2 and 3 of the man pages are necessary for development on Linux: Section 2 is about system calls, and section 3 is about library calls. These two sections do not come with the default Ubuntu installation (after all, Ububtu is for human beings!). So I was surprised when I typed “man 2 sigaction” and got this message:

No manual entry for sigaction in section 2

After some investigation/googling I found the problem: I don’t have section 2 and section 3 in my Ubuntu. These sections are available in the “manpages-dev” package. So, to install them one should type this in terminal:

sudo apt-get install manpages-dev

That’s all. Now I have sections 2 and 3 and I’m happy. :)

If you enjoyed this post, make sure you subscribe to my RSS feed!

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

No related posts.

Tags: , ,

Saturday, November 22nd, 2008 Linux Development

Leave a Reply

my email
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and a BSc. in electrical engineering from The Electrical Engineering school , Technion , Israel.
I'm a Verification Engineer in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
November 2008
S M T W T F S
« Oct   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.7.4, a WordPress plugin for Twitter.