Überprüfen von bzip2 mit bzip2 --version
Im vorherigen Schritt haben wir die Version von gzip
überprüft. Jetzt machen wir dasselbe für bzip2
, ein weiteres gängiges Komprimierungstool.
Wie gzip
unterstützt auch bzip2
die Option --version
, um seine Versionsinformationen anzuzeigen.
Geben Sie in Ihrem Terminal den folgenden Befehl ein und drücken Sie die Eingabetaste:
bzip2 --version
Sie sollten eine Ausgabe ähnlich der folgenden sehen:
bzip2, a block-sorting file compressor. Version 1.0.8, 13-July-2019.
Copyright (C) 1996-2019 Julian Seward <[email protected]>. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product
documentation would be appreciated but is not required.
This software is provided `as is'', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Julian Seward, Cambridge, UK.
[email protected]
Wiederum kann die genaue Versionsnummer unterschiedlich sein, aber diese Ausgabe bestätigt, dass bzip2
installiert und einsatzbereit ist.
Das Überprüfen der Version eines Befehls ist eine grundlegende Fähigkeit in Linux. Es hilft Ihnen, zu bestätigen, dass ein Programm installiert ist, und zu verstehen, welche Version Sie verwenden, was für die Kompatibilität oder die Fehlerbehebung wichtig sein kann.
Klicken Sie auf Weiter, um fortzufahren.