---
title: Install q on Linux | Snap Store
description: Get the latest version of q for Linux - run SQL directly on CSV or TSV
  files
url: https://snapcraft.io/q
---

# q

[Nathan Handler (nhandler)](https://snapcraft.io/publisher/nhandler "View all snaps from Nathan Handler (nhandler)")

* [Nathan Handler (nhandler)](https://snapcraft.io/publisher/nhandler "View all snaps from Nathan Handler (nhandler)")

latest/stable 1.6.3-1

Install latest/stable of q

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 q
```

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

---

### Package name

* q

---

### License

* GPL-3.0+

---

### Last updated

* 16 June 2017 - latest/stable
* 16 June 2017 - latest/candidate

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

---

##### Report a Snap Store violation

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

---

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

#### run SQL directly on CSV or TSV files

q is a command line tool that allows direct execution of SQL-like queries on
CSVs/TSVs (and any other tabular text files). q treats ordinary files as
database tables, and supports all SQL constructs, such as WHERE, GROUP BY,
JOINs etc. It supports automatic column name and column type detection, and
provides full support for multiple encodings.

---

## Install q 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/q/arch)

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

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

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

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

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

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

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

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

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

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

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