Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, Passing User defined argument to RPM is possible while installing?. for example: ~>rpm -i sample.rpm -license_path=/path/ or ~>rpm -i -license_path=/path/ sample.rpm -Sakthi...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3

    Passing user defined argument to RPM is possible while installing?.


    Hello,

    Passing User defined argument to RPM is possible while installing?.

    for example:
    ~>rpm -i sample.rpm -license_path=/path/
    or
    ~>rpm -i -license_path=/path/ sample.rpm

    -Sakthi

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,221
    No, this is not possible.
    Strictly speaking it is also not the job of rpm to configure a package for a specific usecase.
    Imho, rpm shall install the files and maybe provide a default config.

    Taking care of config specifics is then something for e.g. puppet or the admin.
    You must always face the curtain with a bow.

Posting Permissions

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