Questions tagged [source]
The source tag has no usage guidance.
176
questions
0
votes
0
answers
23
views
How to check ubuntu server linux kernel and its source code? [duplicate]
I am preparing new TCP congestion control algorithm and implementing that into ubuntu server OS.
I downloaded ubuntu-22.04.2-live-server-amd64.iso and installing on a machine.
Just now, some questions....
0
votes
0
answers
36
views
Can't get the terminal to run the setup.sh file for the steam runtime setup
I am trying to create a standalone game using Source SDK 2013
I am following this tutorial
https://developer.valvesoftware.com/wiki/Source_SDK_2013
step three under Source SDK 2013, in the margins it ...
0
votes
0
answers
120
views
Create .desktop launcher to start a terminal with a python virtual environment enable
Despite the similar questions/answers I can find on this forum and on others, I am not able to create a desktop launcher that start a terminal with a python environment activated.
To activate the ...
0
votes
1
answer
40
views
when sourcing a bashrc how to get the line number of the error messages
Following this post, I am souring a bashrc file inside the WSL2/Ubuntu by:
source /usr/share/openfoam/etc/bashrc
but I get lots of error messages:
-bash: /usr/share/openfoam/bin/<someFile>: No ...
0
votes
0
answers
71
views
How to give the address of "bashrc" loacted in "./opt/.../etc" in VM?
I am a newbie in Linux. I have a VM on my windows and just installed OpenFOAM10 (https://openfoam.org/download/10-ubuntu/) on my VM. Then, I needed to add "source /opt/openfoam10/etc/bashrc" ...
2
votes
1
answer
47
views
apt source pulling old packages
I am trying to pull the source files from an apt repo
sudo apt source strongswan
This pulls down version 5.6.2. However on the ubuntu 20.04 focal page, it shows 5.8.2-1. Why is this version not being ...
0
votes
1
answer
2k
views
Source shell script in python
I have a shell script file and a python script file
a shell script file(STEP0.sh) contains this:
#!/bin/bash
DIR="/sc/arion/projects/Variants/annotations/gnomAD"
IN="/sc/arion/projects/...
1
vote
1
answer
62
views
How would I convert a cmake kde package to a deb source format
So I want to convert the package plank-player to Debian source
to be easily compiled, the package uses CMake.
Note I do not know what else to put in here so yay if your info ask
0
votes
1
answer
30
views
Run source after Ubuntu starts
I need to run the command
source "/opt/sqlanywhere17/bin64/sa_config.sh" after Ubuntu starts. It's taken from here. It updated LD_LIBRARY_PATH, PATH etc.
I tried this, but doesn't work. ...
-1
votes
1
answer
399
views
how can i download ubuntu's kernel?
is there any way to find and download latest Ubuntu desktop specific kernel?
for example how can i download latest kernel belongs to Ubuntu 21.10?
i am looking for .tar.xz file of Ubuntu kernel.
also, ...
0
votes
1
answer
151
views
~/.profile not reloading [closed]
I am using Ubuntu 16.04.7 LTS
Wanted to know why changes are not reflected when I change
the ~/.profile and reloading the file using
source ~/.profile or . ~/.profile
The changes are only ...
0
votes
0
answers
66
views
Created ".asoundrc" file manually , can't compile and error shown "bash: .asoundrc: syntax error unexpected token '}'
Nice to meet you.
(Using Environment)
Ubuntu: 20.04.03 LTS
shell : bash
Example info : https://github.com/mixxxdj/mixxx/wiki/traktor_audio_2
I created ".asoundrc" file manually, following ...
0
votes
1
answer
4k
views
bash -c "source ~/.profile" doesn't source ~/.profile
Here's some output from inside a Docker container (running Ubuntu 18.04) which seems to be acting up.
# source ~/.profile
net.ipv4.ipfrag_high_thresh = 134217728
net.core.rmem_default = 10485760
...
1
vote
1
answer
7k
views
bin/sh: 1: source: not found
I am trying to install fpylll from a repository on Ubuntu 18.04
The fpylll instruction in README.rst says that after Automatic install you should do
$ source ./activate
but I get a notification:
/ ...
0
votes
3
answers
2k
views
How to create a aliases for all the users linux..?
root@puppetclient-ubuntu:/home/azureuser#cat /etc/.bash_aliases
alias extend_shutdown_15='bash extend_shutdown.sh 15 ; bash /bin/max_timetrack.sh'
alias extend_shutdown_30='bash extend_shutdown.sh ...
0
votes
1
answer
376
views
how to uninstall packages built from source and remove them entirely?
I have built a lib, Open3D, from source and installed it. Afterwards, i ran make uninstall for the library and deleted the entire file directory which i cloned from git, i still have existing files ...
0
votes
0
answers
117
views
How to package firefox built from source code to smaller size?
I recently built firefox form source code, but the folder where mach built firefox is huge!
It's like 12GB in size.
How Do I make it smaller and portable to carry around on multiple linux machines?
...
0
votes
1
answer
98
views
Source code for Ubuntu [duplicate]
So I wanted to know where the source code is. I know how to get the .ISO file but how can I see or change the code? My goal is to make a Custom OS based on Ubuntu. How can I see the code of .ISO file ...
0
votes
2
answers
169
views
How to install a language which is not shown under "installed languages"? [duplicate]
I need to use "Greek Polytonic". After installing Ubuntu 20.04 recently on my new computer, it does not show "Greek Polytonic" or any kind of Greek for that matter under "...
2
votes
1
answer
74
views
Scope problem? - variable declaration is lost when don from within a sourced block, inside a bash function
Facing an issue for which am running out of answers.
I stripped my issue to a simpler version for the purpose of the example:
I have a file called datasource, with the following contents:
$ cat ...
0
votes
0
answers
392
views
If I installed Emacs from package manager, where is the .emacs file, and how do I get Emacs to see it?
I am completely blind and am currently in a job or internship where I have to use Emacs on a regular basis to learn Lisp. I was informed by other blind Linux users that Emacspeak would allow me to get ...
0
votes
0
answers
66
views
Can anyone help with “Malformed entry 9 in list file” [duplicate]
I hate to say it but, I’m extremely new to all of this and looks to me like I’ve hit a simple roadblock but I’m confused as to how I should fix this...
so my issue is pretty much any command I run ...
0
votes
1
answer
2k
views
Problems installing miniconda
I'm trying to install Miniconda in a Linux server. I don't have root/sudo access, so I'm using these steps:
Download the Miniconda installer:
wget https://repo.continuum.io/miniconda/Miniconda3-...
0
votes
1
answer
300
views
Where is Ubuntu Groovy kernel git
I can't find the 5.8 groovy kernel git at
https://kernel.ubuntu.com/git/ubuntu/
Have the maintainers moved it anywhere? How can I find the kernel source git?
4
votes
1
answer
1k
views
Why doesn't this bash script run as "sh runserver" recognize the "source" command?
I want to make a file which will run 2 command.
One will activate a virtual enviroment and after that, second command will run a server.
My file is called "runserver" and it looks like these:...
1
vote
0
answers
96
views
Download missing dependencies when building projects?
Bit of a noob question. Sometimes there are GitHub projects that I clone into my system and then try to build using some kind of a build tool. Most of the times, the dependencies will be listed in the ...
1
vote
1
answer
978
views
'source' from alias does not work, but manual sourcing does
I have these lines saved on my .bash_aliases:
alias sss='source ~/.bashrc'
alias merc='source /usr/local/mermaid-bootload/environment-setup-cortexa7t2hf-neon-oe-linux-gnueabi'
When I invoke merc, ...
2
votes
1
answer
1k
views
how to find the list of binaries/packages a source provides
We can find the source of the package with apt show <package name>, but how do we find the list of all binaries or packages a source provides?
For example apt show will give following ...
1
vote
1
answer
753
views
How to download a source package from an ubuntu version and rebuild it for a previous ubuntu version
The python3-pychromecast source package does not exist from Ubuntu Xenial official Ubuntu repositories.
I want to download the Ubuntu Bionic python3-pychromecast source package and rebuild it on ...
0
votes
1
answer
282
views
Where I can find the source code for Raspberry Pi 4 images
Images are available for download at:
https://ubuntu.com/download/raspberry-pi
Where I can find the source code to build such images?
-1
votes
1
answer
213
views
Dynamically construct variables inside the script and fetch values from source parameters
I have a txt file extract.dat which is read inside my code using source.
$ cat extract.dat
ExchgRate_prop="EDB_NAME=share_exchange SRC_WDS=wds PN=ExchgRate"
Compliance_prop="EDB_NAME=...
5
votes
1
answer
2k
views
bash: "command not found" when calling function defined in ~/.bashrc file in `bash -c` command while opening gnome-terminal tab
What I'm trying to do:
Write a script to open 3 tabs.
cd into a different folder in each tab (ie: run a unique command).
get each tab to have a unique title
I want this scripted so I can click ...
0
votes
2
answers
191
views
Is there anyway to run this command automatically when system boots up
Everytime I run my ubuntu VM I have to run source ~/.bash_profile I was wondering if there's any way which would run this command automatically as soon as I boot my VM up without me having to do this ...
7
votes
1
answer
3k
views
Why is apt source picking linux-signed-hwe instead of a real kernel?
I am running
apt-get source linux-image-4.15.0-60-generic
and get
Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-60-generic'
And I don't get the real source code. Why ...
0
votes
1
answer
471
views
static compile fails founding libs
For some rescue task I need to compile extundelete and some other tools with shared libraries within the binary file.
I've been searching through configure and make options as well as AskUbuntu ...
0
votes
1
answer
42
views
ubuntu document repository
i am looking for document repository system that i can host in my ubuntu server and be accessed by clients locally. These are the features of concern:
- associate documents with names, id no, ...
3
votes
1
answer
4k
views
source ~/.bashrc : not a valid identifier [duplicate]
I want to install Anaconda on Ubuntu WSL, and when I want to activate the installation by running the command source ~/.bashrc, I get the following error:
-bash: export: `.~/.bashrc': not a valid ...
1
vote
2
answers
4k
views
Error when I try to source ~/.bashrc Ubuntu 18
while trying to update node js I think I somehow broke my bash configuration.
When I try to execute source ~/.bashrc I get the following:
I really hope you can help me.
0
votes
0
answers
91
views
Problem regarding ubuntu 16.04 to 18.04 upgradation
After I started the upgradation, The steps like downloading the new packages, installing the new packages went well without any error. After that step, My software update app got freezed and it ...
0
votes
1
answer
4k
views
How to use bionic-updates? [duplicate]
I have a dependency problem on 18.04, libglib2.0-0 is a bit too old (I need 2.56.3 but only 2.56.1-2ubuntu1 is available).
When looking at the details of the package, I see that
Paquet libglib2.0-0
(...
0
votes
0
answers
345
views
Command 'source' do not work in script
In the command line it's working well:
$ . /home/gk/venv36/bin/activate
The same command in the script file is not working. The file has 744 modes. All echo-commands before and after . /home/gk/...
1
vote
1
answer
1k
views
Command not found after setting source in bash script [duplicate]
Following the instructions here, and everything works fine manually. However, when I use the instructions in a bash script, I get rbenv command not found because the source ~/.bashrc didn't execute ...
0
votes
1
answer
1k
views
How do I apt-get source squid on Xenial and rebuild the package
I've installed squid using apt-get install squid, and it's installed squid 3.x. However I need to compile --with-openssl however when I attempt apt-get source squid it redirects to the squid3 (dummy) ...
1
vote
2
answers
2k
views
Revisiting Bash vs Source difference
I want to ask a question about bash and source.
I acknowledge they are both used with .sh extension files such as
bash setup.sh
source setup.sh
However, I wanted to know a difference between those ...
0
votes
2
answers
2k
views
E: Type 'wget' is not known on line 1 in source list [duplicate]
Hello most helpful humans. I have read endless other threads on this subject, and typed a myriad of commands in terminal, but have caused myself more trouble than benefit it seems.
The problem is ...
0
votes
1
answer
996
views
Has anyone built and installed a kernel for Ubuntu 18.04.1 LTS?
Has anyone:
Successfully downloaded the kernel source?
Successfully installed a built kernel without it crashing on startup?
For Ubuntu 18.04.1?
I managed to use synaptic to get
linux-source ...
1
vote
1
answer
116
views
How to uninstall app via source command?
I have installed a nautilus script called Hash Checker v4.0.8 (https://www.gnome-look.org/p/1007703/), but somehow it is not shown in the right-click menu anyway. It was placed on my Desktop and I can ...
0
votes
1
answer
87
views
source list broken pakage update 16.04 ubuntu [duplicate]
After I edit my source list to default version and update and upgrade, I can't fix my problem. Here is my result after sudo apt get update
0
votes
0
answers
600
views
Why I failed to get the correct linux kernel version
I want to build a ubuntu kernel with debuginfo,so I did thease as following:
uname -a
4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Downloading ...
2
votes
1
answer
738
views
install kmymoney 4.8.1 on kubuntu 18.04
I have Kubuntu 18.04 and Kmymoney 5.0 installed. Now I discovered a bug. I can’t see the stock quotes which you can see here https://docs.kde.org/stable4/en/extragear-office/kmymoney/details....