Skip to main content

packagekit 0.2.8 copy "packagekit: ^0.2.8" to clipboard
packagekit: ^0.2.8 copied to clipboard

PlatformLinux

Provides a client to connect to PackageKit - the service that enables installation and removal of software packages on Linux.

example/example.dart

// ignore_for_file: avoid_print

import 'package:packagekit/packagekit.dart';

void main() async {
  final client = PackageKitClient();
  await client.connect();

  print(
    'Server version: ${client.versionMajor}.${client.versionMinor}.${client.versionMicro}',
  );
  print('Backend: ${client.backendDescription} (${client.backendName})');
  print('Supported MIME types: ${client.mimeTypes.join(', ')}');

  await client.close();
}
9
likes
160
points
1.13k
downloads

Documentation

API reference

Publisher

verified publishercanonical.com

Weekly Downloads

Provides a client to connect to PackageKit - the service that enables installation and removal of software packages on Linux.

Repository (GitHub)
View/report issues
Contributing

License

MPL-2.0 (license)

Dependencies

collection, dbus

More

Packages that depend on packagekit