Article Title: *. src. rpm package and * .tar.gz, *. rpm package. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Run rpm-ivh *. src. the rpm command to install it does not install the program and its data like the binary rpm package, it is To/usr/src/redhat (different releases may be slightly different). You have to compile and install the * .tar.gz source Package released by yourself.
2. If you use rpmbuild -- rebuild *. src. rpm to compile the file. After compilation, the file with the same name will be generated in the RPMS directory of/usr/src/linux (different releases may be slightly different *. rpm software package, you can install it this time: rpm-ivh *. rpm.
Source code in the form of * .tar.gz (please note that * .tar.gz is not the source code! Can be determined by the tar ztvf * .tar.gz column list) is a directory and file directly packaged and compressed ,*. src. in addition to the tar.gz package with the same name, rpm also has a description file (*. spec ).