The Linux Foundation

 
RepositoryInfo

From The Linux Foundation

Revision as of 20:02, 19 July 2007 by Mats (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

New! 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:

  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:

  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).

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]