Rust w/aligner utility but have to add to $PATH for cargo then aligner each time
Currently assigning the Path each time I need to run cargo (cargo will show already installed, but provides the directory path info I need), as follows:
export PATH="/home/shinamouri/.cargo/bin:$PATH" and similarly for aligner export PATH="/root/.cargo/bin:$PATH" After which I can run the utility, but upon completion, the terminal window prompt states a process is still running. The outputted file is already available, so I close the terminal window, but have to repeat the whole process if I open a terminal again. It seems like the directories added to $PATH are being reset. Is there a simple way to set it up so I don't have to repeat the process every time? Notes: 1:Rust install guide I used: https://www.techrepublic.com/article...rust-on-linux/ 2:aligner takes two subtitle files as paramaters, outputting the 2nd, shifted to the timing of the first. (useful for language study) TLDR: I need help making directories stick in $PATH |
I know nothing about the programs you want to run, but you should put the PATH in a script that is executed when you log on or start a shell. Which script that is depends on your shell and also your distro. If the shell is Bash, put the PATH assignment in .bash_profile or .bashrc.
|
All times are GMT -5. The time now is 09:40 AM. |