On Mon, 7 Mar 2016 16:19:37 +0100 Nicolas George <geo...@nsup.org> wrote:
>L'octidi 18 ventôse, an CCXXIV, Brian a écrit : >> 2. Unpack the .deb for the firmware you want: >> >> ar -x /cdrom/pool/non-free/f/firmware-nonfree/<your_firmware.deb> >> >> 3. Uncompress data.tar.xz: >> >> unxz data.tar.xz >> >> 4. Install the firmware in /lib/firmware: >> >> tar xvf data.tar > >What is the point of doing three steps with intermediate files when a single >step is enough? > >For decompressing and detaring, everybody knows how to use a pipe: > Actually, no, everybody does not know how to use a pipe. Many can not even find the "|" on the keyboard. >unxz < data.tar.xz | tar x > >With GNU tar, "tar xJ" will call unxz automatically, and if the input is a >file, "tar xf" will detect the compression. > >Furthermore, dpkg provides tools to handle deb packages: > >dpkg --fsys-tarfile /path/to/file.deb | tar x > >Regards, > -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com]