The friend who just switched from windows to linux environment has the most headache problem with Linux software installation. The variety of installation methods and software package format is really a bit crazy, I used to be the same ^_^. Therefore, the author summarizes the advantages and disadvantages of windows and linux software installation and the basic methods of software installation under linux, for your reference.
First, the traditional window software is generally packaged into an executable installation file, which includes various configuration files, dll dynamic link library and main and sub-programs. The shortcomings of this method are obvious:
It is because of the above defects that Microsoft developed the MSI format installation package. Works with linux packages similar. But there is still the shortcoming mentioned in the second point above, that is, the library file cannot be processed.
Second, the Windows program still has a problem is that the installation program will often put executable programs, library files, and configuration files, data, etc. into a folder. The contents of the folder are confusing, and it is difficult to find something that is difficult to die ^_^.
Speaking of a lot of shortcomings of the window program, the protagonist Linux debut. In fact, from the author's own experience, the biggest reason for your fear of Linux software installation may be that Linux will install the program to multiple folders, friends who have just contacted Linux may be at a loss, do not know from where to find just installed Linux program. Don't worry about this, just remember a few folders and their functions, you won't be at a loss ^_^.
When the linux software is installed, it will usually copy the executable file to /usr/bin, save the library file in /usr/lib, /usr/share/doc/$package /Help file in /. At this time, someone will ask. If the files are placed in different places, isn't it troublesome to uninstall? ! Don't worry, the installer management system keeps track of the location of these files and the dependencies between them. When you no longer need this program, you can call the uninstall command.
Three, there are two mainstream installation package formats in linux, respectively used in the class red hat and class debain system.
1. Comparison table of common installation commands of the two installation packages
Debian Red Hat Introduction dpkg -Gi package(s).deb rpm -Uvh packages(s).rpm Installation, upgrade Program dpkg -r package rpm -e package uninstaller dpkg -l ‘*spell*’ rpm -qa ‘*spell*’ check syntax dpkg -l package rpm -q package show program version dpkg -s package rpm - q -i package Displays the metadata of all installation packages dpkg -I package.deb rpm -q -i -p package.rpm Displays the metadata of the files in the installation package dpkg -S /path/file rpm -q -f /path/File View which installation package the file belongs to dpkg -L package rpm -q -l package View the location where the program is installed dpkg -c package.deb rpm -q -l -p package.rpm View the location where the program will be installed dpkg -x package.deb rpm2cpio package.rpm
(1) Ifconfig command The first type uses the ifconfig command to configure the ip
LDM/STM instructions are mainly used for field protection, data copying, parameter transfer, etc. ST
Webalizer is a commonly used web log analysis script under Linux, of course, for nginx. I am curious
Solve the linux system CentOS adjust home and root partition size
CentOS yum command Using tutorials
The general process of the Linux system startup process (10 steps)
LINUX device driver - race, blocking, reentrant code
Make:arm-linux- conmand not found error handling discussion
Linux Service Management Shorthand
Linux manual adjustment date time
Common svn commands under Linux command line
Linux becomes the cloud operating system
How to use cacti to get the custom information sent by snmp? Figure
Windows 8 can be downgraded to Windows 7 or Vista
Simple and small changes make win8 recycler smarter
How to use the Win7 system to create the feeling of karaoke turned into KTV
XP startup DLL error prompts how to do
WP8.1 already supports HD image backup to OneDrive
How to copy files to OneDrive in Win8.1
How to set up Win7 system connection projector