# Installation

The RTC.ex Hex package (opens new window) can be installed as usual, by adding rtc to your list of dependencies in mix.exs:

def deps do
  [
    {:rtc, "~> 0.1"}
  ]
end

If you want to query compounds from a SPARQL endpoint, you also have to add sparql_client to your dependencies.

def deps do
  [
    {:rtc, "~> 0.1"},
    {:sparql_client, "~> 0.4"}
  ]
end

See also the SPARQL.Client configuration page on how to setup the HTTP client to be used by SPARQL.Client.