7

I'm trying to download master-pdf-editor package from official repositories. All sites report that it's easy to do: just download it from ubuntu software center. I can't install the software center, so I'm trying to install it via apt-get or synaptic, but I can't find the package in the repos...

Can anyone help?

6
  • Here's your master-pdf-editor.
    – jokerdino
    Aug 31, 2012 at 13:51
  • I had already found it, but I need it from repositories.
    – jasmines
    Aug 31, 2012 at 13:58
  • Isn't it from the software center? If you are on GUI, you can just click the button and have it installed. It won't work if you are not on 12.04 because there is obviously a package for only precise.
    – jokerdino
    Aug 31, 2012 at 14:00
  • I can't use software center!!!
    – jasmines
    Aug 31, 2012 at 14:02
  • Wait, why is that you can't install software-center. I am thinking we probably should solve that problem instead.
    – jokerdino
    Aug 31, 2012 at 14:05

2 Answers 2

7

Some packages in the Software Center may be free but are offered under a proprietary license. For this reason (the license) they are not included by default in the Ubuntu apt repositories.

When you install one of these packages via the Software Center it will create a new apt source file in /etc/apt/sources.list.d/. In the case of Master PDF Editor it will create:

private-ppa.launchpad.net_commercial-ppa-uploaders_master-pdf-editor_ubuntu.list

Once that file has been placed in /etc/apt/sources.list.d/ you can then use the regular apt/aptitude commands to update it.

I also want to add that sources like this often require authentication. If they do a comment will be placed in the source file indicating as such:

$ cat private-ppa.launchpad.net_commercial-ppa-uploaders_master-pdf-editor_ubuntu.list 
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/master-pdf-editor/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf

At the end you can see the comment, "credentials stored in /etc/apt/auth.conf". That file will store a hash of your password like so:

$ sudo cat /etc/apt/auth.conf # Needs root to read the file
machine private-ppa.launchpad.net/commercial-ppa-uploaders/master-pdf-editor/ubuntu
login riskable
password someGobbldyGookHash
2
  • Can you provide its contents too?
    – jasmines
    Aug 31, 2012 at 14:05
  • The username/password doesn't work anymore :(
    – carestad
    Nov 13, 2012 at 15:03
3

No, they're the same.

For purchased things that you can't install without the Software Centre, it actually just adds a new (authenticated) repository for that application... But it's all going through apt and once that repo is added you can use the standard apt-get/dpkg toolset.

So in this case (With master-pdf-editor) you need to go through Software Centre (for it to add its commercial repo).

4
  • So I should find out which is the correct repository... Can you find it out for me, maybe using Software Center I can't istall?
    – jasmines
    Aug 31, 2012 at 13:59
  • 1
    @jasmines As I say, they're authenticated. A private username/password is stored in /etc/apt/auth.conf for each private repo. There's no way around this part - you need to go through the Software Centre.
    – Oli
    Aug 31, 2012 at 14:02
  • 2
    there should be a way to authenticate through command line...
    – jasmines
    Aug 31, 2012 at 14:03
  • 1
    There isn't. You have not choice but to utilize the software center.
    – Thomas Ward
    Aug 31, 2012 at 14:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .