Everything that includes the source code of Unix programs for example compiling, installing or how to retrieve the code for studying.
0
votes
0answers
32 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
3answers
48 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 ...
2
votes
0answers
52 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 ...
0
votes
2answers
40 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
62 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
54 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 ...
1
vote
2answers
102 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 ...
1
vote
1answer
26 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
2answers
47 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 ...
2
votes
1answer
59 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
33 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
36 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
113 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 ...
1
vote
1answer
81 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 ...
0
votes
1answer
480 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 ...
-1
votes
1answer
57 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
152 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
64 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
140 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
55 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 ...
1
vote
1answer
66 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
76 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 ...
0
votes
1answer
128 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 ...
4
votes
2answers
87 views
printing .cpp file from command line using emacs
The goal is to print a set of *.cpp files on a network printer, but... in a way that the (color) printer prints the files like they appear in the c++ editor including the colors and highlighting. And ...
2
votes
1answer
482 views
How do I remove/uninstall a program that I have complied from source? [duplicate]
How do I remove a program that I have compiled from source using the ./configure; make; make install method? Does it matter whether I have kept the original directory that the source was stored in or ...
1
vote
2answers
351 views
Use a specific interface for a specific destination subnet (source IP setting)
I am looking for some sort of routing trickery to set a specific source IP:
Local machine has two IPs;
Eth1: 192.168.0.1
Eth1:2 192.168.0.2
Default gateway is 192.168.0.254 via Eth1
Remote subnet ...
0
votes
1answer
68 views
Browse Bash files for a distribution
With my current OS, my LANG value is set by
/etc/profile.d/lang.sh
I am curious of the code for another distribution, Linux Mint for example. How could I browse this code online, or perhaps ...
0
votes
1answer
105 views
Unable to add source via command line
I am trying to install latest version of glusterfs in Ubuntu
by running this command:
apt-add-repository ppa:semiosis/glusterfs-3.2
It does not give any result.
The session won't even close ...
2
votes
1answer
319 views
Chat source code
Source code of chat program (used for dialog with modem) is open? If it is so, where I can find it? I'm try find it, but no success.
4
votes
2answers
149 views
What is the 't' folder?
I'm mainly a Windows guy, programming C#, but I often do use technologies that were intended for Linux machines like git, MySQL, perl scripts, memcached, php, etc... And therefore I am exposed to ...
2
votes
1answer
89 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.
...
3
votes
1answer
274 views
Confused about ident
I inherited a bunch of files that begin with the following statement at the top
Ident:/some/path/to/a/file
Ident seems to be related to C coding and make files but I am not really sure. None of the ...
1
vote
2answers
826 views
Running “patch” without generating *.orig and *.rej files
Is it possible to tell patch not to generate .orig and .rej files?
I find it extremely annoying that patch creates these.
1
vote
2answers
622 views
Where to find the source code for ps?
I want to check out the source code for commands such as ps. It seems to be impossible to search LXR (linux.no) for "ps". Where do I find it?
-1
votes
2answers
254 views
source script as command [closed]
For some reason (?), often when I write scripts nowadays they do not work, or work only in part, and then I try with . or source and they work perfectly. I'm unsure what is causing this as the scripts ...
8
votes
3answers
761 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 ...
2
votes
4answers
5k views
How to start changing linux source code to make custom OS?
I am doing Under Graduation in CS Major, have medium level knowledge in C, C++, and Java and also learned some operating system concepts (as they are in my course syllabus). I have heard that we can ...
1
vote
1answer
472 views
Source code of original Netscape Navigator
Where is it possible to download the source code of the first open source browser Netscape Navigator released in about 1998?
I already searched for it and wasn't able to find the original version of ...
1
vote
1answer
164 views
Getting the source for something that doesn't seem to have an associated package?
I recently just wanted to look at the source code for sha1sum.
alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum
Reading package lists... Done
Building dependency tree
Reading state ...
2
votes
1answer
149 views
How should I install software from source so that I can make my configuration manageable and reproducible?
I work with a lot of scientific software on Linux distributions (normally Debian variants and Red Hat variants). In order to maximize performance and get access to the latest features, it's often ...
10
votes
2answers
613 views
Where is best place to find sources of standard linux command line tools?
Into: I like learning by reading sources. But it's tiring of searching them across internet splited on many many different project sites. I'd love to see central browsable repo with sources of many ...
1
vote
0answers
386 views
Build Chromium from source
I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions:
...
1
vote
1answer
1k views
build-dep firefox not working on Linux Mint
I'm on the latest Linux Mint 12. In order to compile Firefox I need to do a
sudo apt-get build-dep firefox
which isn't working and showing the following error:
$ sudo apt-get build-dep firefox
...
0
votes
0answers
619 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 ...
5
votes
7answers
17k 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.
1
vote
1answer
444 views
Install newer version of application in $HOME without root access and linking to installed app
I am new to installing application from source and just learning the best practices to do so.
I have this linux box without root access with a quite old emacs, so I downloaded the latest version and ...
5
votes
2answers
646 views
How to grep on source code without catching comments
I search a way to grep on source code without having sometimes false-positive because of comments. For instance if I search on foo on this .c source code :
/*
* foo has changed [...] and is now a ...
7
votes
2answers
945 views
Why are there no -dev packages in Arch Linux?
I understand that source based distributions like Gentoo or Slackware do not need *-dev versions of programs. They include the source code as well as header files for compiling everything locally.
...
0
votes
1answer
250 views
Clang/LLVM Install Within Slackware?
I would like to install the Clang/LLVM compiler suite within Slackware since I use it as my default C conpiler for my C programming assignments. I am currently building it within a build directory ...
5
votes
1answer
2k views
What does a kernel source tree contain? Is this related to Linux kernel headers?
In books, I typically read references to the Linux Source Tree at /usr/src/linux with the usual set of subdirectories (arch, block, crypto, ...).
I was expecting this tree to contain the binary files ...