All Questions
Tagged with source-code linux
13 questions
2
votes
1
answer
354
views
How to find source code of specific version of linux tools, i.e. ifconfig
I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from ifconfig, and it would assume that there was no : (colon) after the ...
0
votes
1
answer
169
views
What is the path of ip_input.c?
The ip_rcv funcion defined in the ip_input.c
file, is responsible for delivering the datagrams to a higher
layer protocol or forwarding it to another host. It consists
of functions and netfilter hooks ...
0
votes
0
answers
846
views
Compile and Install Gedit from Source on Ubuntu
It is pretty obvious what I need to do, but below are the details just in case.
I want to install and configure Gedit's latest version into my Ubuntu 14.04 Trusty tahr along with installing it's ...
1
vote
1
answer
2k
views
run 2 different versions of ffmpeg form same server
I'm trying to run a second version of ffmpeg on a unix server without update or remove the old version.
In the server it's installed version 1.0.1, can I compile latest version of ffmpeg (current 2.5....
2
votes
0
answers
106
views
Automatic package recompilation on apt-get upgrade
Is it possible to achieve the following setup with apt-get on debian based distros, particulary Ubuntu:
I need to compile a package from source (like apt-get source ). Before compilation, I need to ...
0
votes
1
answer
454
views
compile and install qtcurve successfully but system settings can't find it
I use kubuntu and I compiled the source of qtcurve and installed (the result is shown at the end).
After, I went to System Settings -> Application Appearance -> Style -> Applications -> ...
2
votes
4
answers
244
views
Programming in Windows 8
I am a semi-experienced Linux user and I write my software explicitly from command line. If I need a compiler, I simply sudo-apt-get it, if I need to run a code I just execute it from command line and ...
3
votes
2
answers
8k
views
Is the version of the linux kernel listed in the source some where?
If I'm looking at a version of the linux kernel source code, can I tell which version of the kernel it is?
This is code that's currently not running on any platform (so I can't execute commands), ...
2
votes
1
answer
217
views
can /usr/src be a sym link?
I want to store all source code of programs I have installed in /usr/src. However, due to size of the drive I made a sym link /usr/src that points to ~/src. That was nice. Unfortunately, that caused ...
2
votes
1
answer
2k
views
Where should I put the source files?
I am starting to develop a custom kernel modules, so I have the two related organizational questions:
Where should I put all my source files? I keep the sources in home directory now /home/my-name/...
1
vote
3
answers
3k
views
Where do you find the Bash source files of programs in Linux/Mac OSX?
I am currently writing some convenience methods for my terminal in my bash_profile and am sure if what I am writing is "the best way". I figure a good way to verify whether what I'm doing is right or ...
3
votes
1
answer
3k
views
How to get Linux kernel vermagic from a source tree?
It is used when installing to /lib/modules
It is printed after make modules_install
Part of it is returned by scripts/setlocalversion.
How to just get it without running make modules_install?
4
votes
4
answers
4k
views
Where can I find the source code for the program called useradd?
I am running SLED 11, and I want to understand what the useradd command does and how it does what it does. I know that SLED 11 is built from OpenSuSE 11.1 and I would be more than satisfied with the ...