# Whether gradle support add dependency on linux packages

**URL:** <https://discuss.gradle.org/t/whether-gradle-support-add-dependency-on-linux-packages/9069>\
**Category:** Help/Discuss\
**Created:** [April 15, 2015, 3:15am UTC](https://discuss.gradle.org/t/whether-gradle-support-add-dependency-on-linux-packages/9069 "2015-04-15T03:15:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali281523](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@ali281523](https://discuss.gradle.org/u/ali281523)\
**Post date:** [April 15, 2015, 3:15am UTC](https://discuss.gradle.org/t/whether-gradle-support-add-dependency-on-linux-packages/9069/1 "2015-04-15T03:15:22Z")

</div>

In the product that deployed on Linux, sometimes we need to install some rpm packages.  
e.g. openssl, keepalived. Like software dependencies.  
Currently, we have to download those rpm packages and include them directly in our release package. This is not that good for a product. So I want to know does the Gradle support downloading these kind of Linux packages in dependency? If it can, how to do it?

---

<div class="post-metadata">

**Author:** ![Rene](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/rene/32/8082_2.png) [@Rene](https://discuss.gradle.org/u/Rene)\
**Post date:** [April 15, 2015, 6:47am UTC](https://discuss.gradle.org/t/whether-gradle-support-add-dependency-on-linux-packages/9069/2 "2015-04-15T06:47:26Z")

</div>

There is no direct RPM support in gradle. but you might be able to resolve them using an ivy repository and a custom ivy layout to match the download url. The gradle userguide explains how to use custom layout with an ivy repository: [http://gradle.org/docs/current/userguide/userguide\_single.html#ivyRepository](http://gradle.org/docs/current/userguide/userguide_single.html#ivyRepository)

---

<div class="post-metadata">

**Author:** ![ali281523](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@ali281523](https://discuss.gradle.org/u/ali281523)\
**Post date:** [April 24, 2015, 9:39am UTC](https://discuss.gradle.org/t/whether-gradle-support-add-dependency-on-linux-packages/9069/3 "2015-04-24T09:39:41Z")

</div>

Thanks very much for your responding, I’m new user here and I will try.
