How to download source code from yum

Source: Internet
Author: User

From: http://hi.baidu.com/dandanfeng166/item/9dd05395361290abcc80e564

The default yum in fedora, in addition to installing and managing software packages,

You can also use Yum-utils to download the source code.


In fedora 8, only yum is installed by default, and the Yum-utils toolkit is not installed,

First, install the following command:

Yum install Yum-utils


[Root @ localhost etc] # Yum install Yum-utils

Setting up install process

Parsing package install arguments

Resolving Dependencies

--> Running transaction check

---> Package yum-utils.noarch. 1.8-1. fc8 set to be updated

--> Finished dependency resolution

Dependencies resolved

========================================================== ============================================

Package arch version repository size

========================================================== ============================================

Installing:

Yum-utils noarch 1.1.8-1. fc8 fedora 48 k

Transaction Summary

========================================================== ============================================

Install 1 package (s)

Update 0 package (s)

Remove 0 package (s)

Total download size: 48 k

Is this OK [Y/n]: Y

Downloading packages:

(1/1): yum-utils-1.1.8-1. 100% | = 48 KB

Running rpm_check_debug

Running transaction Test

Finished transaction Test

Transaction test succeeded

Running transaction

Installing: Yum-utils ######################### [1/1]

Installed: yum-utils.noarch. 1.8-1. fc8

Complete!


After installing Yum-utils, you can use the yumdownloader command:
Yumdownloader -- source vsftpd

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.