title: How do I fix flatpak remote errors?
body: <p>I installed flatpak via the command lines on their website and then proceeded to add the remote repository as instructed, but when I try to install something it says to specify a remote. I was trying to install inkscape from flathub. </p>
  
  <p>Here are the command lines I used:</p>
  
  <pre><code>sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  </code></pre>
  
  <p><em>I also tried without sudo</em></p>
  
  <p>To download the ref file:</p>
  
  <pre><code>wget https://www.flathub.org/apps/details/org.videolan.VLC
  </code></pre>
  
  <p>To install:</p>
  
  <pre><code> flatpak install org.videolan.VLC
  </code></pre>
  
  <p>Error Message:</p>
  
  <pre><code>error: REMOTE and REF must be specified
  </code></pre>