How to install the uninstall .tar.gz format file

xiaoxiao2021-03-06  37

The installation of the tar.gz file is a method that belongs to the source code. Many said, TAR is to push the file into a package, do not compress; .gz is compressed with Gzip to make a package .tar file, so it has become a .tar.gz file.

Install, first unpack, tar -zxvf xxx.tar.gz, which generates a folder named with a file name. There will be some documents, readme, install, doc, etc., readily read it, you can know what special settings need this software installation. There is no way to say this :)

There will be a script file called Configure to complete the task of configuring the configuration. You can add a lot of parameters, which can be run ./configure - help is helpful, such as ./configure --prefix = xxx is where the setting software is installed. Set good parameters, run ./configure, generate your Makefile file, which is the basis for your back compile.

Next, it is necessary to compile, it is very simple, because there is a Makefile file existence, you can complete the Make. Make is a production file that will be read through all Circigure scripts. These production documents will tell Make which files need to be compiled and compiled in any order, as they may have hundreds of source files. When Make works, every command is displayed on the screen, and all parameters related to this command. These outputs are usually the call declaration of the compiler and all parameters passing to the compiler. If the compiler works smoothly, there will be no error message. Most compilers' error messages are very clear and clear, so you don't have to worry that you may miss an error. If you do see a mistake, you don't have to panic. Most of the error messages do not reflect a problem in the program itself, usually the system here or there. Typically, most of this information is due to the incorrect file access authority or because the file is not found.

Complete compilation, then install the software. This is simpler, make install is fine, this command will launch the installation scriptor. Because the make command is displayed when you perform each command, you will see a lot of words passing through your eyes. If you don't see any error message, you will explain this package.

The anti-installation is make Uninstall, don't specify it again.

In fact, Linux is very easy to use, there are many documents that can be checked. Do not understand how to look at the documentation of the software itself, many problems can be solved.

转载请注明原文地址:https://www.9cbs.com/read-73261.html

New Post(0)