Find the answer to your Linux question:
Results 1 to 6 of 6
hi guys, i have a linux server with the minimum packages installed and i'd like to install xmlstarlet(a toolkit to deal with xml files) on it. I have another linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    14

    easier way to install packages


    hi guys,
    i have a linux server with the minimum packages installed and i'd like to install xmlstarlet(a toolkit to deal with xml files) on it.
    I have another linux server with xml toolkit running on it since it has most of the packages already installed. Now basically I want to run xml toolkit on server 1 without having to install all the numerous packages, is there a way i can install packages on server 1 by copying executables from server 2?

    Any suggestions would be helpful.

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    doubtful, it will require libraries and such that you can't just fire off an executable from some other system by copying it over. just install the package and its dependencies.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!

    It wouldn't work. The extra files and libraries that get installed are required to be able to run your program.
    Without those dependencies the software in question simply wouldn't run.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,345
    Also: even if you find all the libs, dependencies and create all the directories xmlstarlet needs and you somehow get it to run, you still have a problem:

    You lost part of the control over that system. As in: the package manager doesnt know about these additional files and can therefore not help you keep the *whole* system up2date and manageable.

    So dito what the others already said: Install xmlstarlet in a clean way, aka from package.
    A quick look shows, there is an rpm and source rpm here:
    Browse XMLStarlet command line XML toolkit Files on SourceForge.net
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Feb 2010
    Posts
    14
    ya so i guess i ll do it the right way ..thanks guys

  6. #6
    Just Joined!
    Join Date
    Feb 2010
    Posts
    18
    Hi,

    it could work, but why do you want to copy the needed files by hand
    when packages just copy the needed files automatically?

    By the way, if you copy the file by hand, the system will be a mess
    when updating it!

    bye
    giammy
    Last edited by oz; 02-17-2010 at 09:57 PM. Reason: removed spam

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •