Как обновить pycharm через терминал
Перейти к содержимому

Как обновить pycharm через терминал

  • автор:

Update PyCharm

By default, PyCharm is configured to check for updates automatically and notify you when a new version is available. Updates are usually patch-based : they are applied to the existing installation and only require you to restart the IDE. However, sometimes patch updates are not available, and a new version of PyCharm must be installed.

When PyCharm updates to a new major release, it opens the What’s New in PyCharm tab in the editor with information about the changes, improvements, and fixes. To open this tab manually, select Help | What’s New in PyCharm .

If PyCharm does not have HTTP access outside your local network, it will not be able to check for updates and apply patches. In this case, you have to download new versions of the IDE and install them manually as described in Standalone installation. On macOS, you can delete the outdated version of PyCharm from Application and then drag the newly installed version to Application .

Toolbox App

If you installed PyCharm using the Toolbox App, it will suggest that you update the IDE when a new version is available.

Automatically update all managed tools

Open the Toolbox App and click the Toolbox App menu icon in the top right corner.

In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically .

If you disable this option, you will need to click Update next to any instance when a newer version comes out.

You can also configure the update policy for every managed IDE instance separately.

Configure the update policy for a specific instance

Open the Toolbox App, click next to the relevant IDE instance, and select Settings .

In the instance settings dialog, select the update channel to use for this IDE instance:

Release : Update only to stable releases that are recommended for production.

Early Access Program : Includes updates to release candidates , beta releases, and EAP builds, which are not recommended for production and include feature previews.

Standalone instance

If you installed PyCharm manually, the standalone IDE instance will manage its own updates. It will notify you when a new version is available (show you a notification in the Event Log tool window). You can choose to update the current instance, download and install the new version as a separate instance, postpone the notification, or ignore the update entirely.

Platform and Plugin Updates

On Linux, it is not recommended to manually update an existing standalone PyCharm installation to a newer major version. You should always extract the downloaded tarball to a clean directory. See Standalone installation for details.

If you installed PyCharm using root privileges, you should use the same level of privileges to update the IDE.

Configure the update policy

To manage the PyCharm update policy, open Settings Control+Alt+S and select Appearance & Behavior | System Settings | Updates .

If the IDE instance is managed by the Toolbox App, these settings will affect only plugin updates.

The Updates page contains the following settings:

Check IDE updates for

Select whether you want PyCharm to check for updates automatically and choose an update channel.

Early Access Program : Provides all updates, including major version EAP builds and minor version Preview builds. This channel is not recommended for production development.

PyCharm can be updated only to a minor Preview version, but not to a major EAP build. For example, you can update PyCharm 2021.1.1 to 2021.1.2 , but not to 2021.2 EAP . The 2021.2 EAP version in this case will be installed as an additional instance.

EAP versions can be updated to both newer EAP and stable PyCharm versions. If an EAP version is updated to a stable version at some point, the name of the original installation directory does not change.

Beta Releases or Public Previews : Includes stable releases, release candidates, and beta releases. Some updates in this channel may contain minor bugs and feature previews.

Stable Releases : Includes only stable releases that are recommended for production.

You can choose the update channel only if you are using a stable version . For EAP builds, the channel is always set to Early Access Program .

Check for plugin updates

Select whether you want PyCharm to check for new versions of plugins automatically.

Check for Updates

Check for updates immediately.

Alternatively, from the main menu, select Help | Check for Updates on Windows or Linux, or PyCharm | Check for Updates on macOS.

Manage ignored updates…

Show the list of updates that were ignored. These updates will not be suggested until you remove them from the list of ignored updates.

If you remove several updates from the ignored list, only the most recent will be offered for download when you check for updates.

Show What’s New in the editor after an IDE update

Open a tab with information about new features and improvements after a major IDE update.

Snap package

If you installed PyCharm as a snap package, it will manage updates automatically. All snaps are updated automatically in the background every day. You can also get the latest version of all snaps manually at any time by running the following command:

Обновите PyCharm в Linux

Не могли бы вы объяснить мне, как правильно обновить PyCharm в Linux ?

Невозможно ли обновить PyCharm изнутри?

В help > check for update я могу просто скачать новый архив.

Следует ли мне удалить предыдущую папку с PyCharm и распаковать новую или я должен использовать другой способ?

13 ответов

Обновление патча внутри приложения

Начиная с версий 2017 года , теперь можно выполнять плавное обновление без необходимости загрузки архива . PyCharm сообщит вам, что доступно обновление.

Если вы установили с помощью / opt , временно повысьте права:

Если этот параметр выбран, PyCharm обновится и при перезапуске должен предложить вам импортировать предыдущий файл конфигурации, который обычно находится здесь:

Как только вы закончите, повторно примените привилегии root

При обновлении с использованием tarball

Недавно я обновился с версии 2017.2 до 2017.5 и сделал это с помощью архива, который я ранее скачал. Тоже довольно просто:

  1. Распакуйте архив в предпочтительное место
  2. Удалить существующий каталог pycharm
  3. Запустить и импортировать конфигурацию

Единственная загвоздка, которую я обнаружил, заключалась в том, что после обновления моя панель запуска рабочего стола была сломана. Если вы все же столкнетесь с этим, найдите файлы .desktop с помощью такого инструмента найти :

Результат должен быть примерно таким:

Отредактируйте эти строки в затронутых файлах .desktop, если они неверны , чтобы они соответствовали вашему пути PyCharm:

Как обновить pycharm через терминал

Reddit and its partners use cookies and similar technologies to provide you with a better experience.

By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising.

By rejecting non-essential cookies, Reddit may still use certain cookies to ensure the proper functionality of our platform.

For more information, please see our Cookie Notice and our Privacy Policy .

Update PyCharm on Linux

Could you please clarify to me correct way to update PyCharm on Linux?

Is it impossible to update PyCharm internally?

In help > check for update I can just download a new archive.

Should I remove previous folder with PyCharm and unpack new or I should another way for this?

bad_coder's user avatar

13 Answers 13

In-Application Patch Upgrade

From the 2017 versions onward, it is now possible to perform a seamless upgrade without being required to download a tarball. PyCharm will prompt you that an upgrade is available.

If you’ve installed under /opt, temporarily elevate privileges:

If selected, PyCharm will upgrade itself, and upon relaunching, should prompt you to import your previous config, file, which is typically found here:

Once you’re done, re-apply root privileges

If Upgrading Using tarball

I recently upgraded from version 2017.2 to 2017.5, and did so using a tarball which I’d previously downloaded. It’s also pretty simple:

  1. Extract tarball in preferred location
  2. Delete existing pycharm directory
  3. Launch and import config

The only snag which I found was after the upgrade, my desktop launcher was broken. If you do happen to face this, find the .desktop files, using a tool such locate:

Output should be something like:

Edit these lines to the affected .desktop files, if incorrect, to match your PyCharm path:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *