Tutorial 0: Install pdbtop
In this tutorial, we will show you how to install pdbtop.
Installation
pdbtop is an out-of-the-box program. When you download pdbtop, it is a .zip or .tar.gz file. Once you decompress it, pdbtop is ready to work so actually no installation is needed. Please note that the current version of pdbtop does not have a graphical user interface (GUI). One must use it on the command line of Windows, Linux, or macOS.
For Windows Users
You can call pdbtop with its absolute path every time, or set the PATH variable to the directory where pdbtop resides.
Assume you put pdbtop (pdbtop.exe, etc) in the directory D:\pdbtop, then right-click This PC and click Properties, Advanced System Settings, and Environment Variables. In System variables, select PATH and click Edit. In the edit box, add ;D:\pdbtop at the end of the text in it, and click OK to confirm it.
Tip
Now, you can press Shift and right-click in any File Explorer window and click Open cmd window here to call the command line. Type pdbtop to confirm that you can already call pdbtop commands.
For Linux and macOS Users
You can call pdbtop with its absolute path every time, or set the PATH variable to the directory where pdbtop resides.
Assume you put pdbtop (pdbtop, etc) in the directory /home/you/bin/pdbtop, then open your .bashrc and at the end of the file, add the following statement:
1export PATH=$PATH:/home/you/bin/pdbtop
2export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/you/bin/pdbtop
then run source ~/.bashrc. Type pdbtop to confirm that you can already call pdbtop commands.