13

I'm trying to download an Apt file but I don't know how to. I'm using Firefox too.

Braiam
  • 66,947
  • 30
  • 177
  • 264
anon
  • 175
  • 1
  • 1
  • 11
  • It is just a file, you download it just like any other. BTW, are you sure you cannot get it from the official repositories? – edwin Jul 08 '13 at 03:06

2 Answers2

12

Associate apt links in firefox with /usr/bin/software-center

Just tried it for a playdeb.net link and it brings it up for you.

Chris
  • 60
  • 3
  • 15
7

If you want a lighter alternative to Ubuntu Software Center, that handles Apt links, you can use AptURL, that needs to be installed with:

sudo apt-get install apturl

Then, you can associate apt links in Firefox with /usr/bin/apturl, as described in screenshot below.

Selecting AptURL to apt links

Stefano
  • 2,374
  • 18
  • 33
  • 2
    What to do if you want to download that file, not open it with software center? – Habi Nov 11 '13 at 03:28
  • 2
    You cannot "download that file", because an apt link does not point to a phisical file, but refer only to a package name. So the only way is to process the apt link in a package manager, that will search and download the referred package. – Stefano Nov 11 '13 at 13:56
  • Can't we get location of that referred package, so that we can download it? – Habi Nov 11 '13 at 14:01
  • not from the link itself.. only the package manager knows the repository location – Stefano Nov 11 '13 at 14:02
  • It's better to install the graphic version: `apturl-gtk`. – Juan Simón Jan 23 '14 at 09:32