How To Setup An Enterprise Linux 7 CASA Development Computer
Before You Begin
- You must have access to root on the computer to be setup.
##############################
# Configure repositories
##############################
cd /etc/yum.repos.d/
################################################
# Add epel.repo with the following contents:
################################################
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
###############################################
# Add casa.repo with the following contents:
###############################################
[casa]
name=CASA RPMs for RedHat Enterprise Linux 7 (x86_64)
baseurl=http://casa.nrao.edu/download/repo/el7/x86_64
gpgkey=http://casa.nrao.edu/download/RPM-GPG-KEY-casa http://www.jpackage.org/jpackage.asc http://casa.nrao.edu/download/repo/el7/RPM-GPG-KEY-redhat-release http://casa.nrao.edu/download/repo/el7/RPM-GPG-KEY-EPEL
#################################################################
# In the redhat.repo, turn rhel-7-workstation-optional-rpms
# and rhel-7-workstation-optional-source-rpms on by changing
# "enabled = 0" to "enabled = 1"
#################################################################
Install epel key
#As root
curl -L https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 > /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Install rpms
yum -y install casa-toolset-2
yum -y install casa-toolset-3
Get CASA Data
The data directory is typically stored under /opt/casa/data .
Instructions on how to setup the data repository:
https://casa.nrao.edu/casadocs-devel/stable/casa-processes/data-repository
--
VilleSuoranta - 2016-05-17
-- --
RenaudMiel - 2016-06-13 : corrected casa data repository URL