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

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
1  
@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
1  
@Braiam the question subject and body both say "from the command line" –  Justin Dearing Sep 3 '13 at 2:21
1  
possible duplicate of Good Intellij installation on ubuntu 15 –  A.B. Aug 10 at 13:29
    
See my answer here –  A.B. Aug 10 at 13:30

2 Answers 2

As of recently, you can use Ubuntu Make.

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make  
sudo apt-get update
sudo apt-get install ubuntu-make
umake ide idea
share|improve this answer
    
-1 ppa:ubuntu-desktop/ubuntu-make isn't OPs private repository –  A.B. Aug 10 at 11:13
    
@A.B.: Thanks for the comment to explain the downvote. He said "Is there a way to install this without the use of the Software Center?" and "I want to script it so I can install it on another machine, without having to launch Ubuntu software center. " and 'the question subject and body both say "from the command line" '. Makes it seem as though the main point is not the private repo, but not using the software center. –  user------- Aug 10 at 13:05
    
@A.B. I tried the procedure above and failed at installing IntelliJ by it. (not knowing which password/username to use) –  user------- Aug 10 at 13:12
1  
Ok, right. Removed the downvote. –  A.B. Aug 10 at 13:22

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.