packagekit 0.2.6 packagekit: ^0.2.6 copied to clipboard
Provides a client to connect to PackageKit - the service that enables installation and removal of software packages on Linux.
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();
}