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

от admin

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

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.

ЛКШ: Инструкция по установке 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!»

How to Install Wing Python IDE on Ubuntu Linux

If you’re a Python developer looking for a platform to build and manage your applications, Wing Python IDE should be a great place to start. Python developers build it from the ground up to get stuff done!

Wing Python IDE is an essential tool for Python developers who speed up Python development. This IDE software provides on-the-fly error prevention, auto-completion, debugging, context-appropriate, in-line error detection and code quality analysis.

The pro version allows you to download and try for 30 days. You then can purchase a license if you like it.

For more about Wing Python IDE, please check its Homepage.

The official Wing Python IDE versions include:

  • Wing Pro, a full-featured Python IDE for professional developers
  • Wing Personal, a free Python IDE for students and hobbyists
  • Wing 101, a very simple free Python IDE for beginning programmers

To install Wing Python IDE (Personal) on Ubuntu, follow the steps below:

There are two ways to install Wing Python IDE on Ubuntu: One method is to download the .DEB package directory from its download page and install. The second method is to use Snap package management.

To install download and install via its .DEB package, use the link below:

Select to download Ubuntu 64-bit version. then download and save.

Wing Python IDE

Once downloaded, right-click the downloaded file and select Open With Software Install.

Wing Python IDE

When prompted type your password to continue the installation. Once Wing Python IDE is installed, navigate to Ubuntu Activities Overview, then search for Wing Python IDE and launch.

Wing IDE Python

Install Wing Python IDE via Snap

If you rather install Wing Python IDE via Snap, then use the commands below.

Snaps are containerized software packages that are simple to create and install. It’s a new way to manage packages on Linux systems and is supported by the top Linux distributions.

It’s probably the easiest way to install and manage packages on Linux systems, including Ubuntu.

To install Wing Python IDE via Snap, run the commands below

Also, replace wing-personal7 with wing7 or wing-101-7 to install the Pro (paid) or entry-level version for beginner programmers.

Congratulations! You have learned how to install Wing Python IDE on Ubuntu 18.04 | 16.04

Похожие статьи