Linux Tour (1): diff, Patch and quilt (bottom) 2 quiltOur own projects can manage all the code with CVS or SVN. But sometimes we use projects that other developers maintain. We need to change some files, but we cannot submit the code directly to the version number management tool. It is inappropriate to rebuild the entire project with version number
one, the popular package management has two kinds:Debian Linux's Deb package and Redhat Linux rpm software packages,
Debian Linux first proposed that the application binaries, configuration documents, Man/info help pages and other files merged into a file, users use the Package Manager to directly operate the package,
How to install, upgrade, and uninstall software in Linux is an important part of our daily operations. The next CentOS6 system, for example, explains how to manage our packages using the RPM Package Manager, Yum Package Manager, and source code.I. Relevant background knowledgeMany programs source programs, such as the use of C language source code, to be preprocessed, compiled, compiled, linked to generate
storage relatedVtWhat is the source of YumDownload to local cache metadata cache to local3 Types of protocol:Local file:///protocolRemote server ftp:///HTTP/Yum Warehouse:RPM PackageThe repodata/directory XML file can be used as a Yum source only if the path containing this directory is its subdirectoryRepomd.xml save time stamp to see if there are any changesPrimary.xml.gz the name and dependencies of each RPM package in the current Yum repository:also contains each RPM package to be able to i
source package information
./configure--help View available configuration options
Handle path variables for ease of use
Relink The dynamic library file: The build *.so will be compiled and installed. N file address is added to/etc/ld.so.conf.d/*.conf, one per line; Ldconfig Rebuild Library Map cache ld.so.conf, common options-p and-V
Processing header files: Copy or link the newly generated. h file to/usr/include
Handling Man Handbook: Adding Paths to MANPATH in/etc/man.conf
The RPM is described in detail in the previous blog "Management--rpm Package Manager for Linux packages", but there is a problem? Is that RPM does not automatically resolve dependencies between packages. So there's an enhanced version of the RPM manager-yum.The following is an example of the CentOS6 series.First, Yum IntroductionYUM (Yellowdog Updater Modified) is a C/s architecture, why can it automaticall
For more details, please refer to the websiteVpsmate officially recommended CentOS version 6.2 64-bitConnect to your Linux server using SSH connection tools such as PuTTY, Xshell, SecureCRT, and more.Execute the following command to start the installation:Cd/usr/localwget http://www.vpsmate.org/tools/install.pyinstall. pyAs shown in the following:After the installation is complete, set the administrator user name and password, and if you enter directl
build Zen Road under Linux
1. Prepare the required package for installation1) online Download Open source package:Httpd-2.4.2.tar.gzMysql-5.6.4-m7.tar.gzLibxml2-2.6.19.tar.gzPhp-5.4.0.tar.gzPdo_mysql-1.0.2.tgzZentaopms.4.0.stable.zip2 RHEL5 system disk with the installation package:ncurses-devel-5.5-24.20060715.i386.rpme2fsprogs-devel-1.39-8.el5.i386.rpmkrb5-devel-1.5-17.i386.rpmzlib-devel-1.2.3-3.i386.rpmlibidn-devel-0.6.5-1.1.i386.rpmcurl-devel-7.1
file installation location;System types: Target platform Architecture "NOTE: This option is only used when cross-compiling"Optional Features: Optional--disable-feature--enable-feature[=arg]Optional Packages: A dependent package that defines a dependency--with-package[=arg]--without-packageSome Influential environment variables: things that may affect environment variables
Step two: Execute the "make" command
Step three: Execute "make install"
Here w
Linux Tour (1): diff, Patch and quilt (bottom) 2 quiltOur own projects can manage all the code with CVS or SVN. But sometimes we use projects that other developers maintain. We need to change some files, but we cannot submit the code directly to the version number management tool. It is inappropriate to rebuild the entire project with version number
Because there are several common files to be modified during the u-boot transplant, it is too cumbersome to manually modify them every time. Making patches can solve this problem.
The collection of learning materials is relatively simple, method a similar to this primary problem online information is very rich, Google or Baidu Search, and then select valuable information, method two is to read the man online documents. Complete the collection work, of course, finally to do on their own
|disabled]: All available configurations are displayed by default Yum repoClean [All|packages|metadata|expire-cache|rpmdb|plugins]: empties the cached data.list [all, including installed and installable, default to all|installed installed |available installable]: Show all RPM packagesInfo package_name: Displays the RPM package information. such as #rpm info zshReintall package_name ... : Reinstall the specified package.Check-update: Check for upgradeable packages.Update package_name ...: Upgrade
Oracle Video Tutorial GoalsOracle Video tutorial, wind Brother this set of Oracle Tutorial training to learn Oracle software version number, master Oracle patch classification, Current PSU release, Opatch patch tool and installation case, Nterim Patch/one-off Patch
Tags: parameter src.rpm using AMD support I386 UI Manager addLinks:Two major mainstream of the Linux World: RPM and DPKGContents:1. RPM and DPKG
Distribution representative
Software Management mechanism
Using commands
On-line upgrade mechanism (command)
Red Hat/fedora/centos
Rpm
RPM, Rpmbuild
Yum (yum)
The Red Hat series of Linux software management is divided into three categories: 1. RPM installation software. 2. Yum installs the software. 3. Source package compilation and installation. The previous two types will be detailed in the relevant topics. The compilation and i
Http://www.cnblogs.com/tureno/articles/3748195.html
Linux applications: Linux upgrades under the package and patching production, in the process of doing development will inevitably need to the kernel and download some of the source code to play patches or upgrade, so we learn to use the diff in linux to make patches and how to use
, are often referred to as"TarBall". The installation of the source code package requires the use of the appropriate compilation tools, because most Linux systems are equipped with a basic compilation environment, so the use of source software packages to be more flexible. 4The package that provides the installer: This package has a different extension but is still mostly in tarball format. The package will
1. Binary package Management (RPM, YUM)2. Source Code Package Installation3. Script installation (shell or Java script)4, Debian system Linux Package management IntroductionFirst, RPM package managementAn example of a RPM package:sudo-1.7.2p1-5.el5.i386.rpmThese include the software name (sudo), the version number (1.7
Command: [RPM-Q package name] (check if package is installed, query)[RPM-QA Package Name] (query all installed RPM packages, all)Example: Rpm-qa | grep httpd [RPM-QI package name] (-I: Query software information information,-p: query for package information not installed)[RPM-QL Package Name] (query package inside the file installation location,-L: list) [rpm-qf System file name] (-F: Querying system files for which package filename)[RPM-QR Package
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.