Questions tagged [source]
182 questions
257
votes
7 answers
Why ~/.bash_profile is not getting sourced when opening a terminal?
Problem
I have an Ubuntu 11.04 Virtual Machine and I wanted to set up my Java development environment. I did as follows
sudo apt-get install openjdk-6-jdk
Added the following entries to ~/.bash_profile
export…
Viriato
- 2,781
- 3
- 16
- 10
81
votes
2 answers
Why isn't .profile sourced when opening a terminal?
Just installed Ubuntu 14.04.1 LTS.
According to .profile,
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash, if ~/.bash_profile or ~/.bash_login exists.
There is no ~/.bash_profile or…
B Seven
- 1,069
23
votes
1 answer
Ubuntu 12.04 : Uninstall boost installed from source
I installed boost 1.54 libraries on ubuntu 12.04, and it seems to conflict with my installation of libboost-all-dev, so i want to uninstall boost 1.54 libraries completely. How to uninstall the one installed from source?
shivshnkr
- 5,113
17
votes
3 answers
Removing sources after building from them
Suppose, we've built some package from sources (configure make install).
May we remove sources directory after successful building? Or it depends? On what, then?
disfated
- 1,083
17
votes
2 answers
Where is the installed kernel source located?
I have installed kernel source with
sudo apt-get install linux-source -y
Now, where is the source located?
Nickolai Leschov
- 8,400
12
votes
1 answer
bash script source: No such file or directory
I have a script that begin like this
#!/bin/bash
VALKYRIE=~/myProjects/valkyrie
source $VALKYRIE/cluster.conf
but when I run it it returns
line 2: ~/myProjects/valkyrie/cluster.conf: No such file or directory
but the file exist and when I run…
Khoi
- 223
10
votes
2 answers
Source code for 'df' command
Can someone tell me how to locate the source code for the 'df' command. My operating system is Ocelot.
Thanks!
Eae
- 763
10
votes
1 answer
Is there an easy way to automatically patch ubuntu sources as they become available and upload to a PPA?
I'm looking for a tool to do the following:
Automatically detect updates to a set of source packages (specifically gtk+2 and gtk+3)
download the source package
apply my own custom patches to the source
commit the patch properly (dpkg-source…
Nick Booker
- 101
8
votes
3 answers
How to update packages compiled from source?
Possible Duplicate:
Can I update software installed from source code directly
I am about to install the Enlightenment desktop environment and it is a very long process. I want to know if once I have it installed will it update automatically or…
Jacky
- 81
8
votes
1 answer
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 does this happen and how do I get the real…
Pilot6
- 92,041
8
votes
3 answers
How to change the Ubuntu source code
I have heard that we can obtain the source code of Ubuntu and customize it as we wish. But where can I find the source code of Ubuntu, and what languages are used to write Ubuntu?
7
votes
0 answers
How bad are duplicate entries in sources.list?
What is sources.list? Is it like 'registry?'
How important is it it to keep it 'clean?'
When I did
sudo apt-get update
the last lines to display were these:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ raring/partner amd64…
bruce
- 2,977
5
votes
2 answers
How do I download current kernel source
Ubuntu 16.04 LTS running kernel 4.10.0-27-generic.
uname -a shows
Linux my-pc 4.10.0-27-generic #30~16.04.2-Ubuntu SMP Thu Jun 29 16:07:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
When I download the kernel source
apt-get source…
hatterman
- 2,330
5
votes
2 answers
BASH_VERSION not set and .bashrc not sourced in the interactive shell
I created a new user by executing
sudo useradd -m harry
When I try to substitute the user by "su - harry" then everything I can see is a "$" (dollar) sign, the autocompletion isn't working and the shell builtins (e.g. source) are not available.
I…
KGolbang
- 153
- 1
- 3
5
votes
1 answer
Where to get Aegisub?
Where can I get new Aegisub? Ubuntu reps have only 2.1.9 which is VERY buggy (it doesn't support cyrillic lower case, it's unaceptable for me). I found only source, but I'm not sure, that I can do everything right. Where to get new package (at least…
charlag
- 165
- 6