Skip to main content

All Questions

Tagged with
0 votes
1 answer
2k views

Running a command from cmd.exe using WSL

I am facing the same issue here: Passing command to bash from cmd.exe (WSL) not working Except that for me the solutions there do not work either. I have WSL installed, and I am trying to run a ...
Tamer's user avatar
  • 3
0 votes
1 answer
916 views

Not able to compile GTK files

I installed gtk manually through source and everything was correct but when I try to run my gtk C files. It gives an error saying that the <gtk/gtk.h> are not found. So far I understood that it'...
Ahmad Raza Khan's user avatar
0 votes
1 answer
5k views

Remove paths from $PATH variable with PATH=$(echo "$PATH" | sed -e ...) doesn't work

Because I'm not familiar with the way to add permanent path, I export the wrong dir accidently, which is /home/adolph/anaconda3/condabin. (It should be /home/adolph/anaconda3/bin) adolph@adolph-...
GladToSeeU's user avatar
2 votes
1 answer
330 views

Homebrew unavailable on Ubuntu when connecting via ssh (PATH doesn't include brew location)

I am connecting with ssh from a Mac to a Ubuntu machine with Homebrew installed (as per these instructions). When using the Ubuntu machine directly, brew works fine. But with ssh, I get the the ...
Py_Dream's user avatar
  • 151
3 votes
2 answers
1k views

Where is the login shell path set for /user/games etc..?

When I launch a terminal in ubuntu I get following path on echo $PATH /home/myuser/anaconda3/condabin:/home/myuser/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/...
Sreeraj Chundayil's user avatar
-2 votes
1 answer
1k views

The command could not be located

I found this whenever I open a terminal window. Can someone find a permanent solution of this? bash: /usr/lib/jvm/jdk-16.0.1: Is a directory Command 'dircolors' is available in the following places * ...
Pikaschu's user avatar
0 votes
0 answers
453 views

emulate windows path with symbolic links

I have many files that refer to N:/path/to/MainFolder I am working with Ubuntu, I do not use Windows and I have my MainFolder in my user directory. I would like to know if there is a way to create a ...
user60108's user avatar
  • 101
0 votes
3 answers
953 views

How to change .profle and have the setting effective without sourcing .profile every time or needing to reboot?

If it is on the Mac or on Ubuntu, sometimes we have to add a path to PATH: https://stackoverflow.com/questions/33725639/npm-install-g-less-does-not-work-eacces-permission-denied # add the following to ...
nonopolarity's user avatar
  • 3,109
1 vote
1 answer
3k views

update PATH in bashrc

I would like to update my PATH in the .bashrc file, but the last line is export PS1="... So I do not know where I should put export PATH= I am using Ubuntu 20 Edit 1 Content of bashrc # ~/....
Makoto's user avatar
  • 113
2 votes
1 answer
15k views

Warning "not on PATH" when I tried to install python extensions. I'm new to Linux -- what does this mean?

When I tried to add python extension to vscode, it showed that some extension(?) was absent and automatically prompted the following command /bin/python3 /home/myusername/.vscode/extensions/ms-python....
Sage Weasley's user avatar
0 votes
2 answers
582 views

What is the path of PyCharm in ubuntu when installed from the software store?

I installed PyCharm Professional from the Ubuntu Software Store. I am using Ubuntu 20.04 although I don't think that matters much here. I can't use it in the command line. I can't happen to find ...
Diptangsu Goswami's user avatar
-1 votes
1 answer
1k views

How to access external hard drive from Ubuntu Shell and Python code [duplicate]

I am running out of space in my local device. I have external hard disk. I want to point my python code to write to directory there. How can I know the full path for the hard disk? I tried to go to ...
user9371654's user avatar
1 vote
1 answer
982 views

Ubuntu 14.04.2 LTS: 'find' not found in PATH or not executable

I am trying to install some graphics libraries with the following command: sudo apt install jpegoptim optipng It however fails to run with stating the following: Reading package lists... Done ...
ACanal's user avatar
  • 19
5 votes
1 answer
1k views

Installed program executable runs from wrong location

I installed parcellite in Ubuntu (downloaded from http://parcellite.sourceforge.net/) After installing from sources, sudo make install, I can see that it is installed at below location. However, ...
xxx374562's user avatar
  • 304
-1 votes
1 answer
1k views

Ruby on Rails Routing Error [closed]

I am running ruby on rails on an Ubuntu Droplet and I am encountering the following error when I navigate to my domain name: Routing Error uninitialized constant HomeController Rails.root: /home/...
Cody Rutscher's user avatar

15 30 50 per page