Skip to main content

Questions tagged [paths]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

MGLTools Segmentation Fault

I'm currently working as an intern for computational chemistry. One of the applications that we need is MGLTools which I installed using this website: https://bioconda.github.io/recipes/mgltools/...
1 vote
1 answer
331 views

Terminal is neither showing path nor working

The default terminal and the VS code Terminal are neither showing path nor working. I have updated the system, cleared the cache, reinstalled the terminal, installed the new other terminals, and saw ...
141 votes
6 answers
354k views

Setting PATH variable in /etc/environment vs .profile

Where is the preferred place to set the PATH envvar? ~/.profile or /etc/environment? What is the case when PATH is set in both places? Is the end result a concatenation of both values set in those ...
0 votes
1 answer
48 views

Problem in executing terminal commands

Command 'sed' is available in the following places * /bin/sed * /usr/bin/sed The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable. sed: command ...
2 votes
0 answers
155 views

Help to open tibia on ubuntu 24.04. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

I'm trying to install tibia on my computer. I always receive the following error when I try to run the program. Can someone help me? input: sudo ./Tibia output:QStandardPaths: XDG_RUNTIME_DIR not set,...
22 votes
3 answers
50k views

How can I add ~/.local/bin to my PATH?

I'm just trying to follow this tutorial and set up my environment. My system is WSL Ubuntu 18.04. Here is already an answer on my question, but I as an absolute novice in Linux/UNIX don't know which ...
0 votes
2 answers
4k views

How to change the path of folders in home directory to an external HDD?

I am using Ubuntu 12.04. I'm trying to change the path from the special folders (I mean the ones in my home directory) to folders on my external HDD. I already auto-mounted the HDD by adding a UUID-...
2 votes
1 answer
66 views

How is ~/.local/bin getting on my PATH

I noticed an anomaly with how my PATH is being configured on a new install of 22.04. Initially ~/.local/bin appeared twice. I reduced it to one time by commenting out the relevant block in ~/....
1 vote
1 answer
4k views

How to give general users access to programs installed in another user area, not global directory

I've installed a package (according to the instructions) but noticed it didn't install the binary into the /usr/bin directory, but instead into the user area. What's the best way to give other users ...
4 votes
3 answers
42k 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 /...
1 vote
1 answer
6k views

Can't launch Qt Creator in Ubuntu 18.04

My environment initially had qt4 and Qt Creator seemed to work fine back then. I installed qt5 and after that Qt Creator does not launch anymore. Qt Creator works fine in my virtual machine however. ...
1 vote
0 answers
165 views

systemd PATH not working consistently

I have a very simple systemd service: [Unit] Description=throttle service [Service] ExecStart=%h/.local/bin/throttle --server Type=simple Restart=always RestartSec=3 [Install] WantedBy=default....
0 votes
1 answer
86 views

Help repairing broken Python base on Linux with Miniedit-WiFi setup

I previously uninstalled Python3.12 (on which I had ran Miniedit-WiFi tool) and left the default Python3.11; however the following console-log error keeps popping out whenever I run a Python script on ...
2 votes
2 answers
988 views

How to make ubuntu understand a windows-style folder path as a folder on windows partition?

I have ubuntu and Win7 on dual boot. On windows, a use a program that is set to save things on a given windows folder (like "D:\some folder"). On ubuntu, I can run this exact same program (it's not a ...
0 votes
1 answer
904 views

tmux errors running bash commands due to path

When I run $tmux and open an instance of a tmux session and try to run a command such as ls I receive the following error: ∆ ls Command 'ls' is available in the following places * /bin/ls * /usr/bin/...
0 votes
3 answers
1k views

Find default library paths location in Ubuntu

I'm on an Ubuntu 22.04 system and I'm working with C language and libraries. I know (from different books, included "The Linux Programming Interface" by Kerrisk) that this algorithm is used ...
3 votes
1 answer
1k views

Desktop file doesn't work

I'm trying to make a desktop file for vcvRack. I have the program and other files saved in ~/.Rack/. The program launches fine when I double click it or launch in from terminal using ./Rack. The file ~...
1 vote
1 answer
504 views

Latex Workshop error: Cannot find LaTeX root file

I recently changed from Windows to Ubuntu because I'm learning to code. I used to write my class assignments in LaTeX using vscode and Latex Workshop. However, I've tried to set it up in Ubuntu and I'...
0 votes
1 answer
469 views

How to get the path for a new USB drive

Recently I installed a 2TB usb drive on Ubuntu 20.04, and copied some files onto it. Now I would like to read those files in a Python program, but I can't get the path to the new drive. The drive is /...
10 votes
3 answers
32k views

Use php command instead of full path with xampp installation?

I have Xubuntu installation and XAMPP installed on my PC, and everything works great. However, lately I am experimenting a little bit with Laravel framework and a lot of tutorials and people just use ...
3 votes
4 answers
15k views

How to solve "Please make sure libcudnn_cnn_infer.so.8 is in your library path!" (WSL Ubuntu)

When I try to run a PyTorch program, it fails: Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory Please make sure ...
2 votes
3 answers
4k views

gsutil bashrc file path setting

Actually I have just installed gsutil by following the instructions here. But now when I am typing gsutil at command prompt I am getting following: No command was given. Choose one of -b, -d, -e, or ...
0 votes
0 answers
45 views

Pycharm does not launch from other directory even after editing .bashrc, .profile and .environment

I downloaded PyCharm, and from the directory where the executable pycharm.sh is, it works fine, however, whenever I do sudo vim ~/.profile, sudo vim ~/.bashrc, and add export PATH="$HOME/pycharm-...
-1 votes
1 answer
38 views

Why does c++ app launched from the Netbeans use Netbeans install dir?

When I run a simple application that uses a library, Ogre3D in my case, from NetBeans, it breaks with the following message: Error occurred during execution: InternalErrorException: Could not load ...
1 vote
2 answers
171 views

Where can I add to the ***universal*** path?

I'm a script kiddie of sorts and enjoy writing bash scripts for things, and I keep them in a repository that I synchronize, and on my personal computers I keep it in a home/otherStuff/customBin folder,...
0 votes
0 answers
104 views

I am having issue while installing Flutter in Ubuntu 20.04

I used snap to install flutter, i.e. sudo snap install flutter --classic After when I run flutter sdk-path it shows the following. The same happened when I tried manually downloading the .zip, ...
2 votes
1 answer
157 views

How to remove a particular bin from path/auto-complete?

I don't have sudo privileges on my work laptop and tmuxinator is installed, but I wish to use tmuxifier instead. I successfully installed the latter (without needing sudo by using git), but now, ...
2 votes
1 answer
512 views

Snap Paths Aren't Listed Properly

Note: I am using the example of discord but this is for all snap apps that i installed from the software center. I needed NodeJs for something and had to go through alot of steps as it simply would ...
3 votes
1 answer
2k views

KDE applications installed through plasma-discover not showing, must be launched through Software Center

KDE version: Ubuntu 20.04.3 LTS Plasma Discover Version: 5.18.5-0ubuntu0.1 I rebooted my PC and afterwards, any applications I had previously installed through plasma-discover (https://userbase.kde....
1 vote
1 answer
9k views

Error while trying to install Nvidia drivers

Getting this error: Unable to find the development tool make in your path; please make sure that you have the package 'make' installed. If make is installed on your system, then please check that ...
-1 votes
2 answers
460 views

Accidentally changed PATH variable and I cant change it back, or use vim etc..help

I know there are many questions like this, but I unfortunately dont know enough about Ubuntu to be able to apply it to my situation. I have all my stuff saved for work on a remote machine, that i ...
0 votes
2 answers
81 views

Adding simple shortcut on the terminal, the right way

I am trying to add folder to PATH variable (for specific user only). so to ~/.bashrc i have added export PATH=$PATH:/home/username/Tools/scripts/ within this folder i am having scripts and some ...
0 votes
2 answers
283 views

Keyboard shortcuts don't see my custom executable

On Ubuntu 22.04 I have an executable (bash) file in custom folder scripts in the home. The path of the latter is properly included at the end of the .bashrc file (and also at the end of the .profile ...
40 votes
1 answer
156k views

Where is WSL located on my computer?

I am new to Windows and have installed WSL2 based on the instructions provided here. It works fine, but I cannot locate where it has been installed on my computer. The output for pwd is home/nkp68. ...
0 votes
0 answers
679 views

Set LD_LIBRARY_PATH for with symlinks

As per the Ubuntu documentation - the only way to permanently set LD_LIBRARY_PATH is by adding a conf file to /etc/ld.so.conf.d/ If I manually run export LD_LIBRARY_PATH=~/nextcloudapp/squashfs-root/...
1 vote
1 answer
636 views

flatpak program - add to path such that terminal knows the program

I can usually fire op blender via the terminal by executing blender. This worked out of the box, when using snap. However, the version in snap was very old so I found a newer version in flatpak. ...
1 vote
1 answer
18k views

Zip2john issue on ubuntu 18.04 LTS [duplicate]

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
2 answers
635 views

Ubuntu CLI, replace a long filepath/filename with a shortcut

I have a long path to some of my files and I don't want to type and/or use the Tab-key as much when using it with commands in the Terminal. So I want to add "shortcuts" to some of them (both ...
-1 votes
1 answer
71 views

ns3 installation error

NS3_MODULE_PATH = ['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/usr/lib/wsl/lib', '/mnt/c/Program Files/Common Files/Oracle/Java/...
9 votes
2 answers
36k views

PATH not working even after successfully modifying it

For some reason I am successful in adding new directories to my $PATH but when I run the commands in the terminal the $PATH doesn't summon them. I modified the $PATH in the ~/.bashrc file, and added ...
4 votes
2 answers
2k views

How to create an alias for a "cat" file usable in a path

I have two huge files (150G each) and I need to use a tool for which I should supply them as a single file (since the tool only accepts one file). However, I do not want to merge these files for ...
2 votes
1 answer
2k views

Start intellij from anywhere

I have recently installed Ubuntu and I'm a bit confused. I have downloaded VSCode and I can simply start it from my terminal using code. I downloaded intellij and tried idea and intellij but none of ...
3 votes
1 answer
2k views

No such file or directory when running sqlplus command

root@instance-20220315-0833:/usr/lib/oracle/19.10/client64/bin# ls adrci genezi sqlplus root@instance-20220315-0833:/usr/lib/oracle/19.10/client64/bin# ls -al sqlplus -rwxrwxrwx 1 root root 72384 ...
0 votes
1 answer
540 views

How do I use sudo on a script I made myself that is already in my path and executable?

How do I make a script that I made myself that I already put in my path and made executable usable with sudo? (Xubuntu 22.04.1.) The script is located here: ~/bin/myScript. When, from an arbitrary ...
0 votes
1 answer
811 views

adding files to ~/.local/bin doesn't add it to the $PATH

I've added fm6000 file to the ~/.local/bin folder assuming it'll be the same as adding it to /usr/bin folder. Though that's not the case. There are many files in ~/.local/bin folder that don't work. I'...
-1 votes
2 answers
853 views

How to remove a directory's path from the enviroment variable PATH permanently?

I just removed the miniconda3's folder from home/username/, now i want to remove its path from my $PATH variable permanently. As you can see below, it's the first one: /home/username/miniconda3/bin:/...
-2 votes
2 answers
502 views

In concatenating two variables, the system expands the resulting path and returns unexpected results. How do I prevent this?

Question 2.0: Given the code: SSLPasswordFilePath="$SSLFilesDir$SSLPasswordFile" When I run: "$SSLPasswordFilePath" I get this unexpected result: /tmp/ConfigFiles/SSL/Password....
1 vote
1 answer
1k views

PATH and sources.list issue

I have discovered an issue with PATH and /ect/apt/sources.list Please could you advise how to resolve it? As I am very novice to coding and stack exchange please could you comment and let me know ...
0 votes
0 answers
165 views

OpenSSL and includePath problem

I have been encountering this problem for a few weeks now, ever since I started working on my projects. There is a red line under all of my #include lines. Red lines under #include: I narrowed the ...
94 votes
5 answers
833k 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 in Ubuntu shell? Is there any way I can let the shell ...

1
2 3 4 5
10