Linux installs software with a simple and perfect solution for missing dependent packages!

Source: Internet
Author: User

Everyone in the Linux under the source installation, there is a wood often encountered the lack of the package that bag, and then overwhelmed? See a few recent packages installed thrift, installation of Python because of the lack of dependency package and do not go on.
I use the Red Hat, install the system when the habit of all have not to choose, basically did not appear the case of lack of packages, we can try.

If you forget to select all the packages when you install the system, here's what you want.

If the computer can be networked, you can try the following Yum command, paste the command copy past the command line execution is OK:

    1. Yum-y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-deve L zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel Curl curl-devel e2fsprogs E2 Fsprogs-devel krb5-devel libidn libidn-devel OpenSSL openssl-devel nss_ldap openldap openldap-devel openldap-clients ope Nldap-servers libxslt-devel libevent-devel NTP Libtool-ltdl bison libtool vim-enhanced
Copy Code



Here will install basically all you need. There have been several packages that have perfectly solved the problem of missing packets.
If Yum is not helpful, refer to:
Redhat/centos Perfect solution with Yum configuration (incidentally Yum installs memcached)
http://f.dataguru.cn/forum.php?mod=viewthread&tid=44212&fromuid=4771

Linux installs software with a simple and perfect solution for missing dependent packages!

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.