[rhelv6-list] how to get source packages from RHN channels

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Aug 16 10:34:27 UTC 2013


Sorry I didn't read that you were referring to JBoss channel
I foud link for its sources here:

ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/JBEAP/SRPMS/

so you can download manually or trick a repo like this

# cat rhel-jb-src.repo
[rhel-jb-src]
name=Red Hat Enterprise Linux $releasever - $basearch - JBoss Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/JBEAP/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

and then:
# yumdownloader --source --destdir /tmp apache-mime4j
Loaded plugins: dellsysid, product-id
rhel-jb-src
                               | 2.5 kB     00:00 ...
rhel-jb-src/primary_db
                               | 374 kB     00:01 ...
Enabling epel-source repository
Enabling rhel-6-server-cf-tools-1-source-rpms repository
Enabling rhel-6-server-source-rpms repository
Enabling rhel-6-server-rhev-agent-source-rpms repository
Enabling rhel-6-server-supplementary-source-rpms repository
Enabling rhel-6-server-optional-source-rpms repository
Enabling rhel-rs-for-rhel-6-server-source-rpms repository
Enabling rhel-ha-for-rhel-6-server-source-rpms repository
apache-mime4j-0.6-7.redhat_2.ep6.el6.5.src.rpm

Gianluca




More information about the rhelv6-list mailing list