Confusion regarding MACHTYPE for installing blat
0
0
Entering edit mode
7 weeks ago

Hello.

I am trying to install BLAT server on my laptop. I have red the instructions about its installation and has come across these lines i.e

1. If necessary set this environment variable. Do this under the bash shell as so: export MACHTYPE=something or under tcsh as so: setenv MACHTYPE something and place this setting in your home directory .bashrc or .tcshrc environment files so it will be set properly the next time you login. Remember to "export" it as show here for the bash shell.

2. Make the directory ~/bin/$MACHTYPE which is where the (non-web) executables will go. Add this directory to your path to access the built binaries. My MACHTYPE variable is x86_64-pc-linux-gnu How to set the environment variable for it.. i did not understand the statement. Can anyone explain? Also where should i make the directory and which path should i add the directory to access the built binaries? can anybody elaborate? MACHTYPE BLAT • 398 views ADD COMMENT 0 Entering edit mode Information posted above tells you how to set the variable in the first point you posted above. If you are using bash shell then do: $ export MACHTYPE=x86_64-pc-linux-gnu


If you now do

$echo$MACHTYPE


you should see the value of the variable which is

x86_64-pc-linux-gnu

0
Entering edit mode

I did exactly you mentioned. How would i know my variable has been set?

0
Entering edit mode

If you try the second command above (one with echo) and see the correct answer then your variable is set for this particular session. You need to put this in your shell initialization file if you want it to get set for each shell you open.

0
Entering edit mode

Can you now explain me the third point? Where should i make the directory now? which bin they are talking about and which path?

0
Entering edit mode

Don't take this the wrong way but if you are not able to follow the directions you posted above then this configuration is going to be pretty challenging.

You need to mkdir ~/bin/\$MACHTYPE to create the directory.

0
Entering edit mode

Yes by doing so, I have seen the variable x86_64-pc-linux-gnu