Installing source package with YUM

To install source package with YUM you have to install yum-utils

yum install yum-utils

then, just use yumdownloader:

yumdownloader --source packagename

Advertisements

4 thoughts on “Installing source package with YUM

  1. che stupore per una scopiazzatura da debian!
    gli rpm erano talmente incasinati che alla fine han dovuto copiare apt

    poveri rpm-based fedora users

  2. è la base dell’open source, riutilizzare qualcosa per creare qualcosa altro. Il codice viene rilasciato proprio per questo. qualcuno possa riutilizzarlo per creare qualcosa altro.

  3. And to install all build dependencies automagically:

    $ sudo yum-builddep packagename
    (‘packagename’ can be a local src.rpm filename or a package name in the yum repo)

    Install and build source rpm as normal user:
    (building as root is dangerous and should be avoided!)

    $ rpm -ivh packagename-version.src.rpm
    $ cd ~/rpmbuild (or ~/rpm on some systems)
    $ cd SPECS
    $ rpmbuild -ba packagename.spec

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s