Questions tagged [source]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

crontab cannot find environment variable even after sourcing .bashrc

crontab -e 00 00 * * * /home/username/run.sh >> /home/username/log 2>&1 Inside run.sh: source /home/username/.bashrc java When crontab job is triggered, I got this error in the log: /...
0
votes
1answer
19 views

Where can I find the source code of ftpd?

How can I inspect ftpd(the regular Linux FTP server's) source code on my machine? I'm using Debian 9. Unfortunately I can't figure out which exactly implementation has the package ftpd which I ...
0
votes
0answers
29 views

How to install OpenSSH on stripped down Linux OS without a package manager

I have a satellite box that uses a stripped down version of linux OS. It runs enigma2 SVN-2860 based on GIT-5580 used for watching satellite and terrestrial digital tv. It's a PKT Hyperion enigma2 ...
0
votes
1answer
19 views

How to install “wps-community / wps_i18n” from Github?

I'm new in Linux and trying to install WPS-Office from Github. I've already tried to install it from Snap and from Flatpak but neither works satisfactorily. One, there's correct punctuation (éâã etc) ...
0
votes
1answer
27 views

Where can I find the currently stable RHEL sshd_config?

Is there any official GitHub page, that shows the current sshd_config file, used by RHEL?
1
vote
1answer
37 views

Source code of arch command for macOS Catalina Version 10.15.3 (19D76)

I need to get the source code of the "arch" command located in /usr/bin/arch for macOS Catalina( see the output of sw_vers command below). macOS Catalina ProductName: Mac OS X ProductVersion: 10....
0
votes
0answers
42 views

tmux can't find TTY when run within read loop

I am trying to run tmux, from a sourced script (i.e., my .bashrc), within a while read loop. However, in doing this, tmux is unable to find the TTY and gives the following error: open terminal failed:...
0
votes
1answer
39 views

some troubles on installing deja-dup from source code

(Learning how to install programs on linux...) deja-dup source code can be downloaded on its GitHub repo. There is a makefile con the package. Once into the folder I run: santi@eoan:~/deja-dup$ make ...
0
votes
1answer
32 views

OpenBSD: Where to seek for the source of programs not installed through ports?

in OpenBSD I use pkg_info -E $(which [cmd]) to be supplied with the name of the package/port to the executable/command [cmd]. Having this information I can further look for the source code to the ...
0
votes
1answer
95 views

Where can I find the Copyright information of .rpm file?

I can see the licence information about rpm file by executing below: rpm -qip {rpmfilename}.rpm but there is no information about copyright holder. Is there any easy way to know who has the ...
1
vote
1answer
32 views

Where is the source code of exim4-4.89-2+deb9u4?

I would like to know where to find the source code of exim4, with specific version and revision, 4.89-2+deb9u4. I have executed apt-get source but got an error message: apt-get source exim4=4.89-2+...
0
votes
1answer
124 views

`source` command: .csh and .sh file not found even though `ls` clearly lists it?

As you can see, for some reason the source command says the file wasn't found even though it's clearly in the directory. I show the first bit of the output of cat as well: it shows the first line as ...
0
votes
0answers
17 views

Convert source/ text files

[openvms] so i know how to use command convert source files to sym or text files. But how do i convert text or sym to source file? Is it simply “convert *.text to convert to source file? I use the ...
0
votes
1answer
62 views

Source files when opening an external terminal through Bash

For a start up script I want to open multiple several terminal windows on an Ubuntu system and execute some commands in each. Some of those commands require files to be loaded. Normally I do that with ...
0
votes
0answers
41 views

How to fetch the source for gcc-arm-linux-gnueabi?

I am on a Ubuntu 18.04 and deb-src lines in sources.list are in place for all the package repos I am using. I installed gcc-arm-linux-gnueabi and got gcc-7-arm-linux-gnueabi and gcc-7-arm-linux-...
1
vote
1answer
59 views

On Linux, source different .zshrc files for different apps

Based on three questions: Use different profiles with ZSH (in different terminal apps), but deisgned only for macOS Different tmux configs for different sessions?, but I want to use different .zshrc ...
-2
votes
1answer
28 views

How to cache a file using source [duplicate]

Is there a bash command like source except it will only source a file once for a given shell? for example: source_cached foo.sh # runs as normal source_cached foo.sh # would not load foo.sh a ...
0
votes
0answers
175 views

How to build from parent directory in current directory with make(“make” command)?

I have the source code of a package what I want to build, I need build from the parent dir, and output the builded contents in the current dir, for example with the directory structure: parent_dir --...
-3
votes
1answer
106 views

How do I count all the lines of code in all headers and source files in a folder? *.cpp *.h [duplicate]

Say I have a project folder containing a number of header and source files for c++; How would I count the total number of lines of all of these?
1
vote
0answers
23 views

How to find the changes done to a particular kernel module through all releases

I need to access source code of all past versions of read_write.c under /fs/ from 3.10 to 5.3. So far I had to go through https://elixir.bootlin.com/ repeatedly and look at every single version that ...
0
votes
1answer
40 views

The evasive gmodule-2.0 package

There are packages in Fedora production repos, which require gmodule-2.0 package if compiled from source but I could not find any traces of this evasive package anywhere. dnf is of no help as unlike ...
0
votes
1answer
42 views

How to free up space after kernel compile fail - where are the extraneous stuff

I need custom patch my linux kernel so it can access the MacBook Pro (2018/2019) SSD for Ubuntu installation. Luckily, someone made a patch that seems to work. I have a second computer with a 1TB ...
1
vote
1answer
51 views

Mesa needs xrandr dependency

When I run ./config it says that the program needs xrandr. But I already have it installed. Is this a environment variable issue? I'm not too sure what to do from here.
-1
votes
2answers
63 views

How do I find the dependency requirements for a source package?

If I'm compiling a package from source how do I find the required dependency? I notice when compiling Python 3 on Centos7 the only way I could find the required libraries and such was to run the ...
0
votes
0answers
142 views

What is the entry point of a so (shared object?)'s source code?

Specifically I'm trying to port libcroco's functionality to a cross-platform BASIC dialect and need to know where to start looking at the code. In short, what is the equivalent of Window's DLLMAIN?
1
vote
1answer
270 views

How to source inline text

When you are creating tutorials online for people to use in a single terminal sometimes it's nice to source inline code...however none of these worked as I would expect. I would expect foo to be "bar" ...
0
votes
0answers
38 views

RPM making error from

When I am building drbd-utils-9.5.0 rpms from source offline and I am getting error "No such file or directory" as follows. So how can I build rpms offline resolving the issue ? [root@db1 drbd-...
0
votes
1answer
451 views

Building sstp-client on Kali Linux from Source: dpkg errors

I am following the commands below--modified from the answer here--in hopes of building a .deb package of sstp-client for my Kali Linux build. I eventually want a username/password-authenticated SSTP ...
-1
votes
1answer
1k views

Manjaro 18 (Arch) Installing Packages Outside Repository

So I recently switched to Manjaro. I am having an issue with installing MegaSync from mega.nz. When I download their package for Arch it gives me a .tar.xz file. I'm not familiar with .xz but it's an ...
1
vote
0answers
48 views

Compiling a program from a source in GuixSD

I installed GuixSD and was looking for a way to install mega.nz syncing program. Perheaps the only way is to do it from a source. I found some info of it on Github: https://github.com/meganz/...
-1
votes
1answer
52 views

Privoxy Installation of source code will not work

I am trying to install Privoxy from source code (3.0.28 (stable)), but it dose not work. I followed the INSTALL instruction, but the program won´t install. GNUmakefile:835: recipe for target 'install'...
1
vote
1answer
443 views

Where is mosquitto source directory located?

I want to compile mosquitto-auth-plugin, which requires configuration of config.mk file, where one of the required parameter is to Specify the path to the Mosquitto sources MOSQUITTO_SRC =.Could you ...
26
votes
5answers
4k views

Do the common programs (for example: “ls”, “cat”) in Linux and BSD come from the same source code? [duplicate]

Both Linux and BSD have common programs like ls and cat and echo and kill. Do they come from the same source code, or do both and Linux and BSD own their own unique source code for these programs?
0
votes
1answer
51 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
14 views

What microarchitecture are packages on apt/yum typically built/tuned for?

I'm just learning a bit about lower-level languages and I've noticed that gcc you can specify -march and -mtune parameters to optimise the software for particular CPU families. But I've also found ...
1
vote
0answers
26 views

Where can I find the source code specifically for the minimal debian installer cd?

I want to distribute a debian virtual machine as a OVA file, in order to comply with the GPL I want to provide the source code for debian alongside the debian virtual machine. Instead of downloading ...
1
vote
1answer
66 views

How can I source a base 64 encoded file in bash?

Is there a way to source a base64 encoded file in bash instead of doing this? cat $DIR/data/saves/$savegame | base64 --decode > $DIR/data/saves/$savegame.decoded . $DIR/data/saves/$savegame....
0
votes
0answers
109 views

Centos: no such package(s) for specific nginx version

I tried to build a customized nginx with specific nginx version with module in https://github.com/anomalizer/ngx_aws_auth I setup the nginx repo # nginx.repo [nginx] name=nginx repo baseurl=http://...
0
votes
0answers
55 views

Sourced .bashrc detection

At the user level is there a way for me to craft a sort of 'tripwire' in my .bashrc file to detect if another user has sourced my .bashrc? What I would like to do is have some sort of log created ...
0
votes
0answers
111 views

How to trace a specific historic file in the Linux kernel tree: Git question

I'm currently manually building a Linux image with some specific drivers for a Xilinx Zynqmp device. Aside from the main Linux tree, there are 2 other mirrored Linux repositories, one from Xilinx and ...
5
votes
0answers
76 views

Possible to “build world” in FreeBSD without root? [duplicate]

The FreeBSD jail manpage has instructions on building a jail distribution tree: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D make distribution DESTDIR=$D Is it possible to ...
0
votes
1answer
144 views

confused about lfs sources installation

I started to homemode Linux build using LFS book. I came to Part II. - Chapter 5 about "Constracting a Temporary System". I downloaded all needed sources to /mnt/lfs/sources. When i want to start ...
0
votes
1answer
316 views

source bash string instead of file

I want to source a bash function from a string instead of a file at the command line, so instead of this: source file.sh I want to do something like: source `cat <<EOF some_func(){ echo ...
0
votes
1answer
109 views

How to ingore rpmfusion source repos when downloading source package

I have few rpm repos in my Fedora installation and I've want to download source package and got error that synchronization of rpmfusion-free-updates-source and rpmfusion-nonfree-updates-source failed. ...
0
votes
1answer
101 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
2answers
1k views

Using source command in script but defining the input file in the command line of a terminal

I have a script at the moment that reads in variables and then operates on them like the following; #!bin/bash a=10 b=15 c=20 d=a*b+c echo $d However I would like to split this up into an input ...
0
votes
1answer
50 views

Configure mount to recognize self compiled fuse exfat

after removing the default exfat-fuse package version 1.2.5 from my Debian Stretch system and replacing it with version 1.3.0, compiled from source, running mount using type exfat results to an ...
3
votes
1answer
1k views

Sourcing a script containing `echo ${BASH_SOURCE[0]}` still shows the pathname of the sourced script

I have a bash script, which outputs the pathname of the script itself $ cat f4.sh #! /bin/bash echo "${BASH_SOURCE[0]}" I imagine that if I source the script in another script and run the other ...
0
votes
1answer
47 views

How is source code reviewed/audited, prior to inclusion in linux mainline?

An answer to this question would provide insight and references about how the linux kernel source code is reviewed prior to be released? Particular interesting aspect of this question to me are: Who ...
1
vote
1answer
56 views

Locating source files for arch linux executables

Is there a simple way to retrieve the source files that built a given /usr/bin/* command (meaning also those placed there via AUR)? Is there a command I can issue through maybe a pacman wrapper that ...

1
2 3 4 5 6