Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ~/....
Dave's user avatar
  • 392
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-...
XXX's user avatar
  • 1
-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 ...
Learn4life's user avatar
1 vote
1 answer
750 views

Can't append to PATH in ~./bashrc using $Home

I just want to add a path in ~/.bashrc as: export PATH="$Home/gg/gamit/bin:$Home/gg/kf/bin:$Home/gg/com:$PATH" But when I am using echo $PATH is showing it as: /gg/gamit/bin:/gg/kf/bin:/gg/com:/...
sandeep gupta's user avatar
0 votes
1 answer
11k views

syntax error near unexpected token `(' in .bashrc [duplicate]

-bash: /root/.bashrc: line 100: syntax error near unexpected token `(' -bash: /root/.bashrc: line 100: `export PATH=/bin/lscript:/bin/lscript:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/...
shArk's user avatar
  • 1
2 votes
3 answers
31k views

how to edit PATH in bashrc

I edit PATH and just insted $PATH i write SPATH sooo I'm stock in login loop and with root terminal try to login and edit PATH so, I don't know how to get bashrc with which command and how to edit ...
Husen's user avatar
  • 123
0 votes
1 answer
514 views

How to solve the conda virtual env and system env conflict on import cv2?

I have installed opencv 3.4.1 correctly on my system enviroment. But after I create a conda virtual environment using opencv3.2.0, it leads some problems here: Under the conda virtual env, I have to ...
waschbaerYOYO's user avatar
1 vote
0 answers
61 views

Is there any difference in setting path for golang, python or java in ubuntu? [duplicate]

In some tutorials path is set in ~/.profile however in some other tutorials they use etc/path or ~/.bashrc, can you explain whats the difference and how it works in linux ubuntu. I am sorry for such a ...
Anam Nizami's user avatar
0 votes
1 answer
1k views

Setting "$PATH" environment for Unix "which" command

I am trying to run two chemistry programs together that need the PATH environment changed in order to find one another. The manual says: Under the UNIX operating systems, R.E.D. looks for the "...
DWK's user avatar
  • 21
0 votes
0 answers
637 views

Program is not accessible from the command-line

I am trying to use BUSCO program for bioinformatic analysis. BUSCO need to Agustus program as dependency. According to BUSCO’s user guide I must add Augustus to path and I did it as following: ...
R khalkhali's user avatar
1 vote
1 answer
1k views

PATH variable in different terminal windows

I note that if I have several terminal windows opened and in one of them I set path variable through bashrc: export APP_PATH="path_to_app" export PATH="$APP_PATH:$PATH" Then call: source ~/....
Long Smith's user avatar
2 votes
1 answer
564 views

What files are run when I log into the desktop?

I don't know how to phrase this to be clear. I'm not talking about terminals or shells, I know what the difference between login and non-login shells are. What I want to know is when I start up my ...
Captain Man's user avatar
2 votes
2 answers
1k views

installing a script in $PATH

I am trying to use yeoman in Ubuntu. Everything is installed correctly but I can't use the command yo from bash. If I navigate to the appropriate directory and run node cli.js everything works from ...
Michael James's user avatar
3 votes
3 answers
6k views

Problem in .bashrc

I try to edit .bashrc to view the C-compilers that I installed before. But after opening the new terminal I am stuck with strange error. I am unable to ls the files/directories and nothing works. It ...
HASSAN's user avatar
  • 33
0 votes
1 answer
1k views

Add a "named" path to .bashrc

I have an error of [error] Android SDK not found. You might need to set ANDROID_SDK_HOME or ANDROID_SDK_ROOT or ANDROID_HOME I have Android SDK installed and, obviously, I have to add a line in ....
Alan Coromano's user avatar
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 ...
Aldo's user avatar
  • 91
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 ...
vishal mahajan's user avatar
0 votes
2 answers
2k views

adding executable file to path and launching from terminal directly

i just downloaded sublime text for my ubuntu, and its working fine. i have the executable file in my ~/sublime folder. now i would like to invoke this app from the terminal by just typing sublime....
ubunnttuu's user avatar