---
title: Install opy on Linux | Snap Store
description: Get the latest version of opy for Linux - Onelinerers' Python, which
  works like AWK
url: https://snapcraft.io/opy
---

# opy

[Ryuichi Ueda (ryuichiueda)](https://snapcraft.io/publisher/ryuichiueda "View all snaps from Ryuichi Ueda (ryuichiueda)")

* [Ryuichi Ueda (ryuichiueda)](https://snapcraft.io/publisher/ryuichiueda "View all snaps from Ryuichi Ueda (ryuichiueda)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable latest

Install latest/stable of opy

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install opy
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* opy

---

### License

* MIT

---

### Last updated

* 7 February 2021 - latest/stable
* 8 February 2021 - latest/beta

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/ryuichiueda/opy](https://github.com/ryuichiueda/opy "https://github.com/ryuichiueda/opy")

---

### Contact

* [twitter.com](https://twitter.com/uedarobotics "https://twitter.com/uedarobotics")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/opy#report-snap-modal)

---

* [Description](https://snapcraft.io/opy#tab-description)
* [Security](https://snapcraft.io/opy#tab-security)

#### Onelinerers' Python, which works like AWK

This command works like AWK in one liners. It enables you to use Python
modules on CLI. This is an example.

```
 $ seq 3 | opy '[math.log(F1)]'
 0.0
 0.6931471805599453
 1.0986122886681098
```

Restriction: this snap version works with a python in the snap environment. Therefore, we cannot use the python in /bin and modules in`$PYTHONPATH`. When you want to use opy with the modules you installed, please install opy from GitHub (<https://github.com/ryuichiueda/opy>) with the commands below. I would appreciate it if you could click the star on the repository page.

```
 $ git clone https://github.com/ryuichiueda/opy.git
 $ cd opy
 $ sudo make install
```

---

## Install opy on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/opy/arch)

[### CentOS](https://snapcraft.io/install/opy/centos)

[### Debian](https://snapcraft.io/install/opy/debian)

[### elementary OS](https://snapcraft.io/install/opy/elementary)

[### Fedora](https://snapcraft.io/install/opy/fedora)

[### KDE Neon](https://snapcraft.io/install/opy/kde-neon)

[### Kubuntu](https://snapcraft.io/install/opy/kubuntu)

[### Manjaro](https://snapcraft.io/install/opy/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/opy/pop)

[### openSUSE](https://snapcraft.io/install/opy/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/opy/rhel)

[### Ubuntu](https://snapcraft.io/install/opy/ubuntu)
