2.2 KiB
intellij-idea-community
.deb Packages of IntelliJ IDEA Community Edition for Ubuntu
The latest upstream version is 2017.3 which is included in the package version 2017.3.
Adding the ppa to Ubuntu
sudo apt-add-repository ppa:mmk2410/intellij-idea
sudo apt-get update
sudo apt-get install intellij-idea-community
Report issues
You can report issues, questions or feedback here on GitLab. Please include which version your using.
Updating the package
To update the version follow these steps. Replace all instances of [year].[major].[minor]
with the new version numbers (e.g., 2017.3++).
- Fork the repo
- Create your own feature branch
git checkout -b version-[year].[major].[minor]
- Rename the following
mv intellij-idea-community_2017.3 intellij-idea-community_[year].[major].[minor]
mv intellij-idea-community_2017.3.orig.tar.gz intellij-idea-community_[year].[major].[minor].orig.tar.gz
-
Edit the README.md and update the version numbers
-
Go into the build files directory
cd intellij-idea-community_[year].[major].[minor]/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-community_2017.3-1*
- Install the package to test it
sudo dpkg -i intellij-idea-community_[year].[major].[minor]_all.deb
-
If everything works, add yourself to the CONTRIBUTORS.txt
-
Commit your changes
git add -A
git commit -m "Version [year].[major].[minor]"
- Push to the branch
git push origin version-[year].[major].[minor]
- Create new pull request
Automatically do steps 2 to 12
Run ./update-new-version.sh "$new-version"
Where $new-version
is in the format [year].[major].[minor]
.
Setting up the build environment
Run sudo apt install devscripts debhelper
.