Build scripts to easily create a .deb package for PhpStorm.
You will need the devscripts debhelper php and php-curl packages installed in order to build the PhpStorm .deb file:
apt install devscripts debhelper build-essentialYou will also need PHP interpreter and curl extension. Depending on your setup it might look liike this:
apt install php php-curl or something like this (ie. when using Ondrej Sury PPA)
apt install php8.0 php8.0-curl - Run the
download_latest.phpfile
php download_latest.phpThis will execute all steps described below.
-
Download the
.tar.gzfile from PhpStorm's download page and place it in the root directory of this repo. -
Create a new debian/changelog file using the provided update.sh script:
./update.sh- Build the package with the following command:
debuild -us -uc -b- Please 'Star' or 'Watch' the repo on github: https://github.com/aglowienka/phpstorm-deb/stargazers
Install the package with the dpkg command:
dpkg -i PhpStorm...Alternatively, you can create your own simple repo or
more professional one to host your custom deb packages.