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]

The tag has no usage guidance.

152
votes
5answers
252k views

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 ~/....
28
votes
2answers
32k views

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 ...
14
votes
1answer
25k views

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 ...
13
votes
2answers
62k views

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?
12
votes
3answers
8k views

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?
10
votes
2answers
5k views

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!
9
votes
1answer
310 views

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 ...
8
votes
3answers
9k views

How to change the Ubuntu source code [duplicate]

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?
8
votes
1answer
13k views

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 ...
7
votes
0answers
640 views

How bad are duplicate entries in sources.list? [duplicate]

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:/...
6
votes
3answers
3k views

How to update packages compiled from source? [duplicate]

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 ...
5
votes
1answer
2k views

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 ...
5
votes
1answer
705 views

How do I edit the autosave interval of gedit?

Can you people tell me how to edit gedit, please? I want to change the autosave feature so that it saves every 1 second, I was able to investigate further that I needed gconf-editor so I installed it ...
4
votes
1answer
216 views

What is the advantage to build unity from source

Can somebody explain me what is the advantage to build something like unity from source?
4
votes
2answers
199 views

Update package-manager to include programs installed from source

I am installing aircrack-ng from source using the instructions given in their official website. However when I am finished installing, I run: dpkg --get-selections | grep aircrack-ng Or: apt-cache ...
4
votes
1answer
392 views

Where do I download the source code to Unity Next?

http://unity.ubuntu.com/getinvolved/development/unitynext/ When following the instructions of this page, to download source, my ~/unity/unity-next becomes a branch, but the folder is empty. How can I ...
3
votes
1answer
944 views

How fix a malformed entry in this apt file [duplicate]

Here is the error message: E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component) This is what's written in my file: deb http://packages.ros.org/ros/ubuntu $ (...
3
votes
2answers
3k views

Which packages provide the pictured gnome-panel applets?

Which source packages contain the source code of the indicated applets? If the answer is a catch all source package like "gnome-applets", what is name and location of the individual applets within ...
3
votes
1answer
4k views

Problem sourcing variables inside Upstart

I'm trying to use the variables defined in /etc/environment in an upstart script running on 12.04. I'm able to export the variable to the child process but for some reason I not able to use them in ...
3
votes
4answers
4k views

How do I install CouchDB 1.1.0?

I'm trying to get CouchDB 1.1.0 going on my Ubuntu 11.10 laptop. So far I was unable to find a binary package and even so all dependencies and dev headers are installed, I'm unable to compile it. The ...
3
votes
1answer
2k views

source command not found

I installed python environment and everything related to that being a user xxx and in group nginx. When I try to activate the environment using the source /path/to/activate being user xxx I can do it ...
3
votes
1answer
112 views

Why is this happening to me with the source in Ubuntu 11.10?

I problem after problem ... I spend above and it has happened again, I Pungo an image with what happens to me, with some letters on the screen I get a horizontal grating that prevents me from seeing ...
3
votes
1answer
435 views

How to build ubuntuone-client so that it doesn't depend on nautilus and gnome

Basically I want to build ubuntuone-client so that it doesn't have nautilus and gnome related dependencies. Can this be done? if so how?
3
votes
2answers
6k views

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 ...
3
votes
1answer
764 views

ufw and iptables show port open, everything else suggests it's closed

Ubuntu server 16.04.1 . I used ufw to open port 27015 (without specifying protocol, so both TCP and UDP), which is required for RCON access on Source servers. According to both ufw and iptables, port ...
3
votes
1answer
69 views

Overriding cd builtin to source env settings, possible to use with autocd?

I am currently overriding the builtin cd command to source an environment file based on the environment currently being built. My main question pertains to how cd runs when I have shopt -s autocd ...
3
votes
2answers
378 views

How do I prevent apt-get from upgrading packages built from source with apt pinning? [duplicate]

I have a package installed (xcp-xapi) which is prone to a bug. The fix is very simple (only a couple of lines in the code) so what I do is the following: apt-get source xcp-xapi Then I find the ...
3
votes
3answers
5k views

How can I modify the kernel when I already have Ubuntu running on my machine?

Sorry if this is an extremely stupid question, but I'm brand new to Linux and I'd like to try to figure out how to modify my own system. From what little I know so far about Linux, I would imagine ...
3
votes
1answer
650 views

How to build a source package?

I'm the lead developer of an open source software called GDevelop (https://github.com/4ian/GD): I'd like to distribute it on Ubuntu and benefit from the Launchpad platform to get it automatically ...
3
votes
0answers
56 views

remove duplicate source entry [duplicate]

Possible Duplicate: Duplicate sources.list entry but cannot find the duplicates? This is my source.list and seems fine to me # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (...
2
votes
1answer
203 views

Script in ~/.bashrc works when manually executed, but not otherwise

This is pretty strange. So I developed this thing called SahibLib and it's basically a script that you source that sources a bunch of other scripts. Its directory tree looks like this: /home |-...
2
votes
1answer
855 views

Get source code for copy/paste [closed]

Every operation performed by operating system have a source code. So for coping operation there should be source code. So I need a file's name having source code for copy operation.So I can add some ...
2
votes
2answers
3k views

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 ...
2
votes
2answers
889 views

sudo apt-get update giving error about duplicate

Getting an error about duplicate sources, how can I get around this?
2
votes
1answer
553 views

3.0.0-13-lowlatency-pae, where can I find its source

I know for another post that using apt-get source linux-image-$(uname -r) I can get the kernel source, but I'm using the 3.0.0-13-lowlatency-pae kernel and using the command, I got this message: ...
2
votes
2answers
620 views

Trying to find google/protobuf/compiler/parser.h

We have an application currently building on Fedora that we're trying to port to Xenial (16.04). It makes use of a header file /usr/include/google/protobuf/compiler/parser.h that in the Fedora world ...
2
votes
2answers
8k views

how to source csh script from bash environment?

I am using bash shell but some of the scripts that I need to source are in csh format. Can somebody tell how I can source csh scripts from bash shell? By sourcing I mean the sourced csh script should ...
2
votes
1answer
9k views

Package 'lib32ncurses5-dev', 'lib32z1-dev' has no installation candidate

I'm trying to build blink(content_shell) on Ubuntu 12.04 32bit and I am stuck on build/install-build-deps.sh. I think I have tried every single solution that I found on stackoverflow Error Log: It ...
2
votes
1answer
601 views

How to install a Java program from source

How I can install TubeMaster++ from SourceForge ?
2
votes
2answers
221 views

ubuntu source code, for what?

I found this link which contains Ubuntu 12.04 source code. It's about 3 DVDs and sizing 10GB. I have downloaded all DVDs but I didn't find any installers in it. I wonder if there is a way I can make ...
2
votes
1answer
2k views

linux-source-3.5.0 for ubuntu 12.04.2?

I have Ubuntu 12.04.2 with kernel 3.5.0 and need to recompile some modules, but i`m getting hard to find the correct sources. apt-get only has sources for 3.2.0? Where i can get the correct sources ...
2
votes
1answer
321 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....
2
votes
1answer
1k views

bash: complete: filenames: invalid option name?

When I try to source my .bashrc file after updating it with new environment variables, I get the following message: "bash: complete: filenames: invalid option name". As I'm new to Ubuntu, I'm not ...
2
votes
1answer
4k views

While Upgrading to ubuntu 14.04 i personally edited the source list and corrupted it, Need suggestion to resolve and upgrade! [duplicate]

I'm new to ubuntu, while upgrading from ubuntu 13.10 to 14.04 i was getting some errors in the source list. While trying to make it right i used a source list of another pc and replaced it with mine, ...
2
votes
0answers
42 views

Getting server kernel source [duplicate]

Possible Duplicate: Where can I find the source code for the Ubuntu Kernel? I'm trying to get the kernel source for the version of the kernel running on the cluster that I have taken over ...
2
votes
0answers
39 views

how to add sources in video lenses? [duplicate]

Possible Duplicate: How to write a simple scope for a Unity lens? Im pretty new to ubuntu and was attracted to the idea on 12.04 of the video lenses where to searches BBC iPlayer etc for videos ...
1
vote
2answers
325 views

How to download source code of package_name into specified directory ?

The following command downloads the source code of pure-ftp into the current directory. apt-get source pure-ftp How to download it into specified directory? I want to download the source code of ...
1
vote
2answers
2k views

sh: 2: source: not found

I am having a problem with the installation of Armitage in Ubuntu 14.04 I have followed this link and everything is Okey http://www.darkoperator.com/installing-metasploit-in-ubunt/ But the last ...
1
vote
2answers
2k views

Malformed line in my sources list, how to resolve?

Before i start, i've tried the solution from this thread How do I remove a malformed line from my sources.list? but unfortunately, the steps performed in that thread are already covered for me. The ...
1
vote
2answers
55 views

Kernel source downloaded accidentally, and I want to delete it

Didn't see a solved thread before asking this, but if I'm stupid, pls point me to the one. So by accidentally I mean it was not what I expected it to download. I managed to setup closed NVIDIA driver ...