tirsdag den 30. august 2016

Update iRODS from 4.1.x to a 4.2 with YUM (Repo)


There was a note on the google chat for iRODS fans about updating to 4.2 via YUM,Zypper or APT.
-----
renci-irods-unstable/7/x86_64/signature                  |  819 B     00:00
Retrieving key from https://unstable.irods.org/irods-unstable-signing-key.asc
Importing GPG key 0x9086C490:
 Userid     : "iRODS Consortium - Unstable <info@irods.org>"
 Fingerprint: 5909 3cb7 0f18 8588 25ac 778f 5054 912c 9086 c490
 From       : https://unstable.irods.org/irods-unstable-signing-key.asc
Is this ok [y/N]: y
----Just say Y

Dependencies Resolved

================================================================================
 Package                            Arch   Version   Repository            Size
================================================================================
Installing:
 irods-icommands                    x86_64 4.2.0-1   renci-irods-unstable 313 k
     replacing  irods-icat.x86_64 4.1.9-0
 irods-server                       x86_64 4.2.0-1   renci-irods-unstable 1.7 M
     replacing  irods-icat.x86_64 4.1.9-0
Updating:
 irods-database-plugin-postgres     x86_64 4.2.0-1   renci-irods-unstable 895 k
 irods-runtime                      x86_64 4.2.0-1   renci-irods-unstable 3.3 M
Installing for dependencies:
 irods-externals-avro1.7.7-0        x86_64 1.0-1     renci-irods-unstable 1.5 M
 irods-externals-boost1.60.0-0      x86_64 1.0-1     renci-irods-unstable  13 M
 irods-externals-clang-runtime3.8-0 x86_64 1.0-1     renci-irods-unstable 347 k
 irods-externals-jansson2.7-0       x86_64 1.0-1     renci-irods-unstable 159 k
 irods-externals-libarchive3.1.2-0  x86_64 1.0-1     renci-irods-unstable 1.4 M
 irods-externals-zeromq4-14.1.3-0   x86_64 1.0-1     renci-irods-unstable 549 k
Transaction Summary
================================================================================
Install  2 Packages (+6 Dependent packages)
Upgrade  2 Packages

Total download size: 23 M
Is this ok [y/d/N]: Y
-----------------------
The Note says:

This server hosts both APT and YUM repositories for the iRODS Consortium.

Installation

Add this server to your package manager's list of repositories to check for new software.

APT

Install the public key and add the repository:
wget -qO - https://unstable.irods.org/irods-unstable-signing-key.asc 
| sudo apt-key add -
echo "deb [arch=amd64] https://unstable.irods.org/apt/ $(lsb_release -sc) 
main" | sudo tee /etc/apt/sources.list.d/renci-irods-unstable.list
sudo apt-get update

YUM

Install the public key and add the repository:
sudo rpm --import https://unstable.irods.org/irods-unstable-signing-key.asc
wget -qO - https://unstable.irods.org/renci-irods-unstable.yum.repo 
| sudo tee /etc/yum.repos.d/renci-irods-unstable.yum.repo

ZYPPER

Install the public key and add the repository:
sudo rpm --import https://unstable.irods.org/irods-unstable-signing-key.asc
wget -qO - https://unstable.irods.org/renci-irods-unstable.zypp.repo 
| sudo tee /etc/zypp/repos.d/renci-irods-unstable.zypp.repo