intellij-idea-community/README.md
2017-06-27 20:00:21 +02:00

1.8 KiB

intellij-idea-community

.deb Packages of IntelliJ IDEA Community Edition for Ubuntu

The latest upstream version is 2016.2.4 which is included in the package version 2016.2.4.

Adding the ppa to Ubuntu

sudo apt-add-repository ppa:mmk2410/intellij-idea
sudo apt-get update
sudo apt-get install intellij-idea-community

Updating the package

To update the version follow the following steps (the old version is here 15.0.1 and the new one 15.0.2):

  1. Fork the repo
  2. Create your own feature branch
git checkout -b version_15.0.2
  1. Rename the following
mv intellij-idea-community_15.0.1 intellij-idea-community_15.0.2
mv intellij-idea-community_15.0.1.orig.tar.gz intellij-idea-community_15.0.2.orig.tar.gz
  1. Edit the README.md and update the version numbers

  2. Go into the build files directory

cd intellij-idea-community_15.0.2/debian
  1. Edit the changelog file and prepend a new changelog entry. You can just copy an old one and update the values in it

  2. Edit the preinst file and update the download url. Normally this is done by updating the version number

  3. Go one directory back

cd ..
  1. Run the following command to build the package for testing purposes
debuild -us -uc
  1. Go another directory back
cd ..
  1. Remove the old files
rm intellij-idea-community_15.0.1-1*
  1. Install the package to test it
sudo dpkg -i intellij-idea-community_15.0.2-1_all.deb
  1. If everything works, add yourself to the CONTRIBUTORS.txt

  2. Commit your changes

git add -A
git commit -m "Version 15.0.2"
  1. Push to the branch
git push origin version_15.0.2
  1. Create new pull request

Setting up the build environment

Run sudo apt install build-dep debhelper.