Everything that includes the source code of Unix programs for example compiling, installing or how to retrieve the code for studying.

learn more… | top users | synonyms

0
votes
1answer
736 views

How to install TortoiseHG on RHEL 5.3 from source?

I have been trying to install TortoiseHG with the yum command on my RedHat system and have been struggling. I thought perhaps I should install it from the source. I used the instructions here and ...
0
votes
1answer
23 views

searching for sysvinit in a linux tree

This is the tree for petalinux. https://github.com/Xilinx/linux-xlnx/tree/xlnx_3.8 I am looking for sysvinit package,which contains things like init ,halt etc. When this source code is compiled we ...
3
votes
3answers
60 views

Source files with `*.in` extension

When poking around in some source code trees, sometimes I encounter files with extension "*.in", typically for non-compiled files that belong somewhere under /etc or /usr/share. For example, in ...
0
votes
1answer
24 views

How to download Debian package's source code?

I want to read source code of some package in Debian, how can i do that?
0
votes
1answer
27 views

unpack and patch source rpm (rpmbuild -bp) safely

I want to unpack source RPM and apply patches to the upstream source. What is almost OK for me is rpm -i mypkg-*.src.rpm cd ~/rpmbuild rpmbuild -bp SPECS/mypkg.spec # frolic in BUILD/mypkg My ...
6
votes
1answer
215 views

Source code of the screens of debian-installer

Where do I can find the source code of the screens of the installation process of Debian? I've tried: apt-get source debian-installer But in this package I do not see the source code. To be more ...
2
votes
1answer
80 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
4
votes
1answer
88 views

How to relate a kernel config setting to the source files?

Here is an example that will explain better: I have a selected the audio driver from the picture and i would like to browse through its source. How do i get to the path of the source files from ...
1
vote
1answer
46 views

How to compile a Debian package from source?

Newbie Ubuntu user here... I use a tool called YUMI to create a USB boot device. Its Debian package and its source can be downloaded from http://www.pendrivelinux.com/yumi-multiboot-usb-creator/. I ...
5
votes
3answers
430 views

Installing Git, Curl, and Expat from Source

I have a RHEL 6.4 VM provisioned by my companies internal KVM. We are having some trouble using yum (Cannot retrieve repository metadata, which Ive confirmed in this case is peculiar to my company's ...
1
vote
1answer
51 views

Command to Download Source Files in FreeBSD

In most Linux distros there is a command sometimes the same one used to install or build (compile) packages with extra switch; which just download the source files instead of building or installing ...
1
vote
1answer
76 views

How to pass arguments to 'source' command?

My source command in the CShell goes like this : source /directory/of/script/script.csh The script.csh executes and in between, waits for my password to confirm the identity. I am tired of typing ...
3
votes
2answers
103 views

Exploding amount of Debian source code lines

According to the table at the Source lines of code article at Wikipedia, the amount of Debian source code lines rapidly grew to over 324m LoC (Lines of Code) in 2009: 2000: 55-59m 2002: 104m 2005: ...
1
vote
2answers
42 views

What is SVN snapshot?

In the last lines of website http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation it says Optional tools Download the latest SVN snapshot from http://ffmpeg.org/releases/ Unpack and ...
1
vote
1answer
66 views

Difference between .tar.gz.asc, git.tar.bz2 and .tar.bz2

I have a Mac running OSX 10.9.1 and I want to install Gerris and its dependencies. In the last lines of the page I have to install ffmpeg. But there are lots of releases of ffmpeg. Which one I should ...
1
vote
1answer
25 views

How to type from the source directory on mac

In the website http://gfs.sourceforge.net/wiki/index.php/Mac_OSX_Installation In this line: type from the source directory ... What is source directory referring to ?
3
votes
2answers
65 views

Edit tree to output in custom format?

I'd like to get a custom output from the tree command, but unlike this question, I don't have a fixed format. I'd like to be able to give the command the format in an argument (for instance perhaps ...
1
vote
2answers
149 views

What is the website for `say` program?

Embarrassing, but after system upgrade say vanished from it -- either it is no longer provided by the distro, or I installed it independently before (but I don't remember how and where from). The ...
0
votes
1answer
74 views

CheckInstall on CentOS

I am attempting to make CheckInstall on a clean version of CentOS however I am having difficulty, I receive the following error: [root@host checkinstall-1.6.2]# make for file in ...
1
vote
1answer
30 views

Failed make when installing madplay source

I am attempting to get madplay installed on my shared host I've run: ./configure --prefix=$HOME CPPFLAGS="-I /home/dir/include" LDFLAGS="-L /home/dir/lib" and then "make", but on that on run into ...
2
votes
4answers
67 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
0
votes
0answers
20 views

python3.3 build from source

When running make test while doing a build from source for python3.3 I had 25 tests skipped and 14 skips unexpected on linux. OS Debian 7.0 64 bit server. How can I figure out what packages are ...
266
votes
7answers
23k views

Understanding the Linux kernel source

I am trying to understand how a function, say mkdir, works by looking at the kernel source. This is an attempt to understand the kernel internals and navigate between various functions. I know mkdir ...
4
votes
1answer
98 views

Where should I keep the source files of the compiled applications?

I use Slackware Linux and I install most applications from the source. I would like to know how to manage the source files, specially the header files, so they are available to other applications.
4
votes
4answers
77 views

When should one compile and install from source?

To install software on a Linux system, many tools like yum, apt-get, rpm, dpkg and so on are available to either fetch a package from a repository or install a downloaded package. Alternatively, it ...
0
votes
2answers
65 views

Building from source on linux - mess in installed packages [duplicate]

Everytime when I want to build application from source on linux, I have to install dependencies libraries in my operating system (ubuntu). Typical scenario: Start ./configure Got error about missing ...
0
votes
0answers
79 views

Shell Script : Check for all the source files in different paths

This is the naming convention of the file. <yearmonthdate>_<sourcesystem>_<totalnoofpartsof file>_<subject area>_<part number>.dat (or .dat.gz) First part is Date, ...
2
votes
1answer
2k views

Why does 'make' complain about a missing rule when I try to build a program from source?

I am a Linux novice, and I am attempting to compile scientific software called DL_POLY_Classic. I downloaded the zip file dl_class_1.6.tar.gz and unzipped it using the command tar xvzf ...
2
votes
0answers
480 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
1
vote
2answers
111 views

How to view source of “string.h” and other library function source code in gedit of Ubuntu?

I remember viewing source code of library function but now I don't know how to view it. Can someone help me viewing source code of library function?
2
votes
1answer
74 views

How can I determine the date when a piece of software was installed from source?

I've been asked to find out when a specific version of software was installed. The only thing I have to go on are the modification times of the directories in question. I'm having a hard time ...
1
vote
3answers
75 views

How do I know on which IDE to edit a project's source code?

EDIT: Thanks to all answerers and commenters, there's enough material to keep me busy for a while ! I recently switch to Linux and wanted to do my first development steps with the following ...
2
votes
2answers
59 views

Is there a distribution-independent tool to autocompile+install dependencies?

I like the way e.g. ArchLinux' yaourt (or if you're not that lazy, abs+makepkg; and from what I read so far, Gentoo's ebuild as well) automatically take care of obtaining, compiling and installing ...
1
vote
1answer
89 views

Where Do I get Source package for Perf tool

I am looking for source package of perf tool ,which I wanted to compile for ARM Linux ,I have already set up the cross compile tool chain. I have compiled the the oprofile and got it ...
2
votes
1answer
112 views

Modify and boot linux kernel on mobile device [closed]

During my education I have been developing Android iOS apps and websites for almost 18 months. Now, as my final year project, I am working on Linux source code with the goal to boot it on a mobile ...
0
votes
1answer
102 views

Help for download the android by the Cygwin Terminal

I have a problem for download android by Cygwin Terminal in windows. I use this guide for download it: - 1) Download cygwin from http://cygwin.com/install.html. - 2) Install cygwin with defaults.In ...
1
vote
1answer
45 views

Where to place source code for applications compiled from source?

In the past when I have compiled applications from source I have extracted the source code to ~/src and compiled from there. I realize now that there may be no need for me to create the ~/src ...
-2
votes
3answers
511 views

Can't install software in Debian 6

I installed Debian 6 Squeez on my virtual machine and I can't install software using aptitude or apt-get. This is my sources.list file: root@debian:/etc/apt# cat sources.list # # deb cdrom:[Debian ...
0
votes
1answer
708 views

Difficulty installing PHP from source to CentOS 6.4

The problem: After installing PHP from source, functionality is not present - my phpinfo test page does not work. If I use yum to install from the repository functionality is restored. Why am I ...
2
votes
1answer
213 views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
-1
votes
1answer
76 views

How to use the “source” command to do parallel computing?

For example, I have an executable called ex01 (C++ program). And I have a text file that contains a set of invocations of this program with different arguments. The text file looks like this: ...
-1
votes
1answer
268 views

How to install kdesudo in OpenSUSE 12.3

I'm hoping this is a stupid question with a simple answer, but I've been hunting around for half an hour and cannot find a way to install kdesudo in OpenSUSE 12.3. I need to use kdesudo because kdesu ...
0
votes
0answers
123 views

How to install newer version of packages on scientific linux ? (besides source)

I just installed the newest SL6.4. I use c++11 and I tried to install the latest gcc (4.8.1) using gsrc (gsrc automates install). the problem that i faced is that SL's zlib was too old. Meaning, zlib ...
1
vote
0answers
283 views

Error trying to build pango (1.34.1) and harfbuzz (0.9.18) from source

So I'm trying to build pango from source (in my home directory, as a dependency to something else I need). This is on a computing cluster running SLES 11. When compiling, I get the following error: ...
2
votes
2answers
103 views

How to config my.cfg file for mysql which was installed from sources?

I installed MySQL 5.6 from sources on debian. MySQL folder is /usr/local/mysql. Here is several question: 1) I would like to config my.cfg. But I couldn't find several parameters: socket ...
11
votes
3answers
1k views

Given a git patch id, how to find out which kernel release contains it?

Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
1
vote
1answer
79 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
2
votes
1answer
143 views

Build binary and dependencies without sudo

I want to install a piece of software (rtorrent) from source to my home folder. It depends on ncurses, which is not installed. I've installed ncurses to my home folder by using the PREFIX option ...
8
votes
7answers
23k views

How to install .tar.bz and .tar.bz2 packages?

I would like to know how to install .tar.bz and .tar.bz2 packages on Debian, please give me a complete explanation.
0
votes
1answer
236 views

debian cannot install kernel source

I want to use debian linux for my laptop again. So I took my old debian 6.0 cds and installed it. From the last time I know, that I have to build the driver for my Atheros AR8151 Gigabit Ethernet ...