To install the src. rpm package containing the source code, first install a software rpm-build.
After the software is installed, the/usr/src/RedHat folder is generated in the Red Hat 5 environment. The folder contains the following folders:
BUILDROOT: stores temporary compilation files.
BUILD: stores compiled files
SOURCE: storage SOURCE code package, such as tar.gz tar.bz2
RPMS: stores rpm packages after s
The difference between the source package and the RPM package1. Different mounting positions
RPM Package Default installation path
/etc/
Configuration file Installation Yanzhou
/usr/bin/
Executable Command installation directory
/usr/lib/
function library where the program is stored
/usr/share/doc/
Basic software
Scenario One: The export feature that comes with eclipseStep 1: Prepare the master manifest file "MANIFEST." MF ",Because it is a Java project that refers to a third-party jar package, a custom configuration file, MANIFEST.MF, is required to create the file MANIFEST.MF under the project, which reads as follows:Manifest-version:1.0class-path:lib/commons-codec.jar Lib/commons-httpclient-3.1.jar Lib/commons-logging-1.1.jar Lib/log4j-1.2.16.jar Lib/jackso
1. Download The. SRC. RPM package.Example: https://repos.fedorapeople.org/repos/openstack/EOL/openstack-grizzly/epel-6/openstack-quantum-2013.1.4-4.el6.src.rpm2. Use "rpm-IVH" to decompress the source code package.Example: rpm-IVH openstack-quantum-2013.1.4-4.el6.src.rpm (-- root = xxx specifies the path)The extracted results are stored in/root/rpmbuild.3. (optional) Check the decompressed file.Example: CD/root/rpmbuild/specs/Ls openstack-quantum.spec4. (optional) modify the source code.5. Use r
Here we mainly introduce the method of executing in the form of the basic command:The main use is only, Javac, Jar, Java (*.exe) command,A. Javac[java source file compiled into class]1. Common directives: JAVAC-CP Specify multiple ClasspathJavac-classpath can specify a classpath to compile Java filesSuch as:Javac-classpath **\servlet-api.jar **.java To compile a Java fileNeed to specify multiple paths?is with a semicolon; separatedSuch as:JAVAC-CP classes; C:\Tomcat\lib\servlet-api.jar -encoding
Android Practice Note (3) --- Fragment parsing with app package or v4 package, android --- fragment
Android Practice Notes (3) --- Analysis of Fragment app package or v4 package
1) Problem Description
I believe that many of my friends will encounter the following situation when calling Fragment:
This is a problem...
A dependency reference between two Web projects. The Web project is referenced by the way the war package is used. For example, there are two projects, Puzzle-web and Puzzle-web-demo, and two are Web projects, and Puzzle-web-demo depends on Puzzle-web, which is configured as follows.(1) Puzzle-web Configuration of package in Project Pom.xmlA, compile the plug-in version to use 2.4, otherwise, you can appe
Programs that do not have a package in Java are compiled in a different way than programs with packages. One, without package program Create a Helloworld.java file, put in C: public class helloworld{ public static void Main (String args[]) //write String to screen " helloworld! " { System.out.println ("helloworld!"); } } 1. Compiling compiled instructions are Javac Compilation method: File root javac f
Android -------- create the Context of another package from avti.pdf in one package,
Android has the concept of Context, which must be known to everyone. Context can do many things, such as opening activity, sending broadcast, opening folders and databases under this package, obtaining classLoader, and obtaining resources. If we get the Context object of a
Android -------- create the Context of another package from avti.pdf in one package,
Android has the concept of Context, which must be known to everyone. Context can do many things, such as opening activity, sending broadcast, opening folders and databases under this package, obtaining classLoader, and obtaining resources. If we get the Context object of a
The "preface" is explained in the blog post:This article describes the rpm command in a personal tone, including viewing installed package information and not installing RPM package information.At the current point in time "June 12, 2017 " under the limited level of skills, there may be a lot of knowledge understanding is not enough in-depth or comprehensive, I hope you point out the issue of common communi
Have published two articles about the MyBatis package, at that time had promised to test no problem after a Hai will tidy up and then release the original code.So today is just a friend to find me a copy of that set of MyBatis package of source code, I have to organize a copy, think so long time and did not find any obvious bug, so decided to send it out.
Favorite friends can download here:Http://aiyiupload
Objective
In the previous article we described how to configure the Go development environment under Windows installation. This article describes the directory structure of code Golang, application compilation, custom packages, and references to remote packages.
Code directory structure
At the end of the Gopath we set the SRC directory is the main directory of our next development program, all the source code is placed under this directory, the general practice is a directory of a project .
For
Engineering Catalogue
Having learned the above knowledge, we can now complete the planning of a project directory. As an example of writing a command-line program, we typically provide both command-line and API patterns, and we use a three-party package to write code. In addition to the code, a complete program should have its own documentation and test cases. Therefore, a standard engineering directory looks like this below.
-/home/user/work
Android has a context concept that everyone knows. Context can do a lot of things, open activity, send broadcasts, open folders and databases under this package, get classloader, get resources, and so on. If we get a context object for a package, we can basically do most of the things we can do with this package.So can we get it? I'm glad to tell you, can!The context has a Createpackagecontext method that c
Create and package a project using the android command line, and package the project using the android command line.Create an Android project using the command line to view sdk Information
Change the directory to the path of the Android SDK tools.
Run:
Android list targets
This will print the list of available Android platforms that you have downloaded for your SDK. Find the note that you want to compile yo
From: http://hi.baidu.com/andyloolu/blog/item/a64f0ed12cc10738960a165a.html
In Oracle, you can define package variables.
Many people are not very clear about the use of package variables. First, let's look at the following example:
Create or replace package ds_testProcedure proc1;End ds_test;/
Create or replace packag
In this paper, a brief introduction
PHPThe operation of the ZIP compression package needs to be in the case of no pressure on how to directly display the pictures or files, the method is very simple mainly using the
PHPIn the Zip File series function, Base64_encode function, I hope you can have some inspiration and improve their
PHPTechnology.
PHP Operation Zip Compressed package file Basic method Everyone
This time a project was used by Maven to compile, I was in the local development of the jar package is placed in the Web-inf/lib directory, throughBuildPath imports the jar package and then uses the MyEclipse: Maven Package Command to fight the war packet, which runs under Tomcat and has a jar package under Lib under t
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.