Как установить wing 101 на linux
Перейти к содержимому

Как установить wing 101 на linux

  • автор:

Wing Python IDE

On Linux, Wing can be installed from RPM, Debian package, or from tar archive. Use the latter if you do not have root access on your machine or wish to install Wing somewhere other than /usr/lib/wingpro9 . Only 64-bit Linux is supported, although in Wing Pro remote development can be used to develop on a 32-bit host.

The instructions here are for Wing Pro. The package naming for Wing Personal is instead wing-personal6 and for Wing 101 it is wing-101-6 .

Installing Wingware’s Public Key

Some systems will complain when you try to install Wing without first installing our public key into your key repository. The key is available here. Copy and paste the key into a file wingware.pub and then use the following to import the key.

For RPM systems:

For Debian systems:

An alternative is just to bypass the key check with --nogpg command line option for rpm , --nogpgcheck for yum , and --no-debsig for dpkg .

Installing from RPM

Wing can be installed from an RPM package on RPM-based systems, such as RedHat and Mandriva. To install, run rpm -i wingpro9-9.0.2.0.x86_64.rpm as root or use your favorite RPM administration tool. Most files for Wing are placed under the /usr/lib/wingpro9 directory and the wing9.0 command is placed in the /usr/bin directory.

Installing from Debian package

Wing can be installed from a Debian package on Debian, Ubuntu, and other Debian-based systems.

To install, run dpkg -i wingpro9_9.0.2.0_amd64.deb as root or use your favorite package administration tool. Most files for Wing are placed under the /usr/lib/wingpro9 directory and the wing9.0 command is placed in the /usr/bin directory.

It may be necessary to install some dependencies before the installation will complete, as requested by dpkg . The easiest way to do this is sudo apt-get -f install — this installs the missing dependencies and completes the configuration step for Wing’s package.

Installing from Tar Archive

Wing may also be installed from a tar archive. This can be used on systems that do not use RPM or Debian packages, or if you wish to install Wing into a directory other than /usr/lib/wingpro9 . Unpacking this archive with tar -zxvf wingpro-9.0.2.0-linux-x64.tar.gz will create a wingpro-9.0.2.0-linux-x64 directory that contains the wing-install.py script.

Running the wing-install.py script will prompt for the location to install Wing, and the location in which to place the executable wing9.0 . These locations default to /usr/local/lib/wingpro and /usr/local/bin , respectively. The install program must have read/write access to both of these directories, and all users running Wing must have read access to both.

Installing from the Snapcraft Store

Wing Pro, Wing Personal, and Wing 101 are also available through the Snapcraft Store. Assuming you have snap on your system, you can install Wing as follows:

For Wing Personal install wing-personal9 instead, and for Wing 101 install wing-101-9 .

Notice that you must specify the --classic option for snap to indicate that you understand Wing uses an unrestricted application confinement model, which is necessary so that it can work with files on your local disk and start sub-processes for debugging, testing, and other IDE operations.

Configuring Wing for High DPI Displays

Wing’s UI is implemented with the Qt toolkit, which includes support for high DPI displays, but the support varies depending on the desktop environment in use:

On KDE , as of early 2019, Wing should display correctly.

On Gnome , as of early 2019, Wing may suggest an interface scale factor based on the size of a character on the primary display.

If Wing is not displaying correctly, the user interface may be scaled manually. To scale icons, windows, and other elements other than fonts, use the User Interface > Other > Icon and Window Scale Factor preference. To scale the entire UI, including fonts, use Presentation Mode in the common configuration menu, which is accessed from the menu icon in the top right of Wing’s window.

Wing 101 v7

Wing 101 v7

Wing 101 is a very simplified Python IDE with basic editor and minimalist debugger. Designed for teaching beginning programmers, it focuses on providing only the most necessary functionality and omits most of the features of Wing Pro. To compare features see https://wingware.com/downloads

Details for Wing 101 v7
License
  • Proprietary
Last updated
  • 9 April 2021
Links
  • Developer website
  • Contact Wingware

Enable snaps on Ubuntu and install Wing 101 v7

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later, including Ubuntu 18.04 LTS (Bionic Beaver) and Ubuntu 20.04 LTS (Focal Fossa), you don’t need to do anything. Snap is already installed and ready to go.

For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.

Alternatively, snapd can be installed from the command line:

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

Wing Python IDE доступен для установки через Snap в Ubuntu

Wing Python IDE Теперь 7 можно легко установить с помощью пакета Snap в Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04 и выше.

Snap представляет собой контейнерный пакет программного обеспечения, работающий на большинстве настольных систем Linux. Официальные пакеты Wing snap включают в себя:

  • Wing Pro, полнофункциональная среда разработки Python для профессиональных разработчиков
  • Wing Personal, бесплатная Python IDE для студентов и любителей
  • Wing 101, очень простая бесплатная Python IDE для начинающих программистов

wing7

Для Ubuntu 18.04 и выше просто найдите и установите пакеты Wing snap в Ubuntu Software:

защелки крыла питона

Для Ubuntu 16.04 откройте терминал и выполните команду для установки snapd сначала демон.

Введите пароль пользователя (без обратной связи со звездочкой), когда он предложит, и нажмите Enter.

установить snapd xenial 600x103 7

Затем установите Wing personal 7 с помощью команды:

Замените wing-personal7 в последней команде с wing7 для Wing Pro или wing-101-7 для очень простой версии.

мгновенно установить wingpersonal

Удаление:

Чтобы удалить Python IDE, используйте программное обеспечение Ubuntu или выполните команду в терминале:

Также замените wing-personal7 с wing7 or wing-101-7 зависит от того, какую версию вы установили.

ЛКШ: Инструкция по установке WingIDE на Linux

Скорее всего Wing IDE по умолчанию будет использовать Python 2. Вам надо изменить его на Python 3. Для этого:

  1. Откройте Wing IDE и зайдите в меню «Edit » → «Configure Python. »
  2. В строке «Python Executable» выберите «Custom»
  3. В выпадающем меню выберите Python 3
  4. Нажмите «OK»

Проверьте, что всё работает

Перезапустите Wing IDE и создайте новый файл:

Наберите программу из одной строки: print(«Hello, world!»)

Сохраните программу, например на «Рабочий стол/lksh/hello.py»

Запустите программу, нажав на зелёный треугольник. В нижнее правое окно должна вывестись строка «Hello, world!»

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

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