# yum-config-manager --disable rpmforge
Install Octave with HDF5
# yum install octave hdf5 hdf5-devel
Linux Toolkits Blog is a scratch-pad of tips and findings on Linux
# yum-config-manager --disable rpmforge
# yum install octave hdf5 hdf5-devel
# yum install libstdc++-4.4.7-16.el6.x86_64 Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
# yum upgrade ca-certificates --disablerepo=epel -y
# yum install libstdc++-4.4.7-16.el6.x86_64
[epel] ..... ..... mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch [epel-debuginfo] ..... ..... mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
# cd /etc/yum.repos.d/ # wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo # yum install devtoolset-2 --nogpgcheck # scl enable devtoolset-2 bash
# cd /etc/yum.repos.d/ # wget -O /etc/yum.repos.d/slc5-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo # yum install devtoolset-1.1 # scl enable devtoolset-1.1 bash
$ /usr/local/gaussian/gv/gview.exe: error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory
# yum install libXmu*
# yum whatprovides libXmu libXmu-1.1.1-2.el6.i686 : X.Org X11 libXmu/libXmuu runtime libraries Repo : base Matched from: libXmu-1.1.1-2.el6.x86_64 : X.Org X11 libXmu/libXmuu runtime libraries Repo : base Matched from: libXmu-1.1.1-2.el6.i686 : X.Org X11 libXmu/libXmuu runtime libraries Repo : installed Matched from: Other : Provides-match: libXmu
php53-common-5.3.3-21.el5.i386 from base has depsolving problems --> php53-common conflicts with php-common Error: php53-common conflicts with php-common You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.
# yum install php-xml
Transaction Check Error: file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
..... ..... exclude=perl-XML-SAX-Base ..... .....
# yum grouplist Installed Groups: Administration Tools Authoring and Publishing Development Libraries Development Tools Editors GNOME Desktop Environment Graphics Legacy Network Server Legacy Software Development Legacy Software Support Mail Server MySQL Database Network Servers Office/Productivity OpenFabrics Enterprise Distribution Printing Support Server Configuration Tools System Tools X Software Development X Window System Available Groups: Cluster Storage Clustering DNS Name Server Engineering and Scientific FTP Server GNOME Software Development Games and Entertainment Graphical Internet Java Development KDE (K Desktop Environment) KDE Software Development KVM News Server PostgreSQL Database Sound and Video Text-based Internet Web Server Windows File Server Xen
# yum groupinstall "X Software Development"
# yum install python-matplotlib
python-nose-0.11.3-2.el5.noarch from epel has depsolving problems --> Missing Dependency: python-setuptools is needed by package python-nose 1.3-2.el5.noarch (epel) Error: Missing Dependency: python-setuptools is needed by package python-nos 11.3-2.el5.noarch (epel) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package.
# yumdownloader python-setuptools
# rpm -Uvh python-setuptools-0.6c5-2.el5.noarch.rpm warning: python-setuptools-0.6c5-2.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 Preparing... ########################################### [100%] 1:python-setuptools ########################################### [100%]
# yum grouplist
# yum groupinfo "General Purpose Desktop"
# yum groupremove "System administration tools"
# yum repolist
repo id repo name status epel Extra Packages for Enterprise Linux 5 - x86_64 7,242 ius IUS Community Packages for Enterprise Linux 5 - x86_64 229 rpmforge Red Hat Enterprise 5 - RPMforge.net - dag 11,158 xcat-2-core xCAT 2 Core packages 14 xcat-dep xCAT 2 depedencies 38 repolist: 18,681
# yum -v repolist
Repo-id : epel Repo-name : Extra Packages for Enterprise Linux 5 - x86_64 Repo-revision: 1360778202 Repo-tags : binary-x86_64 Repo-updated : Thu Feb 14 01:59:23 2013 Repo-pkgs : 7,242 Repo-size : 5.4 G Repo-mirrors : http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 Repo-expire : 3,600 second(s) (last: Sat Feb 16 01:03:31 2013) Repo-id : ius Repo-name : IUS Community Packages for Enterprise Linux 5 - x86_64 Repo-revision: 1360910159 Repo-updated : Fri Feb 15 14:36:21 2013 Repo-pkgs : 229 Repo-size : 441 M Repo-mirrors : http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el5&arch=x86_64 Repo-expire : 3,600 second(s) (last: Sat Feb 16 01:03:35 2013) Repo-id : rpmforge Repo-name : Red Hat Enterprise 5 - RPMforge.net - dag Repo-updated : Fri Dec 21 10:44:36 2012 Repo-pkgs : 11,158 Repo-size : 5.8 G Repo-baseurl : http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/ Repo-mirrors : http://apt.sw.be/redhat/el5/en/mirrors-rpmforge Repo-expire : 3,600 second(s) (last: Sat Feb 16 01:03:38 2013) Repo-id : xcat-2-core Repo-name : xCAT 2 Core packages Repo-updated : Wed Nov 28 11:01:51 2012 Repo-pkgs : 14 Repo-size : 3.2 M Repo-baseurl : https://sourceforge.net/projects/xcat/files/yum/2.7/xcat-core/ Repo-expire : 3,600 second(s) (last: Sat Feb 16 01:03:44 2013) Repo-id : xcat-dep Repo-name : xCAT 2 depedencies Repo-updated : Wed Feb 6 05:37:39 2013 Repo-pkgs : 38 Repo-size : 82 M Repo-baseurl : https://sourceforge.net/projects/xcat/files/yum/xcat-dep/rh5/x86_64/ Repo-expire : 3,600 second(s) (last: Sat Feb 16 01:03:51 2013) repolist: 18,681
# yum install glib2
Dependencies Resolved =============================================================================================== Package Arch Version Repository Size =============================================================================================== Updating: glib2 x86_64 2.22.5-7.el6 base 1.1 M Updating for dependencies: glib2-devel x86_64 2.22.5-7.el6 base 1.3 M Transaction Summary =============================================================================================== Upgrade 2 Package(s) Total download size: 2.4 M Is this ok [y/N]: Y
# yum install libgthread-2.0.so.0
Dependencies Resolved =============================================================================================== Package Arch Version Repository Size =============================================================================================== Installing: glib2 i686 2.22.5-7.el6 base 1.1 M Installing for dependencies: gamin i686 0.1.10-9.el6 base 120 k Transaction Summary =============================================================================================== Install 2 Package(s) Total download size: 1.2 M Installed size: 5.4 M Is this ok [y/N]: N Exiting on user Command
# yum install rpm-devel
======================================================================================= Package Arch Version Repository Size ======================================================================================= Updating: rpm-devel i386 4.4.2.3-28.el5_8 updates 1.2 M rpm-devel x86_64 4.4.2.3-28.el5_8 updates 1.3 M Installing for dependencies: xz x86_64 4.999.9-0.3.beta.20091007git.el5 base 146 k xz-libs x86_64 4.999.9-0.3.beta.20091007git.el5 base 95 k Updating for dependencies: popt i386 1.10.2.3-28.el5_8 updates 76 k popt x86_64 1.10.2.3-28.el5_8 updates 78 k rpm x86_64 4.4.2.3-28.el5_8 updates 1.2 M rpm-build x86_64 4.4.2.3-28.el5_8 updates 303 k rpm-libs i386 4.4.2.3-28.el5_8 updates 929 k rpm-libs x86_64 4.4.2.3-28.el5_8 updates 925 k rpm-python x86_64 4.4.2.3-28.el5_8 updates 64 k Transaction Summary ======================================================================================= Install 2 Package(s) Update 9 Package(s) Remove 0 Package(s) Total download size: 6.3 M Is this ok [y/N]:
http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 12] Timeout:Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again
http://mirror.centos.org/centos/5/addons/x86_64/repodata/primary.sqlite.bz2: [Errno 12] Timeout: Trying other mirror. http://mirror.centos.org/centos/5/addons/x86_64/repodata/primary.sqlite.bz2: Errno 12] Timeout: Trying other mirror. Error: failure: repodata/primary.sqlite.bz2 from addons: [Errno 256] No more mirrors to try.
# yum update Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 178, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 345, in doCommands self._getTs(needTsRemove) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs self._getTsInfo(remove_only) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsIn fo pkgSack = self.pkgSack File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, inpkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSack s self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSac k self.doSetup() File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook all_urls = FastestMirror(all_urls).get_mirrorlist() File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist self._poll_mirrors() File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors pollThread.start() File "/usr/lib64/python2.4/threading.py", line 416, in start _start_new_thread(self.__bootstrap, ()) thread.error: can't start new thread
# yum clean all # vim /etc/yum/pluginconf.d/fastestmirror.conf
enabled=0
# yum clean all Loaded plugins: downloadonly, fastestmirror Cleaning up Everything Cleaning up list of fastest mirrors
# yum clean all # rm -f /var/lib/rpm/__db* # rpm --rebuilddb # yum updateHope this help.
# yum clean dbcache
# yum check
# yum --disablerepo=* --enablerepo=dag install (packages)where dag and update are repositories. If you are not sure the repository names to use, go to /etc/yum.repos.d/xxx.repo. The first line [.....] is the repository names
# yum provides bash
bash-3.2-24.el5.x86_64 : The GNU Bourne Again shell (bash) version 3.2 Repo : base Matched from: bash-3.2-24.el5.x86_64 : The GNU Bourne Again shell (bash) version 3.1. Repo : installed Matched from: Other : Provides-match: bash
# yum install atlas.x86_64 blas.x86_64 lapack.x86_64