= APT/Yum Repository = Many RPM-based GNU/Linux distributions support either APT or Yum as the package manager. RTEMS provides repositories compatible with both package managers. With both of these, it is important to know how RTEMS tool targets are named. See [wiki:TBR/UserManual/SupportedCPUs SupportedCPUs] for a table showing which target architectures are supported by the release branch you are interested in as well as target naming conventions. Thanks to Ralf for providing the impetus to support APT/Yum clients and for continuing to build the RPMs on a regular basis. RTEMS currently does not distribute Debian format packages. There is nothing wrong with Debian, there are just so many hours in the day. If this interests you, [http://www.rtems.com/support.html sponsor Debian tool packaging support] and/or volunteer to help. = Apt Instructions = APT is the Advanced Packaging Tool developed by the Debian Project and extended by Connectiva to support RPMs. This tool can be used to ease downloading and updating the RTEMS Toolset RPMs. The repository configuration information (e.g. ''/etc/apt/sources.list.d/'' files) needed access the RTEMS Tool APT Repository is contained in a package named ''rtems-BRANCH-apt-conf-VERSION-DISTRIBUTION.noarch.rpm''. Beginning at http://www.rtems.org/ftp/pub/rtems/linux/, you will have to navigate through directories to select * RTEMS Branch - 4.6, 4.7, 4.8 or 4.9 (CVS head) * GNU/Linux Distribution - fedora, suse, redhat, etc * GNU/Linux Distribution Version * Host CPU Architecture - i386 or x86_64 When you find the appropriate apt-conf RPM, load it using a command similar to one of the following: {{{ # download the apt-conf RPM and then execute... rpm -ivh rtems-BRANCH-apt-conf-VERSION-DISTRIBUTION.noarch.rpm }}} Or to download and install in one step: {{{ rpm -ivh URL_ending_in_rtems-BRANCH-apt-conf-VERSION-DISTRIBUTION.noarch.rpm }}} After adding the RTEMS APT Repository to the set available, execute the following command to fetch the list of tools available: {{{ apt-get -d update }}} The above command should be executed periodically to learn of updates that are available. Once 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: {{{ apt-get install rtems-4.9-automake-rtems apt-get install rtems-4.9-autoconf-rtems apt-get install rtems-4.9-sparc-rtems-binutils apt-get install rtems-4.9-sparc-rtems-gdb apt-get install rtems-4.9-sparc-rtems-gcc apt-get install rtems-4.9-sparc-rtems-c++ }}} = Yum Instructions = Yum 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. The 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 * RTEMS Branch - 4.6, 4.7, 4.8 or 4.9 (CVS head) * GNU/Linux Distribution - fedora, suse, redhat, etc * GNU/Linux Distribution Version * Host CPU Architecture - i386 or x86_64 When you find the appropriate apt-conf RPM, load it using a command similar to one of the following: {{{ # download the apt-conf RPM and then execute... rpm -ivh rtems-BRANCH-apt-conf-VERSION-DISTRIBUTION.noarch.rpm }}} Or to download and install in one step: {{{ rpm -ivh URL_ending_in_rtems-BRANCH-yum-conf-VERSION-DISTRIBUTION.noarch.rpm }}} After adding the RTEMS APT Repository to the set available, execute the following command to fetch the list of tools available: {{{ yum search rtems }}} Once 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: {{{ yum install rtems-4.9-automake-rtems yum install rtems-4.9-autoconf-rtems yum install rtems-4.9-sparc-rtems-binutils yum install rtems-4.9-sparc-rtems-gdb yum install rtems-4.9-sparc-rtems-gcc yum install rtems-4.9-sparc-rtems-c++ }}}