Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [source-code]

The tag has no usage guidance.

0
votes
1answer
9 views

Where can I find gtkmm4 sources?

I need to install gtkmm4 where do I find its sources. I am using archlinux.
1
vote
0answers
21 views

Is it possible to access linux/ramdisk code memory from its running system?

I'm working with an embedded Linux device that has to be auditioned by a regulatory agency. The agency will select a few devices in the field to check if the code running is the same as auditioned. ...
0
votes
1answer
43 views

Locating source code of the PureOS installer

I have been playing with PureOS installation options (the ultimate goal is to install it dual boot with MacOS on a MacBook Air, but this is out of the scope of this question). What I would like to ...
0
votes
1answer
219 views

dpkg-source: warning: failed to verify signature

System: Linux Mint 19 Cinnamon, based on Ubuntu 18.04. In this answer, I am being pointed at a different solution, other than installing directly from source. Since I haven't ever used dget, I must ...
0
votes
2answers
44 views

Where is the idiomatic place to put source code for my projects? [closed]

I'm a software developer and only in the last year or so have I been using Linux Mint over Windows as my working dev environment. For the last year I figured I'd do things my way and adapt as I learn ...
-2
votes
3answers
86 views

Linux Kernel code [duplicate]

Yesterday, I have seen Linux kernel source code. There were thousands of lines. Were all code written only by one person, Linus Torvalds?
0
votes
0answers
54 views

ssh tunnel putty - UI app login not working from browser

I had setup SSH tunnel using putty in my local Windows to remote linux server. I am able to open localhost:8080 in my Windows Chrome browser and I verified SSH tunnel is working as it rendering my UI ...
0
votes
0answers
218 views

Where can I get the first edition of Minix OS?

I want to know where can I get the first edition of Minix OS? I would like to look at the source code of the first edition of Minix OS.
1
vote
0answers
99 views

Exact kernel source code on Fedora

Could you please share how to acquire the corresponding kernel source code for 4.5.5-300.fc24.x86_64? I cannot find it in /usr/src/kernels when installing that on Fedora 24.
0
votes
0answers
647 views

Install libstdc++ 4.9.x from source but compiled with glibc 2.14

I am on a Red Hat Enterprise Linux Server release 6.6 (Santiago) Linux version 2.6.32-696.20.1.el6.x86_64 (mockbuild@x86-042.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18)...
2
votes
1answer
139 views

How does providing an asc file ensure I'm downloading the intended source code?

I'm installing cmake from the cmake.org website and they provide two files that I believe are intended to verify the source code download cmake-3.11.0-rc3.tar.gz On the same page, they have links to ...
-2
votes
1answer
52 views

Where are stored sources of compiled programs? [closed]

I want to find exact source code of compiled program in Linux/Unix systems. for illustration: computer:/ username$ whereis ping /sbin/ping And the task is to find the source code of /sbin/ping.
1
vote
1answer
101 views

How does the X server emit a character when the keyboard is pressed? [duplicate]

This is actually a coding question. I know that the X server checks the active keyboard layout to figure out which character (supporting unicode) to emit. But I don't actually know how this is done, ...
3
votes
1answer
215 views

How to organize 3rd-party libraries for Python?

I am new in Python. I want to install many 3rd-party libraries (I think they are also called packages?) like, for example, "AstroPy". But I am not sure where the new source code will be stored (I mean,...
2
votes
2answers
817 views

Replacing backslashes with forward slash within double quotes

I have some C source code which was originally developed on Windows. Now I want to work on it in Linux. There are tons of include directives that should be changed to Linux format, e.g: #include "..\...
1
vote
0answers
109 views

CUPS source-code compiling error

I want to get printer state from CUPS. To do that , I am trying to customize CUPS's source code. So I can send a message to my front-end. I have downloaded CUPS repository from gitub Apple's CUPS ...
2
votes
4answers
2k views

Usage of Bang (!) in bash

I am reading the bash source code, and the BNF grammar for bash would be: <pipeline_command> ::= <pipeline> | '!' <pipeline> | <timespec&...
-1
votes
2answers
703 views

What are the tools in /tools folder?

In the kernel source tree /tools, there are many submodules. What are the tools available in this folder? I know perf tool. What else are they? How to build them? Are they, by default, integrated into ...
2
votes
1answer
147 views

How to find the source code by a simple method [closed]

As I know,the Linux is a open source project,which mean we can find all code that build this system. But that is too hard for me. Is there a simple method which can check the source code of any ...
0
votes
1answer
1k views

Latest kernel sources not available for installation? (Fedora 26 Beta)

I just stumbled across a problem where the installed kernel sources don't match the kernel that I'm actually running. I'm running 4.11.7-300.fc26.x86_64: [root@localhost VirtualBoxGuestAdditions]# ...
1
vote
1answer
282 views

Are there any unminify tools for shell scripting?

Various minifier scripts exist for shell code, (e.g. bash-minifier), but how about the reverse? Are there any shell-centric utils or scripts to automatically turn a one-liner like this: echo foo;...
12
votes
2answers
2k views

How do I look at the source code for a command? [closed]

I suddenly decided I'd like to look at the source code for 'echo' $ which echo /usr/bin/echo so $ ls -al /usr/bin/echo -rwxr-xr-x. 1 root root 32536 Oct 31 2016 /usr/bin/echo so $strings /usr/...
0
votes
2answers
597 views

How to solve building error where a variable “… was not declared in this scope”

I'm trying to install last TauDEM (Terrain Analysis Using Digital Elevation Models) release in GNU/Linux Debian for using with Python Processing in QGIS. Installing instructions can be watched here. ...
0
votes
1answer
101 views

sloccount or similar tool which can work on .deb packages without decompression?

AFAIK deb packages are ar archives. ┌─[shirish@debian] - [~/games/example] - [10297] └─[$] ls libcpuid14_0.4.0_amd64.deb ┌─[shirish@debian] - [~/games/example] - [10298] └─[$] ar x libcpuid14_0.4....
1
vote
2answers
891 views

Remove comments in a C file [duplicate]

I am trying to remove comments from a file which may be in any part of a line and span multiple lines. struct my_struct{ field1; field2; /** comment 1 */ field3; /* comment 2 */ } ...
3
votes
1answer
1k views

How to download a whole raspbian source code?

I'm new to linux and my teacher asked me to learn about how to build Raspbian from the source code. From what read in other questions, I need to download the Raspbian source code first. In some ...
0
votes
2answers
82 views

How can I protect my robot code?

I want to build a robot using some mini-computers like Raspberry-Pi, and using Linux OS upon. I think those boards (RPi, NanoPi, etc) have external SD card to boot OS from, and my code will go there (...
0
votes
1answer
340 views

Where is the __sysctl function defined in FreeBSD?

I am reading the source code to understand sysctl in FreeBSD. It looks like the most important function int __sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, const void *newp, ...
22
votes
10answers
15k views

Counting lines of code?

if I want to count the lines of code, the trivial thing is cat *.c *.h | wc -l But what if I have several subdirectories?
2
votes
4answers
2k views

Execute binary code

I have a binary code and I want to run it. 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 How can I create a file "application/x-executable" and ...
7
votes
3answers
38k views

convert executable back to C source code

Unfortunately I lost my source code and I just have the output file that made with gcc in linux and I don’t have any access to my pc now.is there any way to convert output file to source file (in c ...
2
votes
0answers
38 views

Is information security less hard in an open source system? [closed]

In the excellent article Why Information Security is Hard - An Economic Perspective, Ross Anderson poses that: ... you can make the security critical part of the system small enough that the bugs ...
0
votes
1answer
7k views

MediaTek MT7610U (RT2860) driver won't compile

I just bought a USB wi-fi dongle using the MediaTek MT7610U (RT2860) chipset, and the drivers from their website: http://www.mediatek.com/en/downloads1/downloads/mt7610u-usb/ won't compile, with this ...
1
vote
1answer
912 views

Applying patch for bash failing

The bash shell in my production box is vulnerable to 'bashbug' vulnerability. https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/ The ...
1
vote
0answers
38 views

Downloading distro source

I'm using LDME, a Debian based distro. Is there someway, preferably automatic, where one could download the source to everything that might be executed and everything needed by those executables? I'd ...