Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu 13.04, and I am able to install IntelliJ CE via the Ubuntu software center. When I do so I see it as an installed debian package:

zippy1981@scala-dev:~$ dpkg --get-selections |grep intellij
intellij-idea-ce                install 

The repository for it seems to be https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu/:

maya@ubuntu:~/Documents/src/scala$ apt-cache policy intellij-idea-ce
intellij-idea-ce:
  Installed: 12.1-0ubuntu1
  Candidate: 12.1-0ubuntu1
  Version table:
 *** 12.1-0ubuntu1 0
        500 https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

However, if I do add-apt-repository https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu/ and apt-get update that repo gives me an error and apt-get install intellij-idea-ce does not find the package.

Is there a way to install this without the use of the Software Center?

share|improve this question
    
@Braiam I understand that. I want to script it so I can install it on another machine, without having to launch Ubuntu software center. –  Justin Dearing Sep 3 '13 at 1:52
    
@Braiam the question subject and body both say "from the command line" –  Justin Dearing Sep 3 '13 at 2:21

1 Answer 1

When you access the private ppa, you need username and password (just try to go there with your browser), but the software center login for you, making the process flawlessly. But, apt-get doesn't know any of this, so you should change your url to login these ppa's:

sudo add-apt-repositories https://username:password@private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu/

or adding manually the lines to your sources.list:

deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/intellij-idea-ce/ubuntu/ raring/main amd64

If you need help about what url you should write, consult your suscription page in LaunchPad

share|improve this answer
    
Thanks, that clarifies a lot. –  Justin Dearing Sep 3 '13 at 2:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.