Questions tagged [paths]
Questions related to path in networking, file system and OS.
455
questions
2
votes
1
answer
5k
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 ...
-1
votes
1
answer
2k
views
deleted a folder from root(user), ubuntu how do i access the trash bin from terminal?
i have deleted a folder from the root user dir (same where var,usr,home,etc,lib is stored) using the Webmin browser GUI ...on url http:// IP :10000
VPS:
ubuntu 18.04
User : root
no GUI, only SSH and ...
0
votes
1
answer
13k
views
How to change python3 path pointer?
I am using Ubuntu 20.04.2 LTS with python version 3.9.5 installed.
When I type which python in the terminal, it shows /usr/bin/python which is the default path for python2 (2.7 in my case).
But when I ...
0
votes
1
answer
456
views
I found a file path, but I can not open it [duplicate]
I am using ubuntu terminal on my windows 10. I cloned a project, and I have been working on it inside VSC for a week now. I finally closed the program, and when I open it again I could not find my ...
2
votes
0
answers
157
views
How do you get kate to show the path to each file it finds?
When using kate to search for a file or a folder, how do you get it to show the path to each item it finds?
1
vote
1
answer
3k
views
How to run an executable from any directory in terminal by setting path?
The executable file name is julia. This executable is located at /home/siva/juliapro/julia/bin.
I have set the path to this directory, but still, if I enter julia in the terminal, it says command ...
2
votes
1
answer
199
views
Where is gambas3 installed?
I want to install the xt7-player-mpv video player, which was recently updated.
It is not available for Ubuntu as deb and compiling it required Gambas3. That is available and can be installed with
sudo ...
1
vote
1
answer
3k
views
Export PATH does not work after restart
I am new to this. I installed drush and did
export PATH=$PATH:~/.config/composer/vendor/drush/drush
So that I can execute drush from the command line with the drush command
My issue is that I have to ...
0
votes
1
answer
97
views
Can't Log In After Adding To Path
I was trying to add Jupyter Notebooks to the permanent path in linux. I followed these steps:
Open a terminal window using Ctrl+Alt+T
Run the command gedit ~/.profile
Add the line export PATH="$...
0
votes
1
answer
442
views
Where are the image files for the software logos kept? [duplicate]
I'm looking for the image file where the logo for Vim is stored on my system. When I go to my bin, I can find "links to shared libraries".
I run
whereis vim
And I can find one of the paths ...
-5
votes
1
answer
703
views
how to write a command to remove a folder, name includes spaces.? [duplicate]
How can I delete a folder with whitespace in its name, but without quoting the folder name? I also need to be prompted to confirm the deletion. I know how to do it like this:
rm -ri /home/user/'my ...
0
votes
2
answers
280
views
Find the list of immediate next directory from the given location for reaching a destination file?
We can find the full absolute path of a destination file using find keyword. In my case, I need the list of all immediate next directory to my given location which can lead me to my program log file ...
1
vote
1
answer
1k
views
A path set in /etc/profile/ doesn't appear on other users' environment
I have the following PATH variable in /etc/profile. The last line should allow me to use the conda command for any user.
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and ...
0
votes
1
answer
111
views
having trouble setting $PATH
I am trying to set the $PATH permanantly for Vault. I have cd to etc and run sudo nano environment. This opens and I have appended my needed path onto the end like this:
PATH="/usr/local/sbin:/...
0
votes
1
answer
2k
views
Go packages not running as sudo
I installed golang via sudo apt install golang-go
I installed some go packages, like go get -u github.com/tomnomnom/assetfinder
I can run my packages without sudo, but when I do use sudo, the ...
0
votes
1
answer
616
views
Overwrote $PATH [duplicate]
I am new to linux and I was trying to set up path of JAVA_HOME but I accidentally wrote
export PATH=/usr/lib/jvm/java-11-openjdk-amd64
which I think overwrote $PATH.
I am quite sure I have messed up ...
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 ...
1
vote
0
answers
2k
views
Add intellij to environment variables
I have recently installed Ubuntu on my system.
I downloaded Intellij and CLion using Ubuntu Software. In order to open it from terminal I used the command export PATH=$PATH:./clion.sh this command ...
1
vote
1
answer
2k
views
Where do I define LD_LIBRARY_PATH so that Apache can see it?
I'm using Ubuntu 18.04. I have defined this in my /etc/profile file
export LD_LIBRARY_PATH=/usr/local/lib/
I'm trying to figure out where I define the above so that Apache can see it. Currently, ...
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-...
0
votes
0
answers
19
views
Can No Longer Drill Down to Subfolders in Wine
Some Windows applications such as Notebook++ that require access to files seem unable to open some subfolders. For example, I want to open /var/www/html/ and whether I use C: or Z:, there is no + next ...
0
votes
0
answers
32
views
Places to set PATH [duplicate]
I need to set PATH and JAVA_HOME for my Oracle java. Where I can set these environment variables in Ubuntu in general. Where is the best place to set them?
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/...
1
vote
1
answer
2k
views
Perl Module Location Issue
I'm on Ubuntu 20.04 LTS.
I ran the following commands to try to connect to my PostgreSQL database:
sudo -i -u postgres
postgres@{username}:~$ psql
This raised the following error:
Can't locate ...
4
votes
1
answer
5k
views
How to run scripts that are in PATH?
I'm pretty much completely new to Ubuntu, so bear with me.
I have made a few scrips without the .sh extension and granted them permission with chmod 755, and the scripts run just fine as long as I'm ...
-3
votes
1
answer
214
views
Understanding the windows equivalent of braces [closed]
I am following a manual written for ubuntu, however I am in a windows environment.
I understand the rm -rfv, but I have no idea what the braces do in the line below, I want to run the equivalent in ...
1
vote
0
answers
105
views
GCC C code compiling
I have a problem regarding gcc. Although I have a background programming in C, I have never actually used gcc. Until now that is. I have a Go program I am creating, that uses a library (Fyne) that in ...
2
votes
1
answer
207
views
Getting snap apps access to LaTeX
Did anyone find a workaround to the issue of snap apps not getting access to external stuff?
For instance, TeXText, a famous LaTeX plugin for Inkscape won't work anymore because:
TexText for Inkscape ...
0
votes
1
answer
17k
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/...
1
vote
0
answers
81
views
Pip3 can't be "loaded" as a library/package, no matter what I try, after upgrading to Ubunta 18
The question was on Stack Overflow, but it is too Unix/Ubuntu-sepcific.
My problem (see below where I have earlier posts) is that I can't get pip (or, more accurately, pip3) to load or work. APT get ...
0
votes
2
answers
11k
views
How to set path to newly built GCC
I just built and installed gcc6.3.0 for MATLAB, but I can't set the path to it. I tried
export PATH=/home/mo/GCC-6.3.0:$PATH
but this still gives the path to default gcc9.3.0. Ubuntu20.04.
0
votes
1
answer
87
views
why doesn't my added dir show in $PATH?
I am trying to use ocelotgui which is a tool to debug SQL stored procedures. The instructs say to make sure that the path to libQt*.so appears in the $PATH. I researched how to add that to my $PATH ...
2
votes
1
answer
330
views
I am unable to close octave [duplicate]
I had a problem with installing Octave. Now I am unable to close it once it is opened. And I am unable to shutdown the computer. What path should I set, what /etc/environment should I set?
I had used ...
0
votes
0
answers
2k
views
Symbolic link not working
I tried to make a symbolic link between directories, but it's not working. I made a directory called C_drive and then did the following command:
sudo ln -s this/directory/way/over/here/myfolder ~/...
0
votes
2
answers
329
views
After installing python3.7, virtualenv and pip on newly installed 20.04, terminal window will not open
I needed to install python3.7, virtualenv, and pip. After doing so, I added ~/.local/bin to $PATH. I echo'd $PATH and saw that it added .local/bin and then closed the terminal app. Terminal will no ...
2
votes
1
answer
359
views
Messed up Python3.6 on Ubuntu 16.04
I installed anaconda and run 'sudo apt-get update && sudo apt-get dist-upgrade' on an Ubuntu 16.04 system. I upgraded pip inside an Anaconda environment and also used the 'sudo apt-get ...
0
votes
2
answers
512
views
Unset a particular PATH variable?
I have the following PATH.
PATH=/home/josemserrajr/anaconda3/bin:/home/josemserrajr/bin:/homejosemserrajr/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/us
I ...
0
votes
1
answer
887
views
How to make an environment variable (cern root) permanently?
I am pretty new with Ubuntu as the Windows subsystem. I've been trying to run the ROOT data analysis framework (change its path to make it available permanently) but for some reason is not working as ...
10
votes
6
answers
3k
views
Alternative to Nautilus for copying file paths?
I just moved from Ubuntu 18.04 to 20.04. A strange behaviour in Files (Nautilus) is that you cannot copy a file path. Instead, it copies
x-special/nautilus-clipboard
copy
file:///home/mywork/test.txt
...
-1
votes
1
answer
61
views
My System is failed to unlocked
I mistakenly change my variable path of my xubuntu 18.04, i have tried many options found in this platform but is not working for me.
Please i need an urgent help Screenshotof my tty4 console
0
votes
1
answer
54
views
Trouble starting MATLAB via Alt+F2
I've recently installed MATLAB to /opt/matlab/R2016a and I've managed to give myself the privilidges to run it. Next I wanted to be able to run it from a terminal and or the Alt+F2 "quick command line"...
2
votes
1
answer
516
views
After installing binary to another directory, error "No such file or directory"
After uninstalling a program with apt and reinstalling it in another location (ex. pypy with snap), running the program from command line reports bash: /usr/bin/pypy: No such file or directory, but ...
0
votes
0
answers
2k
views
How to add to /etc/environment?
I use a mac at work, which has /etc/paths to add paths, with the syntax:
/usr/foo
/usr/bar
Using wsl with ubuntu-18.04-ls, I wanted to add "/home/linuxbrew/.linuxbrew/bin" to etc/environment, ...
0
votes
0
answers
281
views
No bclfastq found on path
I tried to run bcl2fastq, but it said [error] No bcl2fastq found on path.
Thanks in advance for any help and suggestion!
Best,
Yue
li@li-HP-Pavilion-Desktop-590-p0xxx:~$ bcl2fastq --help
...
0
votes
0
answers
3k
views
Changing the default file path for gcc compiler
I'm trying to compile a file named "filename.c" and as far as I know, it has to be in the Home folder when I use the command:
gcc filename.c -o filename
Alternatively, I would have to specify file ...
3
votes
1
answer
2k
views
Problem with accessing an installed ruby gem package from a shell script under Ubuntu 16.04
I used snap to install the latest version of ruby under Ubuntu 16.04
$ sudo snap install ruby --classic
$ which ruby
/snap/bin/ruby
$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-...
1
vote
0
answers
463
views
Need a Universal Username for a .desktop file. Can someone help? $USER / $LOGNAME Don't Work. 18.04
Trying to create a .desktop file for a program and it requires a universal username path so instead of Exec=/home/john/myscript.sh it's Exec=/home/$USER/myscript.sh.
in .desktop files you need an ...
1
vote
0
answers
157
views
After removing sddm and lubuntu-desktop, my desktop environment is missing some environment variables
After removing sddm and lubuntu-desktop, and using startx to spin up a graphical interface with my window manager of choice (cwm), ~/.local/bin is not on the PATH anymore. I googled around and it ...
0
votes
1
answer
441
views
Set path environment variable in Ubuntu [duplicate]
By mistake, I changed the path environment variable in Ubuntu.
Now when I turned my pc on, the login screen is coming and after entering my password and pressing enter, the screen goes away for a ...
0
votes
0
answers
161
views
My installation path is different with the documentation path, why?
Recently I'm installing OpenVino from scratch following this documentation : Install Intel® Distribution of OpenVINO™ toolkit for Linux* . Now after several steps, I realized that the output path ...