(1) Software Installation
There are three main methods for installing software in Linux. The first installation file is xxx.tar.gz, the other is XXX. i386.rpm, and the third is XXX. Deb. Most of the software released in the first method is sent in the source code form; the second method is directly sent in binary form; the third type is the format package closely related to debain GNU/Linux.
A. For the first method, the installation method is as follows:
1. decompress the package. Run the LS command to view the decompressed file. Generally, the extracted files contain "Install" plain text files, which describe the installation method of the software package in detail.
2. Execute the decompressed command to generate an executable script program named configure. It is used to check whether the system has the library required for compilation, and whether the library version meets the compilation requirements and other system information required for installation. Prepare for subsequent compilation. Command: #./configure
3. After the check is passed, the MAKEFILE file for compilation will be generated. Now you can start compiling. The compilation process varies depending on the software scale and computer performance. Command: # Make.
4. After compilation, enter the following command to start installation: # make install
5. After installation, clear the temporary files generated during compilation and files generated during configuration. Run the following command: # Make clean # Make distclean
6. Now, the software installation is complete. Of course there are also ready-made executable software after decompression, such as Linux QQ. After decompression, double-click to execute it, or use./to execute it on the terminal.
B. For the second method, the installation method is much simpler. Copy the installation file to your directory in the same way as the first method. Then use RPM to install the file. The command is as follows:
# Rpm-I 2002139124523.htm. i386.rpm. RPM automatically unpacks the installation file and installs the software in the default directory. And register the software installation information to the RPM database.
C, and the third type, it is also very simple. Run: dpkg-I package_file.deb.
You can run dpkg-L on the terminal to view the software package information.
(2) Software Uninstall
A. In addition to the new software manager, you can use RPM to uninstall the software. To uninstall a software package, you must first know the name registered in the system. Enter the command: # rpm-Q-a to query all the software packages installed in the current system (dpkg-L is not feasible if I have tried it ).
B. Determine the name of the software to be detached and you can start to uninstall the software. Run # rpm-E [package name] to uninstall the software. The function of parameter E is to enable RPM to enter the uninstall mode. Uninstall the software package named [package name. Each software package in the system depends on each other. If the object cannot be detached because of dependency, the RPM prompts and stops uninstalling the object.
C. If the software name has been specified through the dpkg-l command, use apt-Get remove XXX directly.
(3) Use of wine
Wine is a software that can run on the Linux platform. It is similar to a simulator but not a simulator. It allows you to run applications on the XP platform on Ubuntu and other platforms. Although the compatibility is not good, it is basically enough. To install wine, use apt-Get install wine. After the installation is complete, wine will appear in the leftmost menu. Then, right-click the standalone EXE file in the Ubuntu system and select wine loader for processing to install the EXE file. Click and use the software in the menu in the upper left corner.
Of course, wine has other complicated functions, so you can try again.
Http://www.linuxfans.org/bbs/thread-175321-1-8.html ()
Http://www.5dlinux.com/article/1/2008/linux_13002.html ()