Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing pblat

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the pblat installation package:
    tar -zxvf pblat-2.1.tar.gz
  3. Run the following command to switch to the directory that contains decompressed files:
    cd pblat-2.1/
  4. Run the following commands to modify the Makefile file:
    1. Open Makefile.
      vi Makefile
    2. Press i to enter the insert mode and modify the file as follows:
      MACHTYPE=aarch64
      CC=gcc
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Run the following commands to modify the htmshell.c file:
    1. Open htmshell.c.
      vi lib/htmshell.c
    2. Run the following command to locate line 714:
      :714
    3. Press i to enter the insert mode and modify line 714 of the file.
      if (format != NULL)
    4. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Run the following command to compile pblat:
    make -j16
  7. Run the following command to move the executable program of pblat to the planned path:
    cp pblat /path/to/PBLAT
  8. Run the following command to add environment variables:
    export PATH=/path/to/PBLAT:$PATH