# Install libiscsi with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Client library and utilities for iscsi. Version 1.20.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libiscsi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libiscsi
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libiscsi
```

  Evidence: Alpine Linux edge package indexes: libiscsi from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libiscsi-bin
```

  Evidence: Debian stable package indexes: libiscsi-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libiscsi
```

  Evidence: Fedora Rawhide package metadata: libiscsi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libiscsi
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libiscsi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libiscsi
```

  Evidence: Arch Linux sync databases: libiscsi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libiscsi-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libiscsi-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libiscsi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libiscsi>
- **Version:** 1.20.3
- **Source summary:** Client library and utilities for iscsi
- **Homepage:** <https://github.com/sahlberg/libiscsi>
- **Repository:** <https://github.com/sahlberg/libiscsi>
- **Upstream docs:** <https://github.com/sahlberg/libiscsi#readme>
- **License:** LicenseRef-Homebrew-public-domain AND LGPL-2.1-or-later AND GPL-2.0-or-later
- **Source archive:** <https://github.com/sahlberg/libiscsi/archive/refs/tags/1.20.3.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- iscsi-discard (cli)
- iscsi-inq (cli)
- iscsi-ls (cli)
- iscsi-md5sum (cli)
- iscsi-perf (cli)
- iscsi-pr (cli)
- iscsi-readcapacity16 (cli)
- iscsi-rtpg (cli)
- iscsi-swp (cli)
- iscsi-test-cu (cli)
- iscsi-discard (alias)
- iscsi-inq (alias)
- iscsi-ls (alias)
- iscsi-md5sum (alias)
- iscsi-perf (alias)
- iscsi-pr (alias)
- iscsi-readcapacity16 (alias)
- iscsi-rtpg (alias)
- iscsi-swp (alias)
- iscsi-test-cu (alias)

## Dependencies

- cunit

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.20.3
- Local data: ok
- Upstream repository: https://github.com/sahlberg/libiscsi
- Upstream latest detected: 1.20.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

libiscsi is a client-side C library and utility collection for implementing the iSCSI protocol. It packages asynchronous iSCSI and SCSI task handling into a reusable library plus command-line tools for target discovery, inspection, testing, and data operations.

### Project history

The iSCSI protocol was standardized in RFC 3720 in 2003 as SCSI over TCP, then consolidated in RFC 7143 in April 2014. libiscsi implements the client side of that protocol, with an asynchronous core, a synchronous convenience layer, utility programs, examples, and an iSCSI conformance test tool.

The repository tags show libiscsi 1.1.0 in December 2011 and a long sequence through the 1.x series. The README describes the project as a work in progress aiming to cover iSCSI session establishment and maintenance plus low-level SCSI CDB construction and data-in parsing.

### Adoption history

libiscsi is adopted by distributions and storage tools that need user-space iSCSI client behavior without depending on kernel initiator workflows. Its README also includes patches for making external packages such as SG3-UTILS and MTX iSCSI-aware, which points to its role as a library layer for storage utilities.

### How it is used

The utilities cover operations such as logging in to targets, enumerating targets and devices, inquiry, capacity checks, performance tests, persistent reservations, and conformance tests. The README documents iscsi:// and iser:// URL formats, CHAP credentials, bidirectional CHAP, IPv6, header digest, and data digest support.

### Why package nerds care

For package maintainers, libiscsi is a useful user-space storage protocol toolkit: small enough to ship as a library and CLI bundle, but deep enough to exercise SCSI/iSCSI edge cases through iscsi-test-cu. It is also a good example of a package where command-line URL handling, optional credentials, and protocol conformance tests matter more than a visible desktop UI.

### Timeline

- 2003-04: RFC 3720 standardized iSCSI as SCSI over TCP.
- 2011-12-24: The repository records libiscsi 1.1.0.
- 2014-04: RFC 7143 consolidated the iSCSI protocol specification.
- 2025-07-15: The repository records libiscsi 1.20.3 with event-loop write and bug-fix changes.

### Related projects

- Related projects include the IETF iSCSI RFCs, SCSI standards, SG3-UTILS, MTX, STGT test-target workflows, CUnit for conformance testing, and packages that need user-space iSCSI access to storage targets.

### Sources

- <https://datatracker.ietf.org/doc/html/rfc3720>
- <https://datatracker.ietf.org/doc/html/rfc7143>
- <https://github.com/sahlberg/libiscsi>
- <https://github.com/sahlberg/libiscsi/tags>
- <https://raw.githubusercontent.com/sahlberg/libiscsi/master/README.md>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libiscsi
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libiscsi-bin - 1.20.0-4: normalized package name match | Debian stable package indexes: libiscsi-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | iSCSI client shared library - utilities | https://github.com/sahlberg/libiscsi
- Debian apt - libiscsi-dev - 1.20.0-4: normalized package name match | Debian stable package indexes: libiscsi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | iSCSI client library development files | https://github.com/sahlberg/libiscsi
- Debian apt - libiscsi7 - 1.20.0-4: normalized package name match | Debian stable package indexes: libiscsi7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | iSCSI client shared library | https://github.com/sahlberg/libiscsi
- Nix - libiscsi: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libiscsi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libiscsi-bin - 1.19.0-3build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libiscsi-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | iSCSI client shared library - utilities | https://github.com/sahlberg/libiscsi
- Ubuntu apt - libiscsi-dev - 1.19.0-3build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libiscsi-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | iSCSI client library development files | https://github.com/sahlberg/libiscsi
- Ubuntu apt - libiscsi7 - 1.19.0-3build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libiscsi7 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | iSCSI client shared library | https://github.com/sahlberg/libiscsi
- apk - libiscsi - 1.19.0-r2: normalized package name match | Alpine Linux edge package indexes: libiscsi from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iSCSI client library and utilities | https://github.com/sahlberg/libiscsi
- apk - libiscsi-dev - 1.19.0-r2: normalized package name match | Alpine Linux edge package indexes: libiscsi-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iSCSI client library and utilities (development files) | https://github.com/sahlberg/libiscsi
- apk - libiscsi-doc - 1.19.0-r2: normalized package name match | Alpine Linux edge package indexes: libiscsi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iSCSI client library and utilities (documentation) | https://github.com/sahlberg/libiscsi
- apk - libiscsi-static - 1.19.0-r2: normalized package name match | Alpine Linux edge package indexes: libiscsi-static from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iSCSI client library and utilities (static library) | https://github.com/sahlberg/libiscsi
- apk - libiscsi-utils - 1.19.0-r2: normalized package name match | Alpine Linux edge package indexes: libiscsi-utils from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | iSCSI client utilites | https://github.com/sahlberg/libiscsi
- dnf - libiscsi - 1.20.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: libiscsi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | iSCSI client library | https://github.com/sahlberg/libiscsi
- dnf - libiscsi-devel - 1.20.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: libiscsi-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | iSCSI client development libraries | https://github.com/sahlberg/libiscsi
- dnf - libiscsi-utils - 1.20.3-4.fc44: normalized package name match | Fedora Rawhide package metadata: libiscsi-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | iSCSI Client Utilities | https://github.com/sahlberg/libiscsi
- pacman - libiscsi - 1.20.3-1: normalized package name match | Arch Linux sync databases: libiscsi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Clientside library to implement the iSCSI protocol | https://github.com/sahlberg/libiscsi


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [libvirt](https://www.automicvault.com/pkg/brew/libvirt/) - Popular package that depends on this formula.
- [aerleon](https://www.automicvault.com/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.
- [assh](https://www.automicvault.com/pkg/brew/assh/) - Shares av.db curated category or tags: cli, networking.
- [autossh](https://www.automicvault.com/pkg/brew/autossh/) - Shares av.db curated category or tags: cli, networking.
- [avahi](https://www.automicvault.com/pkg/brew/avahi/) - Shares av.db curated category or tags: cli, networking.
- [bbftp-client](https://www.automicvault.com/pkg/brew/bbftp-client/) - Shares av.db curated category or tags: cli, networking.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, networking.
- [libnfs](https://www.automicvault.com/pkg/brew/libnfs/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, client-library, networking.
- [goat](https://www.automicvault.com/pkg/brew/goat/) - Local package facts share a topical domain. Shared terms: cli, networking, protocols.
- [icann-rdap](https://www.automicvault.com/pkg/brew/icann-rdap/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, networking, test.

## Combined YAML source

View the package source record on GitHub. [combined/libiscsi.yml](https://github.com/automic-vault/db/blob/main/combined/libiscsi.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
