- Edited
So I've been trying to use the latest versions of TexLive and Pandoc beause the repository ones are a bit old. There are already tasks to update them, but I understand it may take a while.
I read about how to install TexLive and Pandoc and turns out I pretty much only have to add the /bin folders to PATH.
I found this but for the life of me I cannot find a way to use ~.profile
or ~.bash_profile
The only way I actually managed to get my folders to automatically load into PATH was to edit my first .sh
file 10-path.sh
and add these 2 lines I needed:
if [ -d "$HOME/bin/pandoc/pandoc-2.7.3/bin" ]; then
export PATH="$HOME/bin/pandoc/pandoc-2.7.3/bin:$PATH"
fi
if [ -d "$HOME/bin/texlive/2019/bin/x86_64-linux" ]; then
export PATH="$HOME/bin/texlive/2019/bin/x86_64-linux:$PATH"
fi
I know there has to be a better way, but I simply don't know how. Could anyone please help me out please?