Linux Study Notes: Install the linux package

Source: Internet
Author: User
Tags gnucash
Linux Study Notes: Install the linux package-general Linux technology-Linux technology and application information. For more information, see the following. 1. Linux installation packages are generally compressed files and need to be decompressed:
.Tar.gz tar zxvf filename
.Tar.bz2 tar yxvf filename

2. There are roughly three installation methods:

1) patch
Patch <patchfile

2) source code
General installation trilogy:
./Configure
Make
Make install

Make:
Make: Call the compiler to compile the source code into a binary executable file.
Make? N: Use the command to preview the installation process, but do not execute it.
Make install: install the file to the appropriate Directory, which is usually/usr/bin and/usr/local/bin.
Make clean: Delete the target file

3) rpm package and deb package, binary installation package
Deb is a Debian package. Debian is an operating system (GNU/Linux. The GNU program, also known as the GNU program, recognizes the terms of the agreement that grants all rights to anyone without any restriction from others, GNU General Public License (GPL ). This is the concept of "anti-copyright" (or Copyleft.

Run the signature check installation package:
Rpm: rpm-K -- checksig packagename. rpm or rpm-K -- nopgp packagename. rpm
Deb: dpkg-I | -- info packagename. deb or dpkg-e | -- control packagename. deb

Example:
Rpm -- checksig gnucash-1.1.23-4. i386.rpm
Gnucash-1.1.23-4.i386.rpm: size md5 OK
Rpm-K -- nopgp gnucash-1.1.23-4.i386.rpm
Gnucash-1.1.23-4.i386.rpm: size md5 OK

Installation:
Rpm-I packagename. rpm
Dpkg -- install packagename. deb
Add the -- nodeps option to force Installation

The xmkmf command creates a Makefile from the Imakefile provided with the third-party software.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.