Install from apt source. Advantages: convenient and fast. There is a search function, which can automatically install dependencies. There is a signature on the package to prevent tampering. Disadvantages: it is cumbersome to build apt source code yourself. You need to configure a third-party apt source on the target machine and then install it. 2. install from deb package. Advantages: more convenient. Copy to the target machine, and then execute dpkg -i for installation. Disadvantages: Software dependencies cannot be solved automatically. There is no guarantee that the installed version is suitable for the current operating system version. 3. Compile and install from the source code. Advantages: good versatility. You can choose the required function to compile, so as to maximize the function and performance. Disadvantages: It takes a long time to install dependencies automatically. Compare CPU and disk consumption.