Linux Application Installation Overview
- Windows Installer procedure
- Create Programs folder under Program Files folder (Linux/user)
- Copy related dynamic link library (dependent class library) to the program folder or system folder, such as DLL file
- Copy executable file to the program folder, such as EXE file
- Copy configuration file to program folder or system folder, such as INI file
- Put boot configuration and program dependent configuration into the registry (Linux does not have a registry )
- If you have a custom service program, register and start the service program
- Linux Installation principle: CP Class Library, executable program, configuration file to the corresponding directory, optionally configure and start the service as required
- Linux Uninstall principle: Installation Flashback
-
Linux Application Installation Method classification
Download the installation package for installation
package naming format : Package Name _ Version Number-Revision _ Architecture
software package Priority : Required,important,standard,optional,extra
Linux program Dependencies : Dependencies are used to describe the dependencies between the program and the current system program (including the Class library): Depends,recommends,suggests,replaces,conflicts,providers
Common software packages : Rpm,deb
Ubuntu under the Package Installation tool and use : Packaging, Query retrieval package information-including dependency information, install uninstall package; dpkg (Deb Package Common management tool), DPKG-DEB,APT (Common online Intelligent management tool Set), aptitude ...
dpkg Package operation: dpkg -i<package>
Install packages, remove packages, dpkg -r<package>
dpkg -P <package>
remove packages and configuration files, List depg -L<package>
installation packages
tab AutoComplete failure : Edit/ETC/BASH.BASHRC file (Administrator rights required)
Download source file compilation, installation
- Online installation According to the Program Management Pack (Apt-get;apt-cash)
apt-get Install work steps
1. Scan the list of local installation packages
2. Check for package dependencies
3. Download the package from the APT source specified by the package
4. Unpack the package and complete the installation and configuration
From for notes (Wiz)
Linux Learning Notes (v) installation and uninstallation of-linux applications