<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1518710377847_4841">Hi,</div><div id="yui_3_16_0_ym19_1_1518710377847_4842"><br id="yui_3_16_0_ym19_1_1518710377847_4843"></div><div id="yui_3_16_0_ym19_1_1518710377847_4844"><br id="yui_3_16_0_ym19_1_1518710377847_4845"></div><div id="yui_3_16_0_ym19_1_1518710377847_4846">Currently I am trying to install LLVM version 3.4.2. I am using Linux Mint 18.3 Sylvia.</div><div id="yui_3_16_0_ym19_1_1518710377847_4847"><br id="yui_3_16_0_ym19_1_1518710377847_4848"></div><div id="yui_3_16_0_ym19_1_1518710377847_4849">I followed steps to install it from this following website :</div><div id="yui_3_16_0_ym19_1_1518710377847_4850">http://releases.llvm.org/3.4.2/docs/GettingStarted.html</div><div id="yui_3_16_0_ym19_1_1518710377847_4851"><br id="yui_3_16_0_ym19_1_1518710377847_4852"></div><div id="yui_3_16_0_ym19_1_1518710377847_4853">I was able to configure and build LLVM and Clang.</div><div id="yui_3_16_0_ym19_1_1518710377847_4854">I set the environment variables in /etc/environment to :</div><div id="yui_3_16_0_ym19_1_1518710377847_4855"><br id="yui_3_16_0_ym19_1_1518710377847_4856"></div><div id="yui_3_16_0_ym19_1_1518710377847_4857">LLVM_LIB_SEARCH_PATH=/home/jake/llvm/llvm_build_dir/lib/Bitcode</div><div id="yui_3_16_0_ym19_1_1518710377847_4858"><br id="yui_3_16_0_ym19_1_1518710377847_4859"></div><div id="yui_3_16_0_ym19_1_1518710377847_4860">After I set up the environment variables for the LLVM, I am still unable to run LLVM and Clang.</div><div id="yui_3_16_0_ym19_1_1518710377847_4861"><br id="yui_3_16_0_ym19_1_1518710377847_4862"></div><div id="yui_3_16_0_ym19_1_1518710377847_4863"><b id="yui_3_16_0_ym19_1_1518710377847_5043">jake@jake-Inspiron-5448 ~ $ llvm</b></div><div id="yui_3_16_0_ym19_1_1518710377847_4864"><i id="yui_3_16_0_ym19_1_1518710377847_5092">No command 'llvm' found, did you mean:</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4865"><i id="yui_3_16_0_ym19_1_1518710377847_9615"> Command 'rlvm' from package 'rlvm' (universe)</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4866"><i id="yui_3_16_0_ym19_1_1518710377847_9616"> Command 'lvm' from package 'lvm2' (main)</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4867"><i id="yui_3_16_0_ym19_1_1518710377847_10027"> Command 'lkvm' from package 'kvmtool' (universe)</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4868"><i id="yui_3_16_0_ym19_1_1518710377847_10028">llvm: command not found</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4869"><b id="yui_3_16_0_ym19_1_1518710377847_5050">jake@jake-Inspiron-5448 ~ $ clang</b></div><div id="yui_3_16_0_ym19_1_1518710377847_4870"><i id="yui_3_16_0_ym19_1_1518710377847_9617">The program 'clang' is currently not installed. You can install it by typing:</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4871"><i id="yui_3_16_0_ym19_1_1518710377847_10025">sudo apt install clang</i></div><div id="yui_3_16_0_ym19_1_1518710377847_4872"><br id="yui_3_16_0_ym19_1_1518710377847_4873"></div><div id="yui_3_16_0_ym19_1_1518710377847_4874"><br id="yui_3_16_0_ym19_1_1518710377847_4875"></div><div id="yui_3_16_0_ym19_1_1518710377847_4876">May I know, is the directory to environment variables is correct? If not correct, may I know the correct directory?</div><div id="yui_3_16_0_ym19_1_1518710377847_4877"><br id="yui_3_16_0_ym19_1_1518710377847_4878"></div><div id="yui_3_16_0_ym19_1_1518710377847_4879"><br id="yui_3_16_0_ym19_1_1518710377847_4880"></div><div id="yui_3_16_0_ym19_1_1518710377847_4881">Many thanks for your help.</div><div id="yui_3_16_0_ym19_1_1518710377847_4882"><br id="yui_3_16_0_ym19_1_1518710377847_4883"></div><div id="yui_3_16_0_ym19_1_1518710377847_4884">Regards,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1518710377847_4885">Jake</div></div></body></html>