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

learn more… | top users | synonyms

6
votes
2answers
42k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell ...
0
votes
1answer
17 views

Path error in Ubuntu

I'm having this strange output whenever I type $PATH. The part that says No such file or directory. bash: /usr/local/sbin:/usr/local/bin:/usr/sbin/:/usr/bin:/sbin:/bin: No such file or directory ...
0
votes
1answer
26 views

JAVA path error in hadoop

I installed hadoop watching a youtube video. while I try to run this in terminal it gives me this error srimanth@srimanth-Inspiron-N5110:~$ /usr/local/hadoop-2.6.0/bin/hadoop version ...
4
votes
3answers
10k views

Where is my boost lib file?

I am using boost. I installed it using sudo apt-get install. Now I am unable to find my boost lib file on my filesystem. I want to include the path of the lib in my Qt project. grepping is taking too ...
1
vote
1answer
33 views

How to identify my device by their physical path?

I'm creating a computer which manipulate harddrives. I would like to identify the harddrive not by the order in which I plug them into my computer but by the slot I put them into. I know Ubuntu ...
0
votes
1answer
40 views

bcd path dual boot Windows/ubuntu

Liking ubuntu (studio), but I do not like how grub takes over the boot process. had a dual boot and reformatted the Windows partition. Reinstalled Windows. have a bcd program on Windows to dual ...
1
vote
1answer
38 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
26 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
44 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
2answers
23k views

Adding a Directory to a Path in .profile

I am new to Ubuntu (coming from Windows 7) and I am trying to add a directory to my system path and for some reason I can't get it to work. I am using Ubuntu version 12.04 LTS I tried following this ...
1
vote
1answer
49 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
12 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: ...
6
votes
2answers
6k views

How to open ~/.pam_environment?

I wanted to set environment variables JAVA_HOME and PATH. So I wanted to open ~/.pam_environment since it is the best place to set environment variables relevant to a particular user according to the ...
1
vote
3answers
195 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 ...
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 ...
1
vote
1answer
35 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
1answer
617 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
2answers
50 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
185 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
32 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
3k 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
81 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
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
63 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 ...
0
votes
1answer
480 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 - ...
6
votes
3answers
270 views

Quick path jumping

I was just at a lecture, where I noticed the lecturer using a command (probably aliased) to jump to a specific folder. Example: ~/code$ j sciproj ~/projects/sciproj2011/$ This looked quite slick, ...
0
votes
1answer
30 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
119 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. ...
2
votes
2answers
137 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
503 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?
1
vote
2answers
36 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 ...
1
vote
1answer
209 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
295 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 ...
1
vote
1answer
35 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 ...
4
votes
2answers
4k views

Is there a GUI to edit the PATH variable?

There's a GUI in Windows to edit the path variable. I was wondering if there's something equivalent in Ubuntu to do the same.
0
votes
1answer
518 views

Add a “named” path to .bashrc

I have an error of [error] Android SDK not found. You might need to set ANDROID_SDK_HOME or ANDROID_SDK_ROOT or ANDROID_HOME I have Android SDK installed and, obviously, I have to add a line in ...
0
votes
0answers
145 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
175 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
252 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
63 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
327 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
67 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
375 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
72 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
208 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
2k 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
101 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 ...
2
votes
1answer
1k views

Upgrade TexLive from 2012 to 2013 with Ubuntu

I have downloaded TeXLive 2013 and installed it as explained on the developer's website. At the end in the terminal I got the following message: Add /usr/local/texlive/2013/texmf-dist/doc/info to ...
0
votes
1answer
62 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 ...