-
Notifications
You must be signed in to change notification settings - Fork 2
Added sublime, vim, emacs, geany, openjdk17, intellij idea, pycharm #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
02be946
Added sublime.sh
mahdihasnat f5c56e7
Added vim.sh
mahdihasnat 27b5f42
Added emacs.sh
mahdihasnat 6aabf4c
Added geany.sh
mahdihasnat c3bee0e
Removed redundant apt update and upgrade
mahdihasnat bb2ad77
Added openjdk17.sh
mahdihasnat faa86f7
Added pycharm and intellij idea
mahdihasnat 2552fdc
Update sublime-text, added vim-gtk3, typo fix
mahdihasnat 5bc0ecb
Updated pycharm installer
mahdihasnat 46669ac
feat: update pycharm installer script
rebornplusplus 932c5fd
fix: rename pycharm extracted dir
rebornplusplus 6da0268
Updated pycharm_community.sh
mahdihasnat 91c69e4
Working pycharm-ce
mahdihasnat ba5bdd4
updated idea
mahdihasnat 525f412
Parameterized idea-ce by version no
mahdihasnat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| set -eux | ||
|
|
||
| echo "\nInstalling Emacs ...\n" | ||
| apt install -y emacs | ||
| echo "\nPrinting Emacs version ...\n" | ||
| emacs --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| set -eux | ||
|
|
||
| echo "\nInstalling Geany ...\n" | ||
| apt install -y geany | ||
| echo "\nPrinting Geany version ...\n" | ||
| geany --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -eux | ||
|
|
||
| IDEA_VERSION='2023.2' | ||
| echo "\nInstalling IntelliJ IDEA Community Edition $IDEA_VERSION ...\n" | ||
|
|
||
| # download pycharm community edition | ||
| wget -c "https://download.jetbrains.com/idea/ideaIC-$IDEA_VERSION.tar.gz" | ||
|
|
||
| # download sha256sum file and verify the checksum | ||
| wget "https://download.jetbrains.com/idea/ideaIC-$IDEA_VERSION.tar.gz.sha256" -O expected_sha256sum.txt | ||
| sha256sum ideaIC-$IDEA_VERSION.tar.gz >> actual_sha256sum.txt | ||
| cat actual_sha256sum.txt | sha256sum -c expected_sha256sum.txt | ||
|
|
||
| # extract and keep the files in /opt | ||
| mkdir idea-ce-$IDEA_VERSION | ||
| tar -zxvf "ideaIC-$IDEA_VERSION.tar.gz" -C idea-ce-$IDEA_VERSION --strip-components 1 | ||
| mv idea-ce-$IDEA_VERSION /opt | ||
|
|
||
| # remove tar and hash files | ||
| rm "ideaIC-$IDEA_VERSION.tar.gz" actual_sha256sum.txt expected_sha256sum.txt | ||
|
|
||
| # populate desktop entry | ||
| cat > jetbrains-idea-ce.desktop << EOF | ||
| [Desktop Entry] | ||
| Version=1.0 | ||
| Type=Application | ||
| Name=IntelliJ IDEA Community Edition | ||
| Icon=/opt/idea-ce-$IDEA_VERSION/bin/idea.svg | ||
| Exec="/opt/idea-ce-$IDEA_VERSION/bin/idea.sh" %f | ||
| Comment=Capable and Ergonomic IDE for JVM | ||
| Categories=Development;IDE; | ||
| Terminal=false | ||
| StartupWMClass=jetbrains-idea-ce | ||
| StartupNotify=true | ||
| EOF | ||
|
|
||
| # copy the desktop entry to appropriate location | ||
| mv jetbrains-idea-ce.desktop /usr/share/applications/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| set -eux | ||
|
|
||
| echo "\nInstalling OpenJDK 17 ...\n" | ||
| apt install -y openjdk-17-jdk openjdk-17-jre | ||
| echo "\nPrinting Java version ...\n" | ||
| java --version | ||
| echo "\nPrinting Java compiler version ...\n" | ||
| javac --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -eux | ||
|
|
||
| PYCHARM_VERSION="2023.1.4" | ||
| PYCHARM_NAME="pycharm-community-${PYCHARM_VERSION}" | ||
|
|
||
| echo "\nInstall Pycharm Community $PYCHARM_VERSION ..\n" | ||
|
|
||
| # download pycharm community edition | ||
| # wget "data.services.jetbrains.com/products/download?code=PCC&platform=linux" -O pycharm.tar.gz | ||
| wget -c "https://download.jetbrains.com/python/pycharm-community-${PYCHARM_VERSION}.tar.gz" | ||
|
|
||
| # download sha256sum file and verify the checksum | ||
| wget "https://download.jetbrains.com/python/pycharm-community-${PYCHARM_VERSION}.tar.gz.sha256" -O expected_sha256sum.txt | ||
| sha256sum pycharm-community-${PYCHARM_VERSION}.tar.gz >> actual_sha256sum.txt | ||
| cat actual_sha256sum.txt | sha256sum -c expected_sha256sum.txt | ||
|
|
||
| # extract and keep the files in /opt | ||
| tar -zxvf "pycharm-community-${PYCHARM_VERSION}.tar.gz" | ||
| mv "pycharm-community-${PYCHARM_VERSION}" /opt | ||
|
|
||
| # remove tar and hash files | ||
| rm "pycharm-community-${PYCHARM_VERSION}.tar.gz" actual_sha256sum.txt expected_sha256sum.txt | ||
|
|
||
| # populate desktop entry | ||
| cat > jetbrains-pycharm-ce.desktop << EOF | ||
| [Desktop Entry] | ||
| Version=1.0 | ||
| Type=Application | ||
| Name=PyCharm Community Edition | ||
| Icon=/opt/$PYCHARM_NAME/bin/pycharm.svg | ||
| Exec="/opt/$PYCHARM_NAME/bin/pycharm.sh" %f | ||
| Comment=Python IDE for Developers | ||
| Categories=Development;IDE; | ||
| Terminal=false | ||
| StartupWMClass=jetbrains-pycharm | ||
| StartupNotify=true | ||
| EOF | ||
|
|
||
| # copy the desktop entry to appropriate location | ||
| mv jetbrains-pycharm-ce.desktop /usr/share/applications/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| set -eux | ||
|
|
||
| # https://www.sublimetext.com/docs/linux_repositories.html#apt | ||
| echo "\nInstalling Sublime Text 4 ...\n" | ||
| apt install -y wget gpg | ||
| wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor >> /etc/apt/trusted.gpg.d/sublimehq-archive.gpg | ||
| echo "deb https://download.sublimetext.com/ apt/stable/" >> /etc/apt/sources.list.d/sublime-text.list | ||
| apt update | ||
| apt install -y apt-transport-https | ||
| apt install -y sublime-text | ||
|
|
||
| echo "\nPrinting Sublime Text version ...\n" | ||
| subl --version | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| set -eux | ||
|
|
||
| echo "\nInstalling Vim ...\n" | ||
| apt install -y vim-gtk3 | ||
| echo "\nPrinting Vim version ...\n" | ||
| vim --version |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.