2009/02/14

EPEL を使って Centos 5.2 に Octave をインストール


rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

/etc/yum.repos.d に epel.repo と epel-testing.repo がインストールされる。

/etc/yum.repos.d:
-rw-r--r-- 1 root 1054 Apr 26 2008 epel-testing.repo
-rw-r--r-- 1 root 954 Apr 26 2008 epel.repo
-rw-r--r-- 1 root 626 Jun 19 2008 CentOS-Media.repo
-rw-r--r-- 1 root 2049 Jun 19 2008 CentOS-Base.repo

この状態でEPEL(Extra Packages for Enterprise Linux)のパッケージがインストールできる。

# yum install octave
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* epel: ftp.jaist.ac.jp
* base: www.ftp.ne.jp
* updates: www.ftp.ne.jp
* addons: www.ftp.ne.jp
* extras: www.ftp.ne.jp
epel 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 2.8 MB 00:04
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package octave.i386 6:3.0.1-2.el5 set to be updated
--> Processing Dependency: libcamd.so.2 for package: octave
--> Processing Dependency: libumfpack.so.5 for package: octave
--> Processing Dependency: libcolamd.so.2 for package: octave
--> Processing Dependency: libfftw3.so.3 for package: octave
--> Processing Dependency: libpcre.so.0 for package: octave
--> Processing Dependency: libccolamd.so.2 for package: octave
--> Processing Dependency: libblas.so.3 for package: octave
--> Processing Dependency: libglpk.so.0 for package: octave
--> Processing Dependency: libcholmod.so.1 for package: octave
--> Processing Dependency: libamd.so.2 for package: octave
--> Processing Dependency: libcxsparse.so.2 for package: octave
--> Processing Dependency: libhdf5.so.0 for package: octave
--> Processing Dependency: liblapack.so.3 for package: octave
--> Processing Dependency: libgfortran.so.1 for package: octave
--> Processing Dependency: libqhull.so.5 for package: octave
---> Package octave.x86_64 6:3.0.1-2.el5 set to be updated
--> Processing Dependency: libhdf5.so.0()(64bit) for package: octave
--> Processing Dependency: libamd.so.2()(64bit) for package: octave
--> Processing Dependency: libcolamd.so.2()(64bit) for package: octave
--> Processing Dependency: libcxsparse.so.2()(64bit) for package: octave
--> Processing Dependency: libcholmod.so.1()(64bit) for package: octave
--> Processing Dependency: libglpk.so.0()(64bit) for package: octave
--> Processing Dependency: libfftw3.so.3()(64bit) for package: octave
--> Processing Dependency: libccolamd.so.2()(64bit) for package: octave
--> Processing Dependency: libumfpack.so.5()(64bit) for package: octave
--> Processing Dependency: libqhull.so.5()(64bit) for package: octave
--> Processing Dependency: liblapack.so.3()(64bit) for package: octave
--> Processing Dependency: libcamd.so.2()(64bit) for package: octave
--> Processing Dependency: libblas.so.3()(64bit) for package: octave
--> Running transaction check
---> Package suitesparse.x86_64 0:3.1.0-1.el5 set to be updated
---> Package glpk.i386 0:4.20-2.el5 set to be updated
---> Package qhull.x86_64 0:2003.1-7.el5 set to be updated
---> Package hdf5.i386 0:1.6.8-1.el5 set to be updated
---> Package libgfortran.i386 0:4.1.2-42.el5 set to be updated
---> Package pcre.i386 0:6.6-2.el5_1.7 set to be updated
---> Package glpk.x86_64 0:4.20-2.el5 set to be updated
---> Package qhull.i386 0:2003.1-7.el5 set to be updated
---> Package hdf5.x86_64 0:1.6.8-1.el5 set to be updated
---> Package lapack.x86_64 0:3.0-37.el5 set to be updated
---> Package lapack.i386 0:3.0-37.el5 set to be updated
---> Package fftw3.i386 0:3.1.2-5.el5.1 set to be updated
---> Package blas.x86_64 0:3.0-37.el5 set to be updated
---> Package fftw3.x86_64 0:3.1.2-5.el5.1 set to be updated
---> Package blas.i386 0:3.0-37.el5 set to be updated
---> Package suitesparse.i386 0:3.1.0-1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
octave i386 6:3.0.1-2.el5 epel 12 M
octave x86_64 6:3.0.1-2.el5 epel 12 M
Installing for dependencies:
blas x86_64 3.0-37.el5 base 328 k
blas i386 3.0-37.el5 base 321 k
fftw3 i386 3.1.2-5.el5.1 epel 900 k
fftw3 x86_64 3.1.2-5.el5.1 epel 1.0 M
glpk i386 4.20-2.el5 epel 737 k
glpk x86_64 4.20-2.el5 epel 734 k
hdf5 i386 1.6.8-1.el5 epel 2.7 M
hdf5 x86_64 1.6.8-1.el5 epel 2.7 M
lapack x86_64 3.0-37.el5 base 3.6 M
lapack i386 3.0-37.el5 base 3.4 M
libgfortran i386 4.1.2-42.el5 base 230 k
pcre i386 6.6-2.el5_1.7 base 112 k
qhull x86_64 2003.1-7.el5 epel 388 k
qhull i386 2003.1-7.el5 epel 384 k
suitesparse x86_64 3.1.0-1.el5 epel 986 k
suitesparse i386 3.1.0-1.el5 epel 931 k

Transaction Summary
=============================================================================
Install 18 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 43 M
Is this ok [y/N]:

0 件のコメント: