packagekit 0.2.6 copy "packagekit: ^0.2.6" to clipboard
packagekit: ^0.2.6 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

import 'package:packagekit/packagekit.dart';

void main() async {
  var 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();
}
8
likes
140
pub points
63%
popularity

Publisher

verified publishercanonical.com

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

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

collection, dbus

More

Packages that depend on packagekit