The Linux Foundation

 
RepositoryInfo

From The Linux Foundation

(Difference between revisions)
(New page: <font color="red">New!</font> Beginning with LSB 3.1 Update 1, the LSB Distribution Testkit is available in APT and yum repositories in addition to the tar file. To access the APT reposit...)
 
Line 1: Line 1:
 +
= LSB Software Repositories =
  
<font color="red">New!</font> Beginning with LSB 3.1 Update 1, the LSB Distribution Testkit is available in APT and yum repositories in addition to the tar file. To access the APT repositories, add the following to ''/etc/apt/sources.list'':
+
Beginning with LSB 3.1 Update 1, LSB software from The Linux Foundation, including the LSB Distribution Testkit, LSB Application Testkit and LSB Software Development Kit are available in apt and yum repositories.
 +
 
 +
== APT Repositories ==
 +
in addition to the tar file. To access the APT repositories, add the following to ''/etc/apt/sources.list'':
  
 
   deb http://ftp.freestandards.org/pub/lsb/repositories/3.1/debian lsb main
 
   deb http://ftp.freestandards.org/pub/lsb/repositories/3.1/debian lsb main
  
and install the package '''lsb-task-dist-testkit'''. For secure APT (which is used for nearly all current Debian-based systems), you will need to add the LSB repository key to the APT keyring. The key is available at:
+
and install the package '''lsb-task-dist-testkit'''.  
 +
 
 +
=== APT Signing Key ===
 +
 
 +
For secure APT (which is used for nearly all current Debian-based systems), you will need to add the LSB repository key to the APT keyring. The key is available at:
  
 
   http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt
 
   http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt
  
You can add this key by running ''apt-key add lsb-repo-2CF4470F.txt'' as root after downloading the file (e.g., with ''wget http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt'').
+
You can add this key by running <tt>apt-key add lsb-repo-2CF4470F.txt</tt> as root after downloading the file (e.g., with <tt>wget http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt</tt>).
 +
 
 +
== YUM Repositories ==
 +
 
 +
For older versions you need to add a repository section to <tt>/etc/yum.conf</tt>; for yum 2.1 and later the preferred method is to describe each repository by a single file in <tt>/etc/yum.repos.d</tt>.
 +
 
 +
=== yum signing keys ===
 +
note that in order to deal with the enforcing GPG checks with yum, you should either import the appropriate LSB Project GPG key; otherwise you need to set gpgcheck to 0.  
  
 
The stanzas to add to access the yum repositories are at:
 
The stanzas to add to access the yum repositories are at:

Revision as of 21:04, 19 July 2007

Contents

LSB Software Repositories

Beginning with LSB 3.1 Update 1, LSB software from The Linux Foundation, including the LSB Distribution Testkit, LSB Application Testkit and LSB Software Development Kit are available in apt and yum repositories.

APT Repositories

in addition to the tar file. To access the APT repositories, add the following to /etc/apt/sources.list:
  deb http://ftp.freestandards.org/pub/lsb/repositories/3.1/debian lsb main

and install the package lsb-task-dist-testkit.

APT Signing Key

For secure APT (which is used for nearly all current Debian-based systems), you will need to add the LSB repository key to the APT keyring. The key is available at:

  http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt

You can add this key by running apt-key add lsb-repo-2CF4470F.txt as root after downloading the file (e.g., with wget http://ftp.freestandards.org/pub/lsb/keys-for-rpm/lsb-repo-2CF4470F.txt).

YUM Repositories

For older versions you need to add a repository section to /etc/yum.conf; for yum 2.1 and later the preferred method is to describe each repository by a single file in /etc/yum.repos.d.

yum signing keys

note that in order to deal with the enforcing GPG checks with yum, you should either import the appropriate LSB Project GPG key; otherwise you need to set gpgcheck to 0.

The stanzas to add to access the yum repositories are at:

  http://ftp.freestandards.org/pub/lsb/repositories/3.1/yum/

With yum 2.1 or newer, you can set up the yum repository file properly by running the following as root (where ARCH is set to one of: ia32, ia64, ppc32, ppc64, s390x, or x86_64):

  ARCH=""
  TOP="http://ftp.freestandards.org/pub/lsb/repositories/3.1/yum"
  wget -O /etc/yum.repos.d/LSB-$ARCH.conf $TOP/lsb-$ARCH.repo

Once the repository files are set up properly, you can install the Distribution Testkit by running the following as root:

  yum -y install lsb-task-dist-testkit

[Article] [Discussion] [View source] [History]