4

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?

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

2 Answers 2

3

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
4
  • -1 ppa:ubuntu-desktop/ubuntu-make isn't OPs private repository
    – A.B.
    Aug 10, 2015 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.
    – serv-inc
    Aug 10, 2015 at 13:05
  • @A.B. I tried the procedure above and failed at installing IntelliJ by it. (not knowing which password/username to use)
    – serv-inc
    Aug 10, 2015 at 13:12
  • 1
    Ok, right. Removed the downvote.
    – A.B.
    Aug 10, 2015 at 13:22
2

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:[email protected]/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

1
  • If I add a private PPA to the sources.list file, where will I place the credential information ? Your sources.list example does not show that ?
    – SebMa
    Jun 23, 2023 at 19:28

You must log in to answer this question.

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