• LINUX > PYTHON > installer Pycharm sur Linux Mint

      Via apt

      sudo apt update
      sudo apt upgrade

      Prérequis

      sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https curl lsb-release -y

      Ajouter JetBrain’s Personal Package Archive (PPA) on Linux Mint

      Pour sécuriser le transfert avec le dépôt de JetBrains, importer la clé publique GPG (GNU Privacy Guard)

      curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | gpg --dearmor | sudo tee /usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg > /dev/null

      Puis, ajouter les sources PPA de JetBrains:

      echo "deb [signed-by=/usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg] http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com any main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null

      Puis :

      sudo apt update

      Télécharger et installer PyCharm

      sudo apt install pycharm-community

      Démarrer PyCharm

      pycharm-community

      Astuces et configuration

      Comprendre la base: Familiarizing with the editor’s basic functionalities, such as the different types of highlighting, line numbers, breadcrumbs, and indentation guidelines, will provide a smoother coding experience.

      Raccourcis claviers: Ctrl+Space activates the code completion feature, Alt+Enter shows intentional actions and quick fixes, and Ctrl+/ comments or uncomments a line or a code block.

      Terminal: [ALT] + [F12]

      Thèmes: File > Settings > Appearance & Behavior > Appearance > select your desired theme from the ‘Theme’ dropdown menu.

      Police et Taille: File > Settings > Editor > Font

      Gérer les Plugins: File > Settings > Plugins

      Debugging: Use breakpoints (click on the space next to the line number) to inspect your code. Shift+F9 to start a debug session.

      Version Control Integration: If you’re using Git, PyCharm provide a user-friendly interface for most version control tasks. This feature can be found under VCS -> Enable Version Control Integration…

      Code Inspection: To manually inspect your code, go to Code -> Inspect Code… This is an excellent way to ensure your code adheres to the best coding practices.

      Update PyCharm

      sudo apt update
      sudo apt upgrade

      Supprimer PyCharm

      sudo apt remove pycharm-community
      sudo apt remove pycharm-professional
      sudo apt remove pycharm-education
      sudo rm /etc/apt/sources.list.d/jetbrains-ppa.list
      sudo rm /usr/share/keyrings/jetbrains-ppa-archive-keyring.gpg

 

Aucun commentaire

 

Laissez un commentaire