Linked Questions

15 votes
7 answers
51k views

Can't find or run spotify after `snap install spotify`

I am using Ubuntu 16.04, running this command succeeded: sudo snap install spotify And running it again indicates Spotify is installed. However, running: spotify Gives command not found! Searching ...
user126350's user avatar
7 votes
4 answers
64k views

How to set environmental variable PATH?

I'm using Ubuntu 10.10 and downloaded jdk7 from java.sun.com. That jdk is a compressed file and on extraction there I got all the files and folders of jdk1.7.0. But now if I tries to compile a java ...
Mohammad Faisal's user avatar
0 votes
2 answers
473 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 ...
EnlightenedFunky's user avatar
0 votes
2 answers
613 views

Set custom added PATH vars to work in each Terminal session [duplicate]

I ran these 2 commands simply in the terminal: export PATH="$PATH:/home/milkncookiez/Developer/android-studio/bin" export PATH="$PATH:/home/milkncookiez/Developer/PhpStorm/bin" in the 2 bin folders ...
Milkncookiez's user avatar
-1 votes
2 answers
55 views

What can I do to keep applications installed from disappearing?

So here's the deal: I use MS RDP to remote into a Ubuntu desktop I installed brew added to PATH, and then installed a number of applications I added a bunch of aliases at any given time, if my ...
diky's user avatar
  • 9
4 votes
1 answer
9k views

Open a new terminal and source scripts

I want to write a script to activate a virtual environment and run my server for Django project in a new terminal. My startProject.sh is: #!/bin/bash source virtualenv/bin/activate python manage.py ...
Heuyie's user avatar
  • 169
3 votes
1 answer
2k views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
Debabratta Jena's user avatar
0 votes
1 answer
405 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 ...
data 's user avatar
0 votes
1 answer
2k views

How can I permanently change PATH variable in Ubuntu 20.04? [duplicate]

How can I permanently change PATH variable in Ubuntu 20.04? What file should I modify? Thank You
Pedro Rodríguez Cervera's user avatar
0 votes
1 answer
198 views

Conda activation [duplicate]

I recently moved miniconda2 to another directory and now I can't activate the conda environment. Please any suggestion to resolve this problem. bash: conda: command not found
Assia Assia's user avatar
0 votes
1 answer
3k views

Export path working from terminal but not bash script

If I run export PATH=$PATH:/home/mike/bin/*:/home/mike/app/* from a command line it works fine, but if I put it into a bash script, it doesn't work (even with a restart). I have also tried including ...
user8897013's user avatar
0 votes
1 answer
995 views

PATH variable to Apache OPENNLP OK but doesn't work

yesterday I installed in my Ubuntu AWS 12.04 (Amazon) micro istance OpenNLP and seemed working. Today when digiting opennlp:command not found Following suggestions found here: I modified my ....
user2315094's user avatar
-1 votes
1 answer
1k views

when tried to edit .bashrc file The command could not be located because '/usr/bin' is not included in the PATH environment variable [duplicate]

When i tried to edit .bashrc file I am getting the above error how to solve this. when i gave $ echo $PATH /home/vijay/usr/bin:PATH:/bin is displayed Steps in detail would help
user3256115's user avatar