Questions tagged [paths]

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

Filter by
Sorted by
Tagged with
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 votes
0 answers
26 views

directory moved automatically after reboot ubuntu 22.04

I'm a newbie here and I wondered why my files moved from ~/Desktop to ~/ after I rebooted my notebook from bash. I downloaded the community version of intellijidea and unzipped it on the desktop (I ...
1 vote
0 answers
90 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
53 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
961 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
787 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
381 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
972 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 ~...
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-...
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 ...
1 vote
1 answer
330 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
327 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 /...
8 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
12k 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
40 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
34 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
133 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
84 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
138 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
388 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 ...
2 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
332 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
75 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
250 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 ...
0 votes
0 answers
20 views

Include Path error in VS Code in Repo pulled from GitHub

I recently cloned a repo from Github which was made by me and pushed to github using windows. Now, when I run any code file from the repo in VS code it gives me include path error.enter image ...
32 votes
1 answer
125k 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
556 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
0 answers
129 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 ...
1 vote
1 answer
475 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
549 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
67 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
35k 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
460 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
648 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
728 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
437 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
140 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 ...
93 votes
5 answers
813k 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 ...
5 votes
1 answer
8k views

Can not find executable path of flatpak apps

App installed using apt package manager starts running when I type the app name in terminal like firefox. [Using Kubuntu 22.04] which firefox This command will show the path of firefox in my system. ...
0 votes
1 answer
249 views

Software Installation Linux: What does "utilities must be accessible via the system path" mean?

I want to install a software called MUMmer(http://mummer.sourceforge.net/manual/) on my Ubuntu 18.04 machine. The manual says that it requires some third party software to run successfully. I ...
0 votes
1 answer
15k views

Unable to find the Windows "Desktop" folder from within WSL [closed]

I recently downloaded Ubuntu on my HP Envy x360 laptop. I have worked with Ubuntu before. I am trying to navigate to my Windows Desktop folder in terminal, but I'm unable to find it. I type /mnt/c/...
-2 votes
3 answers
666 views

Use of hidden file in system path

In 20.04 I used .bashrc to include a hidden folder in my system path: /home/robert/.local/... Since upgrading to 22.04, it appears that the system no longer searches this folder. Has this changed in ...
0 votes
0 answers
1k views

VS Code: No PHP executable is set

I am busy with a Udemy course about WordPress. The course uses VS Code as text editor and I love it, but keep getting a "No PHP executable is set error". PHP was loaded as part of the Local-...

1
2 3 4 5
10