Questions related to path in networking, file system and OS.

learn more… | top users | synonyms

1
vote
1answer
16 views

Building and using a lib without installing it? (e.g. libcurl)

I'd like to use libcurl (a lib that handles HTTP connections) by linking it statically to a program I am writing. I am new to building programs from their source, so I have no clue on how to do it ...
0
votes
1answer
17 views

How to link to php from xampp installation so i can just use php command instead of full path?

I have xubuntu installation and xampp installed on my pc, and everything works great, but lately i am experimenting a little bit with laravel framework and a lot of tutorials and people just use php ...
1
vote
1answer
31 views

Does order of precedence with ENV variable changes which program to use?

Question: Does order of precedence in the PATH influence Ubuntu to choose which program to use? More details: I use .bashrc for declaring private env PATH, I have installed MSP430-gcc from ubuntu ...
1
vote
1answer
26 views

g++ not working… need to change PATH variable

am working on Ubuntu machine. I have been trying to run make try to compile try.cpp. I am not able to make it work. I have tried all the solutions online. apt-get is what I am using. I have tried ...
1
vote
0answers
8 views

Sharing PATH across login mechanisms with modification support

I'm running Xubuntu 14.10, currently using lightdm. Let's examine two process trees: init───lightdm───lightdm───upstart───xfce4-terminal───bash and: ...
1
vote
3answers
170 views

How to get the path to a file in your system [duplicate]

I am trying to cd /home/ervin/Downloads/psneuter in order to push psneuter to an android phone in order to root it. I believe the path to the file and folder is correct, yet I get a message no such ...
1
vote
1answer
29 views

How select between multiple programs with same name for linux shell?

I've already installed an old version of mysql server into my linux system using repository in /usr/bin path. Recently I upgraded it to latest version using linux binary package (with no installer) ...
0
votes
2answers
46 views

updating my path not working

I want to add a script directory in my home directory (for something different then just adding to bin). I keep getting "No such file or directory" after updating. Now I noticed that in the GUI file ...
0
votes
1answer
31 views

Server cannot run apt-get anymore

I was trying to setup an older version of gcc (4.1) on ubuntu 14. I was having some difficulties to set alternatives. I so thread where someone said to use this command: export PATH="/usr/bin:$PATH" ...
1
vote
4answers
1k views

How to write the path of a folder with space in it's name? [duplicate]

I can't figure out how to write the path of a folder that includes spaces in its name (in Terminal). I tried: cd /path/path/path/"A Folder"/file cd /path/path/path/'A Folder/file cd ...
0
votes
1answer
64 views

how to use “update-alternatives” to manage multiple installed version of the same app

I frequently encounter path related problems while compiling or running an app.I have two versions of node in my system, one is from official repo, the other manually installed from source. Today I ...
0
votes
1answer
146 views

apt-get not looking at /usr/lib for libstdc++.so.6

I have come across the somewhat common "GLIBXX_3.4.15 not found" error. In my case though I'm seeing something really weird. Usually the error appears something like this: /usr/lib/libstdc++.so.6: ...
0
votes
1answer
48 views

Creating a Path Variable

I need to set a path for a variable $week4 to be Week4/assignment so that typing cd $week4 will change the working directory to Week4/assignment/ I've seen a few examples of similar stuff on here, ...
-1
votes
1answer
53 views

Path is unknown when installing JustCloud

I am trying to install JustCloud on a new install of Ubuntu 14.04. JustCloud on Linux/Ubuntu says I need to run: sudo apt-get install rdiff librsync1 sudo dpkg -i ./JustCloud_64.deb before ...
30
votes
4answers
2k views

Is the tilde, `~` considered as a relative path?

I'm trying to extract the different part of the Nvidia cuda library installer. I'm using the following command: mkdir ~/Downloads/nvidia_installers ./cuda_6.5.14_linux_64.run ...
0
votes
1answer
29 views

Same program, different version, in different locations…how to specify which to use?

Hi all I'm trying to run a program called cufflinks on my machine, however there appears to be a version of this in multiple places on my existing system. For example when I typed whereis cufflinks ...
0
votes
0answers
117 views

libGDX project generator: Build Failed : Cannot find java system compiler

while generating a project libGDX throws thid error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:compileJava'. > Cannot find System Java Compiler. ...
1
vote
2answers
34 views

why everything is reverted back in PATH env variable after reopening shell?

As far as I know PATH is not a temporary variable. And when you reopen your terminal it should work as before. In my case it's not. What I do is to add another path to $PATH: export ...
2
votes
2answers
116 views

installing a script in $PATH

I am trying to use yeoman in Ubuntu. Everything is installed correctly but I can't use the command yo from bash. If I navigate to the appropriate directory and run node cli.js everything works from ...
1
vote
1answer
181 views

Why does my program not execute a perl file

I have a perl file name make_html.pl which works on a module named API::PDF2 (link) I downloaded it installed it and I think I set the path wrong. my @INC has the values Built under linux Compiled ...
0
votes
1answer
524 views

Cannot find device path for USB Bluetooth adapter

I am trying to use a Bluetooth adapter (known as Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) in lsusb, see further below) under Xubuntu 14.04, but my system never recognizes it. ...
0
votes
1answer
241 views

Cannot access a file using java.io.FileInputStream

I am working with java servlets and I need to access a file trail.xlsx within the java code using java.io.Fileinputstream class, for windows we have to add the drive letter but here we don't have any ...
0
votes
1answer
30 views

cannot find command added to Path - sail_align

I'm trying to build sail_align programm by following these instructions. So far everything went OK and I've completed the last fourth step without errors: 4) sudo ./Build install This command will ...
0
votes
1answer
406 views

How to configure path or set environment variables for installation?

I'm aiming to install APE in Ubuntu 14.04 LTS, a simple code for pseudopotential generation. I'm having this error message while running ./configure: checking for gsl-config... no checking for GSL - ...
1
vote
1answer
30 views

A path that appears first should be considered in first place?

I'm having a strange problem with a ubntu 12.04 server: hithwen@ip:~$ cmake --version cmake version 2.8.12.2 buildbot@ip:~$ cmake --version cmake version 2.8.7 So, different users are executing ...
0
votes
0answers
128 views

Cordova unable to add Android Platform

I have created a project and moved into that directory. When I am trying to add "android platform" to the project it gives an error. I have exported the path correctly. Everything worked fine ...
2
votes
2answers
140 views

Unison fail? Ignore path and time stamp

Trying to set up Unison version 2.40.65 on two Ubuntu 12.04 LTS desktop computers. The primary computer is a System76. The secondary computer is a late 2012 Apple mini mac that no longer has OS X on ...
0
votes
1answer
235 views

Want to write command in terminal and open application

i just installed Matlab on my ubuntu 14.04 and i can open it just with terminal writing full path, but i want to open terminal and write only "matlab" to start that program without writing full path. ...
1
vote
3answers
60 views

Add to PATH, no ~/.profile nor ~/.pam_environment

I just compiled ffmpeg, now I just want to add it on the path. Every source I can find reference .profile, and if not present or in specific cases, tell to use .pam_environment. But double tab give ...
1
vote
1answer
248 views

How to put executable to /usr/bin?

I downloaded eclipse and extracted it to /opt. My question is how can I make it run from terminal as like other programs like javac, java. I did with update-alternatives as follows: sudo ...
0
votes
1answer
65 views

Change 'eclipse' command to correct PATH

Currently I have eclipse installed on "home/gabriel/Programs/eclipse/eclipse" and I have already created the eclipse.desktop file with correct parameters and it's working fine, but I can't use the ...
2
votes
1answer
335 views

Can't find binary file in path

folks. I've extracted a tar file with a few binaries into /usr/local/arm/bin and setup my path to include this folder. When I try to run which: $ which arm-elf-gcc /usr/local/arm/bin/arm-elf-gcc ...
0
votes
0answers
61 views

ubuntu 12.04: Path Include in Make/options file

I am using OpenFOAM with QtCreator. Currently I have to implement some Integralfunctions with several input parameters like: Code: class IntegralFunctionB { private: double x; double y; ...
0
votes
2answers
184 views

SCP command giving some path error

I want to copy an ISO image from my file server to my xen server using scp. I gave the below command in my xen server console but it gaves me error, dont know whats going wrong. Console on XEN server ...
1
vote
2answers
1k views

Change default user folder paths in Xubuntu

How do I change default user folders location in Xubuntu? I have a Dropbox, and I keep all my documents and music on it. I want to set it up so that by default all my documents and music in ...
0
votes
0answers
97 views

Executable not created after rosmake

This error am facing is strange and am not able to resolve this over 5 days. your help is much appreciated. I have detailed the issue below. I compiled a ros package known as tum_ardrone. before ...
0
votes
1answer
56 views

How to add paths in ubuntu

I know that this is a very popular question with a lot of threads already about it, but unfortunately after trying some of the suggestions I didn't manage to solve my problem, so I am posting a new ...
0
votes
2answers
103 views

unable to set java path

Hey i am trying to save my oracle jdk path by using following command sudo gedit /etc/environment and the i am saving path as JAVA_HOME=/usr/lib/jvm/jdk1.7.0_51 ...
0
votes
1answer
401 views

what is the path to adb binary installation

In a executable script,I need to add Path to adb binary as follows # 1. Configure where your ADB binary is installed export AdbCmd="<Path_to_ADB_Binary>" So what is the path in Ubuntu ...
1
vote
2answers
166 views

How to add a file somewhere in my $PATH list

How can achieve what you can see below? I read this question but did not succeed. My OS is Lubuntu 13.10 which is based in Ubuntu 13.10 You are technically ready to go, but there's one extra step ...
2
votes
1answer
45 views

directory creation problem

What is the meaning of the following statement : I want to install math system named GAP. mkdir: cannot create directory `/usr/local/lib/gap4r5': Permission denied Cannot create directory ...
1
vote
1answer
937 views

Permanently Remove Item from `$PATH`

I've dug around forums trying to find a way to get rid of some default items in my path, but to no avail. Here is what it gives right now: ...
0
votes
2answers
5k views

Where is my Imagemagick installed?

I tried to locate it with locate imagemagick My result is this : /etc/bash_completion.d/imagemagick /usr/lib/mime/packages/imagemagick /usr/share/doc/imagemagick /usr/share/doc/imagemagick-common ...
5
votes
5answers
12k views

What is a full path name?

I would like to understand what full path name really means. I have a file in my home directory called my_script. I assumed the full path name is ./my_script, meaning that it is in the root folder, ...
0
votes
1answer
294 views

Editing the path files for configuring make file

I installed a new software in my Ubuntu 12.04. To install I downloaded it,and then do these in the terminal cd ~/Downloads chmod +x gpucomputingsdk_4.2.9_linux.run ...
0
votes
1answer
241 views

setting PATH env variable not working

I want to set Sonar-Runner bin directory in PATH in .profile directory in Ubuntu. When I execute echo $PATH it is showing the path that I set, but when I try to run sonar-runner.bat file using ...
0
votes
2answers
137 views

How to make a script which always activates on the startup? [duplicate]

So I'd like to add always a folder to the Path. I'm not a huge linux wizard but I think I would need to always write the "export PATH=$PATH:(directory)" line when I log in. But I need this to be on ...
1
vote
1answer
463 views

How do I extend the PATH used by the awesome window manager run command?

I have a bin directory in my home directory. I would like for the Run: shortcut to search that bin directory as well. How do I add it to the Run search path?
0
votes
2answers
561 views

How to add your Eclipse workspace folder to your PATH?

I am using Ubuntu 12.04. Hi I have been working on the following issue for a couple of days and as much as a I look at the many different answers (What is PATH environment variable and how to add it) ...
2
votes
0answers
428 views

Setting PATH with two different TexLive versions

I have two different versions of TexLive: the Ubuntu binaries for TexLive 2012, which live in usr/share, and TexLive 2013 which lives in usr/local. As per instructions here, my PATH now looks like the ...