intellij-idea-ultimate_2021.1 | ||
.gitignore | ||
CONTRIBUTORS.txt | ||
intellij-idea-ultimate_2021.1-1_all.deb | ||
intellij-idea-ultimate_2021.1.orig.tar.gz | ||
LICENSE | ||
README.md | ||
update-new-version.sh |
intellij-idea-ultimate
.deb Packages of IntelliJ IDEA Ultimate Edition for Ubuntu / Debian.
I also provide a package for the Community Edition.
Adding the PPA (on Ubuntu)
sudo apt-add-repository ppa:mmk2410/intellij-idea
sudo apt-get update
sudo apt-get install intellij-idea-ultimate
Report issues
You can report issues, questions or feedback concerning the package here on GitLab. Please include which version your using.
Updating the package
To update the package the first you need to do is to set up your build environment. After that there are two ways: an automated way (which is highly preferred) and a manual way.
Setting up the build environment
Run sudo apt install build-dep debhelper
.
It is also necessary to setup Git with your username and email address as explained in numerous tutorials.
The automated way
Run ./update-new-version.sh "$new-version"
Where $new-version
is in the format [year].[major].[minor]
.
The manual way
To update the version follow the following steps (the old version is here 15.0.1 and the new one 15.0.2):
- Fork the repo
- Create your own feature branch
git checkout -b version_15.0.2
- Rename the following
mv intellij-idea-ultimate_15.0.1 intellij-idea-ultimate_15.0.2
mv intellij-idea-ultimate_15.0.1.orig.tar.gz intellij-idea-ultimate_15.0.2.orig.tar.gz
-
Edit the README.md and update the version numbers
-
Go into the build files directory
cd intellij-idea-ultimate_15.0.2/debian
-
Edit the changelog file and prepend a new changelog entry. You can just copy an old one and update the values in it
-
Edit the preinst file and update the download URL. Normally this is done by updating the version number
-
Go one directory back
cd ..
- Run the following command to build the package for testing purposes
debuild -us -uc
- Go another directory back
cd ..
- Remove the old files
rm intellij-idea-ultimate_15.0.1-1*
- Install the package to test it
sudo dpkg -i intellij-idea-ultimate_15.0.2-1_all.deb
-
If everything works, add yourself to the CONTRIBUTORS.txt
-
Commit your changes
git add -A
git commit -m "Version 15.0.2"
- Push to the branch
git push origin version_15.0.2
- Create new pull request