, which has a platform-related sub-directory
SOURCES collection of source materials, patch storage location
SPECS Spec File storage directory
Srmps Store Srmps generated directory
5.2 Place the Sources in the right directory put the source material in the correct position
5.3 Create a spec file that ' tell ' rpmbuild command what does the creation of spec files, this is the program file, Rpmbuild command according to the spec file to make the appropri
deal with pictures when the size of the picture does not match the ImageView size. For example, the size of imageview larger than the picture, how to stretch the picture. The following example shows that the new two ImageView dimensions are 100DPX100DP, the background is red and blue, the large picture size is 157 pixels x220 pixels, the small picture by default uses Ic_launcher (48 pixels x48 pixels).2.1 Fitcenter: If the picture is larger than the
Solve the Problem of horizontal line and screen display of HD3000 on OS X 10.10.2, hd300010.10.2Solve the Problem of horizontal line and screen display of HD3000 on OS X 10.10.2The set display in the X220 version is HD3000. It was not very good when OS X 10.9.5 and 10.10.1 were used before, and there was no problem with direct drive-free.However, after the upgrade to 10.10.2, there will often be gray horizontal lines and color blocks. When it is serio
E7210005 operating system policy does not allow this operation solution this article is used to solve the problem that Windows 7 system cannot use internal administrator user registration fingerprint, has passed the test, absolutely original! Computer Model: Thinkpad X220 system: windows7 64-bit www.2cto.com 1. Right-click on the computer, choose manage-local user and group-user, right-click the Administrator user, and choose rename, rename it as Admi
contain source code and need to be compiled during installation. There are two ways to install such software packages:
Method 1:
1). Execute rpm-I your-package.src.rpm
2). cd/usr/src/redhat/SPECS
3). rpmbuild-bp your-package.specs A specs file with the same name as your package
4). cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package
5)./configure is the same as compil
package and needs to be compiled during installation. There are two installation methods for such software packages.
Method 1:
1. # rpm-I your-package.src.rpm
2. # cd/usr/src/redhat/SPECS
3. # rpmbuild-bp your-package.specs // A specs file with the same name as your package
4. # cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package
5. #./configure
6. # make
7. # make install
M
I just installed fc5, but I cannot find the NIC. It's depressing! But I finally got it out today. Let's share it;
1: Install the kernel source code. I found this part online. For more information, see
1. Check that the GCC and RPM packages are installed.
2. Install the corresponding kernel source code. Because fc5 does not provide the corresponding source code package on the installation disk, you must download it on the official website at the following URL. Ghost (I didn't use this. I'm afraid
. src.rpm is the source package, which is an unedited source code file that has been compressed to form a. src.rpm formatted file. So, this source package is not divided into what 64 bits, 32 bit. In other words, to give you a source code, you compiled on a 64-bit system executable file is 64-bit, the 32-bit system is compiled on the 32-bit.How to install:1.RPM-IVH xxx.src.rpm executes, the folder "~/rpmbuild" is generated under the current user directory, and this folder contains two subdirecto
) version 4.1The VCF specification is no longer maintained by the Genomes Project. The group leading the management and expansion of the format are the Global Alliance for Genomics and health Data working g Roup file Format team, Http://ga4gh.org/#/fileformats-teamThe main version of the specification can found on Https://github.com/samtools/hts-specsThis is under continued development, please check the Hts-specs page for the most recent specification
forced installation package cannot guarantee full functionality.
2. how to install the. src. rpm software package. some software packages end with. src. rpm. These software packages contain the source code rpm Package and need to be compiled during installation. There are two installation methods for such software packages,
Method 1: 1. run rpm-I your-package.src.rpm 2. cd/usr/src/redhat/SPECS 3. rpmbuild-bp your-package.specs a
;@ElementCollection @JoinTable(name ="T_specs_prize", Joincolumns =@JoinColumn(name ="product_id"))@Column(name ="Prize")//price for the corresponding specifications @MapKeyColumn(name ="Specs")//corresponding key-value column name PrivateMapHere are our test methods:new Product();product.setName("prodcut_with_many_prize"new HashMap();for(int05 ; i ++){prizes.put("specs"+i,1.2* i);}product.setPrize
up junk files: If you often use this method to compile RPM packages, you can mainly clean up the contents of various directories in/usr/src/redhat;
Example 2:
Method 1:
1. Execute rpm-I your-package.src.rpm
2. cd/usr/src/redhat/SPECS
3. rpmbuild-bp your-package.specs A specs file with the same name as your package
4. cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package
5 ../
during installation. This type of software package has two installation methods: 1. run rpm-I your-package.src.rpm 2. cd/usr/src/redhat/SPECS 3. rpmbuild-bp your-package.specs A specs file with the same name as your package 4. cd/usr/src/redhat/BUILD/your-package/a directory with the same name as your package 5 .. /configure is the same as compiling common source code software. parameter 6 can be added. ma
packaged and used directly.
Eg> Use nginx tar as the RPM package
1. Download The nginx source code package
2. Put the file in the/usr/src/redhat/SOURCES/directory.
3. Compile the SPEC File
[Root @ mail SPECS] # vinginx-0.8.35.spec
Summary: the first rpmpackage
Name: nginx
Version: 0.8
Release: 35
Vendor: chenwei01@corp.the9.com
License: Share
Group: Applications/Text
Source0: nginx-0.8.35.tar.gz
% Description
My test nginx
% Prep
Tar
quickly packaged and used directly.
Eg> Use nginx tar as the RPM package
1. Download The nginx source code package2. Put the file in the/usr/src/redhat/SOURCES/directory.3. Compile the SPEC File
[Root @ mail SPECS] # vinginx-0.8.35.spec
Summary: the first rpmpackage
Name: nginx
Version: 0.8
Release: 35
Vendor: chenwei01@corp.the9.com
License: Share
Group: Applications/Text
Source0: nginx-0.8.35.tar.gz
% Description
My test nginx
% Prep
, it is best not to use the administrator because the administrator has too much permission. If a command is wrong, the result may be disastrous, and a general rpm package can be created. To create an rpm package, you must use the rpmbuild tool. If the rpmbuild command is not installed, use yum install rpm-build to install it.II. Introduction and configuration of RPM packaging environment1. Environment introduction and configurationTo use the rpmbuild tool for packaging, you must have a "wo
code is compiled into binary code, you can install it on your machine.
If we download binary code and binary code, mysql is used as an example. mysql downloads binary code. After decompression, in fact, it can be used directly.
Source code is a code written by a programmer,
Binary code is the machine running code.
Source code must pass compile to become binary code.
How to score? Run the file command to see the following:
Tar-zxvf some.version.tar.gz
Cd some
File *
$ File source. file
$ Fi
package that contains the source code, and at the time of installation
Need to compile. There are two ways to install this type of package.
Method One:
Execute rpm-i your-package.src.rpm
cd/usr/src/redhat/specs
rpmbuild-bp your-package.specs a SPECS file with the same name as your package
cd/usr/src/redhat/build/your-package/a directory with the same name as your package
./configure This step
commands to execute during creation, and what operations to perform during installation, and the files to be included in the software package. With this file, RPM can produce the corresponding package file. Of course, there are also open-Source package preparation tools such as Source rpm, which can be created through the wizard as long as a program Source.A simple example:In fact, the best way is to make a software package. I remember that both rpm and debian have open-source software that can
can ignore all dependencies and file problems, all packages can be installed, but such mandatory software packages cannot be fully functional. 2. how to install the. src. rpm software package. some software packages end with. src. rpm. These software packages contain the source code rpm Package and need to be compiled during installation. There are two installation methods for such software packages. Method 1: run rpm-I your-package.src.rpm cd/usr/src/redhat/
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.