Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 5 and Version 6 of TBR/Website/APT/Yum_Repository


Ignore:
Timestamp:
05/16/08 15:18:09 (16 years ago)
Author:
JoelSherrill
Comment:

/* Yum Instructions */ Rewrite

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Website/APT/Yum_Repository

    v5 v6  
    5858Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm. This tool can be used to ease downloading and updating the RTEMS Toolset RPMs.
    5959
    60 The following is the contents of the file /etc/yum/yum.rtems.com needed to access the RTEMS Tool Yum Repository with yum-2.0.4 on Fedora:
     60The repository configuration information (e.g. ''/etc/apt/sources.list.d/'' files) needed access the RTEMS Tool Yum Repository is contained in a package named ''rtems-BRANCH-yum-conf-VERSION-DISTRIBUTION.noarch.rpm''.  Beginning at http://www.rtems.org/ftp/pub/rtems/linux/, you will have to navigate through directories to select
     61
     62 *  RTEMS Branch - 4.6, 4.7, 4.8 or 4.9 (CVS head)
     63 *  GNU/Linux Distribution  - fedora, suse, redhat, etc
     64 *  GNU/Linux Distribution Version
     65 *  Host CPU Architecture - i386 or x86_64
     66
     67When you find the appropriate apt-conf RPM, load it using a command similar to one of the following:
    6168
    6269{{{
    63 [main]
    64 cachedir=/var/cache/yum
    65 debuglevel=2
    66 logfile=/var/log/yum.log
    67 pkgpolicy=newest
    68 distroverpkg=fedora-release
    69 tolerant=1
    70 exactarch=1
    71  
    72 [rtems-4.6]
    73 name=RTEMS-4.6 - $basearch
    74 baseurl=ftp://ftp.rtems.com/pub/rtems/linux/redhat/7.3/$basearch/yum/rtems-4.6
    75 gpgcheck=1
     70# download the apt-conf RPM and then execute...
     71rpm -ivh rtems-BRANCH-apt-conf-VERSION-DISTRIBUTION.noarch.rpm
    7672}}}
    7773
    78 The following Yum command sequence downloads and either installs an initial or updates an existing set of RTEMS 4.6 tools for the sparc-rtems target:
     74Or to download and install in one step:
    7975
    8076{{{
    81 c=sparc
    82 yum -c /etc/yum.rtems.com install rtems-4.6-automake-rtems
    83 yum -c /etc/yum.rtems.com install rtems-4.6-autoconf-rtems
    84 yum -c /etc/yum.rtems.com install rtems-4.6-${c}-rtems-binutils
    85 yum -c /etc/yum.rtems.com install rtems-4.6-${c}-rtems-gdb
    86 yum -c /etc/yum.rtems.com install rtems-4.6-${c}-rtems-gcc
    87 yum -c /etc/yum.rtems.com install rtems-4.6-${c}-rtems-c++
     77rpm -ivh URL_ending_in_rtems-BRANCH-yum-conf-VERSION-DISTRIBUTION.noarch.rpm
    8878}}}
    8979
    90 Thanks to Ralf for providing the impetus to support Yum clients.
     80
     81After adding the RTEMS APT Repository to the set available, execute the following command to fetch the list of tools available:
     82
     83{{{
     84yum search rtems
     85}}}
     86
     87Once APT has learned of new packages, it is easy to install and update the tools.  The following downloads and either installs an initial or updates an existing set of RTEMS 4.9 tools for the sparc-rtems4.9 target:
     88
     89{{{
     90yum install rtems-4.9-automake-rtems
     91yum install /etc/yum.rtems.com install rtems-4.0-autoconf-rtems
     92yum install rtems-4.9-sparc-rtems-binutils
     93yum install rtems-4.9-sparc-rtems-gdb
     94yum install rtems-4.9-sparc-rtems-gcc
     95yum install rtems-4.9-sparc-rtems-c++
     96}}}