Ubuntu install software and CentOS comparison command

Source: Internet
Author: User
Tags generator gnupg version control system

Before using the Redhat or CentOS and other RPM Linux, start using Ubuntu is not used to

1. Installation commands
Centos:yum Install httpd ubuntu:sudo apt-get install apache2 or sudo aptitude install apache2
Yum List
Yum Search sudo apt-cache search


2. Installation package Management
CENTOS:RPM-QL httpd View RPM Package installation location
RPM-QF file to see which rpm package the file belongs to
Rpm-qa|grep to see if the appropriate RPM package is installed

Ubuntu:dpkg-l |grep similar to Rpm-qa|grep
Dpkg-query-l Git-core GnuPG Flex Bison gperf build-essential Zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x1 1proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos Linux-libc-dev g ++-4.4-multilib libc6-dev-i386 Lib32z1-dev wine1.2 Subversion

+++-======================================-======================================-============================= ===============================================================
II Bison 1:2.4.1.dfsg-3 A Parser Generator that's compatible WI Th YACC
II Build-essential 11.4build1 Informational list of build-essential PA Ckages
II Curl 7.19.7-1ubuntu1.3 Get a file from an HTTP, HTTPS or FTP se RVer
II Flex 2.5.35-9 A Fast Lexical analyzer generator.
II G++-4.4-multilib 4.4.3-4ubuntu5.1 the GNU C + + compiler (multilib files)
II G++-multilib 4:4.4.3-1UBUNTU1 the GNU C + + compiler (multilib files)
II Git-core 1:1.7.0.4-1ubuntu0.2 Fast, scalable, distributed revision con Trol system
II GnuPG 1.4.10-2ubuntu1.4 GNU privacy guard-a free PGP replaceme Nt
II Gperf 3.0.3-1build3 Perfect hash Function generator
II Ia32-libs 2.7ubuntu26.1 IA32 shared libraries for use on AMD64 a nd IA64 Systems
II Lib32ncurses5-dev 5.7+20090803-2UBUNTU3 Developer ' s libraries for ncurses (32-bi T
II Lib32readline5-dev 5.2-7build1 GNU ReadLine and history libraries, deve lopment Files (32-bit)
UN lib32z-dev (no description available)
II Lib32z1-dev 1:1.2.3.3.DFSG-15UBUNTU1 compression library-32 bit development
II Libc6-dev 2.11.1-0ubuntu7.12 Embedded GNU C library:development LIBR Aries and Header Files
II libc6-dev-i386 2.11.1-0ubuntu7.12 GNU C library:32-bit Development Librar IES for AMD64
II Libgl1-mesa-dev 7.7.1-1ubuntu3.1 A free Implementation of the OpenGL API --GLX Development files
II Libx11-dev 2:1.3.2-1ubuntu3.1 X11 client-side Library (development hea DERs)
II Linux-libc-dev 2.6.32-51.113 Linux Kernel Headers for development
II Mingw32 4.2.1.DFSG-1UBUNTU2 minimalist GNU Win32 (Cross) compiler
II Subversion 1.6.6dfsg-2ubuntu1.3 Advanced version control system
II Tofrodos 1.7.8.debian.1-2 converts DOS <-> Unix text files, Alias Tofromdos
II wine1.2 1.2.2-0ubuntu2~lucid1 Microsoft Windows compatibility Layer (B Inary Emulator and Library)
II X11proto-core-dev 7.0.16-1 X11 Core Wire protocol and auxiliary Hea DERs
II Zip 3.0-2 archiver for. zip files
II Zlib1g-dev 1:1.2.3.3.DFSG-15UBUNTU1 Compression library-development

The above command is similar to RPM-QL


The DPKG-QUERY-L package name is similar to RPM-QL can be used to see what the installation package contains and where it is installed

Ubuntu install software and CentOS comparison command

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.