Stack Exchange Network

Stack Exchange network consists of 174 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 [paths]

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

0
votes
1answer
85 views

Chromium is showing a wrong path to the Desktop

I just installed chromium from the Ubuntu Software center, and when I try to download anything and choose the Desktop link from the left column located on that window that appears, it saves the ...
0
votes
0answers
21 views

Some apps do not launched by double left mouse click

Some app do not launched by double left mouse click if app's path has spaces! App be launched if run in terminal.
0
votes
1answer
56 views

How to COPY a directory location? [duplicate]

I've been struggling with this since I've installed Ubuntu: How do I copy a directory location? For example: /home/user/downloads/game/game.sh Do I have to type every single letter on terminal? ...
1
vote
1answer
47 views

'sudo' is not available (command is not in the PATH)

Okay. I don't just copy-paste commands from the net, and I didn't see how/why that one would mess things up, but here.... I wanted to configure webstorm for dev. So I followed these instructions: $ ...
0
votes
0answers
66 views

Ubuntu 18.04 lts Composer+drush results in php warning

I installed composer globally, and then install drush globally as well. When I run drush status for the first time the command was not found, so I found a tutorial and it said I need to add some path ...
0
votes
0answers
100 views

jre and jdk folder in java-11-openjdk-amd64

I have installed java-11-openjdk-amd64 in Ubuntu 18 but there have no jre and jdk folder. I am getting a lot of error while ruining Hadoop, Spark and Hive. Please cooperate me.
-1
votes
1answer
55 views

python get the correct path for a file

I want to write out the path of zipfiles, which are located in "zips" folder. Here is my code : import os, zipfile directory = 'zips' for filename in os.listdir(directory): if filename.endswith(...
0
votes
0answers
37 views

How can I link my Android SDK in external hard drive to my Android studio

Can Android SDK's directory path in my external hard drive be linked to my main drive where Android Studio is installed? I have gone to Android Studio → Preferences → Appearances and Behavior → ...
0
votes
1answer
24 views

configure error line 38: sort: No such file or directory

Using configure, ends with the following message: ./configure: line 38: sort: No such file or directory ./configure: line 35: sed: No such file or directory
1
vote
0answers
26 views

IRSTLM path environment variable

I am trying to get IRSTLM to work. I have set the pah using: PATH=:/usr/local/lib/irstlm:$IRSTLM And then when I am tyring to run the build-lm.sh function it is telling me that it is located in /usr/...
2
votes
2answers
151 views

How to get the real path of a sh file that is being sourced

I added this line into my ~/.bashrc . /mnt/c/Users/enzo/drive/projects/dotfiles/init.sh And and inside of init.sh I am trying to get the path of init.sh but I am not able to. I tried this so far: ...
4
votes
3answers
821 views

Set LD_LIBRARY_PATH correctly

I am using Docker with image of Ubuntu 16.04. I am using this docker to run: Import C++ classes in python with the help of boost.python Import matlab's python package in python with the help Matlab ...
0
votes
1answer
76 views

Understanding how PATH environment variable works

I have followed many guides and books to understand the PATH variable concept but none of them explains "completely" how this works in Linux. For example if I set a a Path like the following in Bash: ...
0
votes
0answers
112 views

How to set Path for opencv libraries and header files when installing opencv?

can anyone help me for two questions when installing opencv: how to set the OpenCV libraries "Path" as "/usr/lib/"? how to set the OpenCV header files. "Path" as "/usr/include/opencv"?
-1
votes
1answer
31 views

Recovering the relative path option

Managed to delete the relative path option in linux by typing in rm .*, now I can't change or add files to any directory. How can these be recovered? Running a ls -a and the standard . and .. ...
1
vote
0answers
42 views

Ubuntu 16.04: Log in problem when using prime-select intel and adding /usr/lib/nvidia-396 to LD_LIBRARY_PATH

I'm doing some computation with my GPU (GTX 970) so I decided to use my integrated card from my CPU (i7-4790K) to display my 2 screens, hence I used prime-select intel to do so. In doing so it seems ...
0
votes
1answer
27 views

Is there a package installer in which a i can choose where to install?

Since changing the installation path or directory of dpkg is not a good and risky idea I would like to know if there are any package installers in which I can choose to install where I want since my ...
1
vote
1answer
87 views

App installed in directory on the PATH, but not found. Weird /snap/bin - error message

I have the app minikube in /usr/local/bin/minikube. When I do minikube version with the whole path, I get: $ /usr/local/bin/minikube version minikube version: v0.28.2 When I do minikube version ...
-1
votes
1answer
54 views

How do i specify a file location in terminal?

Running the following commands: wine /Home/Downloads/steamsetup.exe wine Username/Home/downloads/steamsetup.exe resulted in file not found. How do I specify a file location in terminal? I am on ...
0
votes
1answer
1k views

Zip2john issue on ubuntu 18.04 LTS

Problem: root@ITSASECRET:~/src/john/run# zip2john : command not found I want to add that the srcript is in the directory. I also had a lot of trouble installing Rexgen as well as Bison and ...
1
vote
1answer
46 views

My PATH variable seems to be set OK, but does not work [duplicate]

I installed some programm (xlsx2csv) using pip3. The executable of the software is in ~/.local/bin. My $PATH is defined in ~/.profile like this: PATH="$HOME/bin:$HOME/.local/bin:$PATH" echo $PATH /...
1
vote
1answer
550 views

How to find the path of a specific application (Google Chrome)?

I have Google Chrome downloaded on my laptop and I want to find where it is compared to a Windows path use it, basically for a text to speech project. On Windows it is located here : chrome_path = '...
0
votes
1answer
333 views

Path of a file in the user directory from root directory [closed]

Following is the directory structure for a text file textfile.txt ,what will be the file path for the text file for an python script readtext.py which is in the in the root direcory. The python file ...
1
vote
2answers
43 views

What is the absolute path to the file that contains all the drives? [closed]

What is the absolute path to the file that contains all the drives, hardware and network shares, that are mounted by the system during boot?
1
vote
1answer
30 views

iPython3 opened in Terminal - os.path.dir adds letter 'd' to path and triggers File not found error

Trying to iterate through a folder. I am working on ipython3, opened in Terminal. This is the code (in python 3.6.4): for filename in os.listdir('.'): for file in filename: with open(os....
2
votes
2answers
103 views

My script runs fine when I run it from the terminal but it doesn't work with cron. Why?

I'm creating a script to manage my icons and I'm using the command gvfs-set-attribute in order to do that. The script works fine when I run it with the terminal but it fails to work when I use cron. ...
0
votes
1answer
51 views

Login Loop in Ubuntu 16.04 after editing the Path

I was editing the path as said in this page: Source After I did that, I logged out, and ever since that, I was not able to Login. I have tried various Login Loop Remedies said in this Exchange, but ...
4
votes
2answers
926 views

PATH=$PATH:`pwd` - What happens when this command is executed?

What happens when this command is executed? PATH =$PATH:`pwd` Error: Nothing happens when i execute the command in the terminal.
1
vote
1answer
54 views

CLASSPATH Security

On this post someone mentioned in a comment that adding .: to the PATH environment variable is a security vulnerability. Is adding .: to the CLASSPATH environment variable also a security ...
2
votes
1answer
92 views

How can I install petrify and set it up?

I want to install petrify -- a tool for simulation of Asynchronous Circuits -- so I downloaded the file and in this folder there is an INSTALL file that says: You should define properly define the ...
0
votes
0answers
209 views

AI Gym Installation, python path issue

I ran 2 separate installation instructions for gym pip install gym and git clone https://github.com/openai/gym cd gym pip install -e and then ran python import gym and get the output ...
2
votes
2answers
64 views

Need to clean user home folder and organize game folders (with saves, configs, etc)

I have many installed games, from various sources/stores/frontends (Steam, GOG, Humble Store and Lutris with modules like DOSBox, Libretro, WINE and ScummVM). Unfortunately many game developers elect ...
2
votes
2answers
563 views

When I do an export path using terminal, which file does it save to? [duplicate]

For example, when I run export export PATH=$PATH:$GOROOT/bin:$GOPATH/bin or a GOPATH=~/workspace/me/go which file does this get added to?
0
votes
1answer
184 views

How to solve the conda virtual env and system env conflict on import cv2?

I have installed opencv 3.4.1 correctly on my system enviroment. But after I create a conda virtual environment using opencv3.2.0, it leads some problems here: Under the conda virtual env, I have to ...
3
votes
1answer
116 views

Can I make `sudo` follow my path via CLI?

You can edit sudoers file and set secure_path to match your path. This is documented in Unix & Linux. Is there a command line switch I can pass to sudo such that it uses the path I have set? For ...
2
votes
2answers
381 views

Unable to install geojson package for R

I have Ubuntu 16.04 and R 3.4.3. When I run install.packages("geojson", dep=TRUE) in R, I get the following error: dependency ‘protolite’ is not available for package ‘geojson’ Therefore I run ...
1
vote
1answer
56 views

Hard-Drive name changes depending on file search method

I am new to Linux and Ubuntu and I am struggling with file path names and locations. I have a new computer with LTS 16.04 installed. This computer has a solid state hard drive and an optical drive. ...
2
votes
0answers
244 views

Connect GIMP snap to gmic

So I have installed the GIMP snap, it works nicely. However, how do I get it to use gmic? Can I just point the plugin path to gmic, and where would that be?
0
votes
1answer
161 views

If I compile and install my own Python from source and install packages, will it affect the system Python installation?

Say I compile Python 3 from source, configuring it with --prefix=$HOME/.local and installing it. Since $HOME/.local is in my path, and is preferred, now when I type python3 in my shell, I get my ...
2
votes
2answers
69 views

How can I open games I downloaded?

Every time I download a game from the terminal I can't open it. Example 1: $ sudo apt-get install 0ad Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
259 views

How to set the path variable of php after installing LAMP Server

From the terminal I have logged in as Root user sudo -s In the terminal root@username:~# php -m The program 'php' can be found in the following packages: * php7.0-cli * hhvm Try: ...
2
votes
2answers
64 views

Reference to home not working in Nautilus Action-Config-Tool

The path field (In the given Screenshot) is given the input: ~/.subseeker/subseeker.py, but it's not working, the code isn't executing when the command runs. I even tried- $HOME/.subseeker/subseeker....
0
votes
0answers
18 views

Backup Ubuntu Software and Wipe Ubuntu

Hello I am new to Ubuntu. I Installed a bunch of softwares like Android Studio and JDK and other stuff. Now my ubuntu is messed up and It doesn't show the login screen and when I start lightdm and put ...
0
votes
0answers
62 views

Why should I STILL use --with-boost for ./configure when I exported PATH variable for boost directory

I would love to hear your explanations and methods of solutions for the problem that I have been facing for such a long time by now. I am working in a remote cluster where sudo command is not allowed ...
0
votes
0answers
340 views

got an error gawk: symbol lookup error: gawk: undefined symbol: mpfr_z_sub

all, I get an error that indicates that gawk: symbol lookup error: gawk: undefined symbol: mpfr_z_sub when I want to compile a simulation from www.yonch.com/wireless. This error was occurred when I ...
0
votes
0answers
292 views

Nvidia GPU heating up

I noticed occasionally my GPU was heating up when doing usual tasks (idle + Internet browsing, not video). I select intel-onboard in Nvidia-server but the problem persists. I used the following ...
0
votes
1answer
147 views

How to add/edit PATH when using X2Go client logging into ubuntu terminal

noob here. I want to add a folder to PATH only under my account. Tried to search for answers for quite a while. Ending up get methods like creating .profile .bash_profile under my home directory(~), ...
2
votes
3answers
885 views

What is the difference between local and .local in ubuntu?

Echoing path in ubuntu returns following colon separated paths, /home/stack/bin:/home/stack/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/...
1
vote
0answers
37 views

Is there any difference in setting path for golang, python or java in ubuntu? [duplicate]

In some tutorials path is set in ~/.profile however in some other tutorials they use etc/path or ~/.bashrc, can you explain whats the difference and how it works in linux ubuntu. I am sorry for such a ...
1
vote
1answer
1k views

Why does `/sbin` not included in $PATH for new user?

ifconfig is located in /sbin/ifconfig. I don't have problem issuing ifconfig command in root user. The problem started when I created a new user. root@Ubuntu:~# useradd -m user root@Ubuntu:~# root@...