Questions tagged [paths]
Questions related to path in networking, file system and OS.
454
questions
-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
87
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
52
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 ...
0
votes
3
answers
302
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 ...
1
vote
1
answer
306
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
319
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 /...
0
votes
0
answers
39
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
130
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
80
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
136
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
368
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 ...
-1
votes
2
answers
320
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
0
answers
19
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 ...
0
votes
0
answers
536
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/...
0
votes
0
answers
248
views
mysql workbench login error but working on terminal
mysql-workbench is throughing some error but it works in terminal
i have installed mysql and set user and password by using sudo codes in Ubuntu. but when i open mysql-workbench, it shows the same ...
1
vote
0
answers
114
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
458
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
votes
1
answer
66
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/...
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 ...
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 ...
0
votes
1
answer
455
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
2
answers
249
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
1
answer
636
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
708
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
430
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....
0
votes
0
answers
138
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 ...
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
244
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 ...
-2
votes
3
answers
658
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 ...
2
votes
1
answer
895
views
How does PATH get its contents back after I restart the shell?
Exercise 2 from Missing Semester asks the following:
Run PATH= and try running the previous commands again, some work and some don’t, can you figure out why?
Setting PATH= removes all the contents ...
0
votes
1
answer
389
views
How to add browser cutable path in ubuntu
just trying out ubuntu, and installed a node/npm CLI application where we can run the command in the terminal. That command/tool requires us to specify the browser e
cutable path every time when we ...
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
810
views
How do I get snap out of my $PATH?
When I echo $PATH the output ends in .../usr/local/games:/snap/bin
I had an ugly breakup with snap after a brief flirtation, how can I get it out of my $PATH?
2
votes
1
answer
475
views
ffmpeg-normalize not working in Python
I have ffmpeg-normalize installed through pip3
It seems to work from the terminal but I need to run it through python subprocess.
Everytime I try to run it the error says:
/bin/sh: 1: ffmpeg-normalize:...
1
vote
2
answers
540
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 ...
7
votes
1
answer
2k
views
After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke
A new user here, running ubuntu on version 21.10 impish.
I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation):
$ sudo curl -L ...
-7
votes
1
answer
60
views
How do I put extracted folder 'Cleanto' on my website root so that the path should look like http://yourwebsite/cleanto/index.php [closed]
How do I do step 3? I am not tech savvy, so please make it simple.
Way to Installation We are trying to make the installation process more easy and handy so that user can install our system in his ...
3
votes
1
answer
944
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
1
answer
198
views
When Dolphin finds a file, what is the path to that file?
When Dolphin finds a file, it does not indicate the path to that file. How can I find out what that path is?
32
votes
1
answer
121k
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
1
answer
401
views
How can I change source directory from System 32? [closed]
I am a newbie in Ubuntu. When I open my terminal, the source path (directory) starts with System32, how can I change it to User or Desktop ?
When I type cmd.exe :
Microsoft Windows [version 10.0.19042....
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....
0
votes
2
answers
1k
views
Modify path to include quotes
Ubuntu is installed on a Windows OS. I have searched and found how to add a new path but I'm not quite getting how to modify a path that already exists and then adding quotes around paths with spaces. ...
0
votes
0
answers
293
views
Error while loading .profile on ubuntu 20.04
Yesterday I have changed my .profile to include go path. And it looks like this:
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
....
0
votes
1
answer
141
views
Find the absolute path for the root of the codebase
I need to find the absolute path for the root of the codebase.... is that a way to get it out easily??
I have a website that runs on on EC2 AWS/Ubuntu written at 95% in PHP and is linked with plesk. I ...
1
vote
2
answers
475
views
Can we have multiple path/directories for fonts in linux?
Is there anyway to have multiple directories for loading fonts in Linux distros? Or loading the fonts from a directory inside .fonts such as .fonts/DIRECTORY?
I have two sets of fonts, and I don't ...
4
votes
1
answer
4k
views
"/usr/bin/python: No module named virtualenvwrapper" error when opening terminal
I'm using Ubuntu 20.04 (clean installation, I did not upgrade from a previous one) and when I open a new terminal (simply by Ctrl+Alt+T), it always starts with the output shown below (also shown in ...
2
votes
1
answer
4k
views
Texlive 2021: tlmgr
I have installed Texlive 2021 on Ubuntu 21.04 on a new laptop. There aren't previous version of Texlive in the system.
I have had to install it as root user since, while trying to install it as simple ...