Using yum to install NetWorker on Linux

If you’re using CentOS, or another RedHat style Linux that happens to include the yum package manager, installing NetWorker on Linux becomes trivial, even when dependencies aren’t locally on the machine.

For example, on a new host install (particularly one with minimum graphics), it’s common to get an error such as the following:

[root@rhltst7 linux_x86]# rpm -ivh lgtoclnt-7.5.1-1.i686.rpm lgtoman-7.5.1-1.i686.rpm
error: Failed dependencies:
 openmotif is needed by lgtoclnt-7.5.1-1.i686
 libXp.so.6 is needed by lgtoclnt-7.5.1-1.i686
 libstdc++.so.5 is needed by lgtoclnt-7.5.1-1.i686
 libstdc++.so.5(CXXABI_1.2) is needed by lgtoclnt-7.5.1-1.i686
 libstdc++.so.5(GLIBCPP_3.2) is needed by lgtoclnt-7.5.1-1.i686
 libstdc++.so.5(GLIBCPP_3.2.2) is needed by lgtoclnt-7.5.1-1.i686

Luckily, if you’re using yum, there’s a simple way around it, using the ‘localinstall’ option. Note however that by using ‘localinstall’ with yum, you’ll also need to add in the ‘–nogpgcheck’, as the EMC packages aren’t signed. (Failing to do so will result in the installation aborting with an error message about non-signed packages.)

Here’s what a successful install looks like:

[root@rhltst7 linux_x86]# yum localinstall --nogpgcheck lgtoclnt-7.5.1-1.i686.rpm lgtoman-7.5.1-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining lgtoclnt-7.5.1-1.i686.rpm: lgtoclnt-7.5.1-1.i686
Marking lgtoclnt-7.5.1-1.i686.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: ftp.monash.edu.au
 * updates: ftp.monash.edu.au
 * addons: ftp.monash.edu.au
 * extras: ftp.monash.edu.au
Examining lgtoman-7.5.1-1.i686.rpm: lgtoman-7.5.1-1.i686
Marking lgtoman-7.5.1-1.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package lgtoman.i686 0:7.5.1-1 set to be updated
---> Package lgtoclnt.i686 0:7.5.1-1 set to be updated
--> Processing Dependency: openmotif for package: lgtoclnt
--> Processing Dependency: libXp.so.6 for package: lgtoclnt
--> Processing Dependency: libstdc++.so.5 for package: lgtoclnt
--> Processing Dependency: libstdc++.so.5(CXXABI_1.2) for package: lgtoclnt
--> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2) for package: lgtoclnt
--> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2.2) for package: lgtoclnt
--> Running transaction check
---> Package openmotif.i386 0:2.3.1-2.el5 set to be updated
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

<table snipped>
Install      5 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total size: 98 M
Total download size: 96 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing     : libXp                                             [1/5]
 Installing     : openmotif                                         [2/5]
 Installing     : compat-libstdc++-33                               [3/5]
 Installing     : lgtoclnt                                          [4/5]
To install EMC HomeBase Agent run the below script as 'root' user:
/opt/homebase-agent/setup-homebase.sh
 Installing     : lgtoman                                           [5/5]

Installed: lgtoclnt.i686 0:7.5.1-1 lgtoman.i686 0:7.5.1-1
Dependency Installed: compat-libstdc++-33.i386 0:3.2.3-61 libXp.i386 0:1.0.0-8.1.el5 openmotif.i386 0:2.3.1-2.el5
Complete!

(Obviously, using “–nogpgcheck” is something that should be done carefully, as you’re instructing yum to ignore any checks for signatures. However, when you want to install a package that has no signatures, there’s not many other options.)

3 thoughts on “Using yum to install NetWorker on Linux”

  1. Hello sir, thanks for ur articel, veru help for me, can help to post about installation and configure console software, now I’m to install the networker 7.5.1 in cento 5.3. Thank u very much

    regards
    andre

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.