≡ Menu

source code

I would like to install something from source code. The site says that I need to download it from git repository. How do I download a git repository under Debian / Ubuntu Linux?
[click to continue…]

I'm using GeSHi under php to highlight a source code. How do I turn on or off line numbers using GeSHi?
[click to continue…]

How do I open a text file using VIM or VI and go to specific line? How do I open a file using vim and go to specific function() in my source code?
[click to continue…]

CentOS or Redhat Enterprise Linux

Can you explains the basic difference between CentOS and RHEL?
[click to continue…]

How do I install FreeBSD kernel source code?

Q. I need to configure FreeBSD kernel but not able to find out source code in /usr/src/sys directory. How do I install FreeBSD source code?

A.Your kernel and all related source code is located at /usr/src/sys directory which is also accessible through the /sys path.

If there is not a /usr/src/sys directory on your system, then the kernel source has not been installed. The easiest way to do this is by running sysinstall as root, choosing Configure, then Distributions, then src, then base and sys
# sysinstall
sysinstall-1.jpg

Select Configure
sysinstall-2.jpg
Select Distributions
sysinstall-3.jpg
Select src
sysinstall-4.jpg
Then base and sys > Select ok
sysinstall-5.jpg

Further readings

'm trying buildworld under FreeBSD operating system. But I'm getting an error which read as follows:

--------------------------------------------------------------
>>> Building an up-to-date make(1)
--------------------------------------------------------------
cd: can't cd to /usr/src/usr.bin/make
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

How do I fix this problem?
[click to continue…]