←  [EN] Enduser support

Forums

»

program p7zip missing on feed

Pike_Bishop's Photo Pike_Bishop 3 Apr 2020

Hi,

 

can you please put the program p7zip on feed i need it to zip fullbackups on the box directly, it's a small programm.

 

thanks a lot.

 

 

regards

Pike

Quote

WanWizard's Photo WanWizard 3 Apr 2020

I've added it to my todo list.

 

Can't get home, so might take a while...

Quote

mrvica's Photo mrvica 3 Apr 2020

ist das das, ich habs hier für armhf

root@h7:/var/volatile/tmp# ./7zr

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_GB.utf8,Utf16=on,HugeFiles=on,2 CPUs)

Usage: 7zr <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names)
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method
  -o{Directory}: set Output directory
  -r[-|0]: Recurse subdirectories
  -scs{UTF-8 | WIN | DOS}: set charset for list files
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout
  -ssc[-]: set sensitive case mode
  -t{Type}: Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -v{Size}[b|k|m|g]: Create volumes
  -w[{path}]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries
root@h7:/var/volatile/tmp#

Quote

s3n0's Photo s3n0 3 Apr 2020

Hi,

 

can you please put the program p7zip on feed i need it to zip fullbackups on the box directly, it's a small programm.

 

thanks a lot.

 

 

regards

Pike

Which version of OpenPLi are you talking about ?
Which device exactly do you mean ?

For example, on my Vu+ Solo SE V2 device with OpenPLi 7.2 version, there is no problem:

root@vusolose:~# opkg update
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party/Packages.gz.
Updated source 'openpli-3rd-party'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party-mips32el/Packages.gz.
Updated source 'openpli-3rd-party-mips32el'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party-vusolose/Packages.gz.
Updated source 'openpli-3rd-party-vusolose'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/all/Packages.gz.
Updated source 'openpli-all'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/mips32el/Packages.gz.
Updated source 'openpli-mips32el'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/picons/Packages.gz.
Updated source 'openpli-picons'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/vusolose/Packages.gz.
Updated source 'openpli-vusolose'.

root@vusolose:~# opkg list | grep 7zip
p7zip-full - 16.02-r0

root@vusolose:~# opkg install p7zip-full
...
...
...

root@vusolose:~# 7z | grep -i "version"
p7zip Version 16.02 (locale=en_GB.utf8,Utf16=on,HugeFiles=on,32 bits,2 CPUs LE)

Edited by s3n0, 3 April 2020 - 20:21.
Quote

WanWizard's Photo WanWizard 4 Apr 2020

Not in our standard built it isn't...

Quote

Pike_Bishop's Photo Pike_Bishop 4 Apr 2020

Hi WanWizard,

 

 

I've added it to my todo list.

 

Can't get home, so might take a while..

thanks :) - we have time

 

@mrvica,

yes thats it but i need it on feed.

 

@s3n0

 

Which version of OpenPLi are you talking about ?

i use openpli 7.2 on vuultimo 4k , but as @WanWizard said "Not in our standard built it isn't..."

 

 

regards

Pike


Edited by Pike_Bishop, 4 April 2020 - 00:56.
Quote

s3n0's Photo s3n0 4 Apr 2020

So, use the stand-alone binary executable file 7za :). It can also be downloaded from the internet, but contains many dependencies on some libraries / modules. The file 7za is a stand-alone smaller version of 7-zip, while 7z is a full version.

However, older versions of 7za binaries for Enigma work great (without library dependencies):
https://github.com/s...ousekPicons/7za

I use them in my plug-in to unpack picons from .7z archives, so... if the package manager fails to install any p7zip, then I will use the binary.

 

Of course the functionality may not always be 100% even if it is a stand-alone binaries 7za.


Edited by s3n0, 4 April 2020 - 12:09.
Quote

nor50's Photo nor50 4 Apr 2020

 

ist das das, ich habs hier für armhf

root@h7:/var/volatile/tmp# ./7zr

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_GB.utf8,Utf16=on,HugeFiles=on,2 CPUs)

Usage: 7zr <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
  a: Add files to archive
  b: Benchmark
  d: Delete files from archive
  e: Extract files from archive (without using directory names)
  l: List contents of archive
  t: Test integrity of archive
  u: Update files to archive
  x: eXtract files with full paths
<Switches>
  -ai[r[-|0]]{@listfile|!wildcard}: Include archives
  -ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
  -bd: Disable percentage indicator
  -i[r[-|0]]{@listfile|!wildcard}: Include filenames
  -m{Parameters}: set compression Method
  -o{Directory}: set Output directory
  -r[-|0]: Recurse subdirectories
  -scs{UTF-8 | WIN | DOS}: set charset for list files
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout
  -ssc[-]: set sensitive case mode
  -t{Type}: Set type of archive
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -v{Size}[b|k|m|g]: Create volumes
  -w[{path}]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries
root@h7:/var/volatile/tmp#

English forum...

Quote

mrvica's Photo mrvica 4 Apr 2020

I forgot it, i´ve known @Pike_Bishop for some time as German, in case someone needs it, armhf version, no other libs dependencies, 460k

 

 

Attached Files

  • Attached File  7zr.zip   252.3KB   16 downloads
Quote

Pike_Bishop's Photo Pike_Bishop 9 May 2020

Hi,

 

hmm can't find it on feed, have installed the last 7.2 release from date 04.05.2020 on vu ultimo 4k.

no output if i make;

opkg list | grep 7zip

so i think it still isn't on feed.

 

 

regards

Pike

Quote

Pr2's Photo Pr2 9 May 2020

If you want to take backup you can also this:

 

tar -cvzf backup.tgz /path/files /path2/ /path3/*.conf

 

This will create a tar gzip file.

This format is supported by many applications.

 

To unpack it:

 

tar -xvzf backup.tgz -C /pathtounpack

 

No sure if 7zip is preserving the file property (executable bit, owner, ...)  so if the goal is to perform a linux backup tar is the tool to use.

 

7zip is rather windows world.


Edited by Pr2, 9 May 2020 - 21:28.
Quote

WanWizard's Photo WanWizard 9 May 2020

hmm can't find it on feed, have installed the last 7.2 release from date 04.05.2020 on vu ultimo 4k.
 
It is not a bugfix, and therefore is not backported, it will be part of 7.3-release.
Quote

Pike_Bishop's Photo Pike_Bishop 9 May 2020

Hi,

 

thanks but i need it to create .zip packages from my fullbackups with backupsuite, therewith i can install it easy in openmultiboot.

i have testet the 7zr from @mrvica but this can only create 7zarchives and not a zip archive

 

 

regards

Pike


Edited by Pike_Bishop, 9 May 2020 - 22:56.
Quote

Pike_Bishop's Photo Pike_Bishop 9 May 2020

 

it will be part of 7.3-release.

 ok thanks, then i know i have to wait.

 

regards

Pike

Quote

Pike_Bishop's Photo Pike_Bishop 9 May 2020

Hi,

 

ok in the meanwhile i use now program zip for that;

opkg update
opkg install zip

and then in my case;

zip -r $Targetdir/${Zip_Name}.zip $Usb_Backup_Image_Path

that works also.

 

 

regards

Pike

Quote

s3n0's Photo s3n0 10 May 2020

Hi,

 

thanks but i need it to create .zip packages from my fullbackups with backupsuite, therewith i can install it easy in openmultiboot.

i have testet the 7zr from @mrvica but this can only create 7zarchives and not a zip archive

 

 

regards

Pike

Did you also test the "7za" binaries from me (POST #7) ?! I mentioned above the link to "7za" binaries for the CPU architecture mips32el + arm. Unfortunately, "7zr" is a very light version ! However, "7za" is not so light and is very similar to the full version of "7z". Unfortunately, the "7z" version uses libraries and system modules, so it is not possible to use the full-fledged "7z" binary (for example, in the form of an IPK / DEB package from another Enigma distribution). First of all, it depends on what you want to do with the help of the 7zip archiver. Because even a "7za" binary can't do everything, but it's much better than a "7zr" binary.

 

https://wiki.archlin...nd_7zr_binaries

 

Differences between 7z, 7za and 7zr binaries

 

The package includes three binaries, /usr/bin/7z, /usr/bin/7za, and /usr/bin/7zr. Their manual pages explain the differences:

 

     -- 7z(1) uses plugins to handle archives.
     -- 7za(1) is a stand-alone executable that handles fewer archive formats than 7z.
     -- 7zr(1) is a stand-alone executable. It is a "light-version" of 7za that only handles 7z archives. In contrast to 7za, it cannot handle encrypted archives.

Edited by s3n0, 10 May 2020 - 09:22.
Quote

Pike_Bishop's Photo Pike_Bishop 14 May 2020

Hi s3n0,

 

thanks - i will test it :)

 

 

regards

Pike

Quote

Pike_Bishop's Photo Pike_Bishop 16 May 2020

Hi s3n0,

 

i have testet it works fine, i can make also zip file with it.

 

 

regards

Pike

Quote

s3n0's Photo s3n0 16 May 2020

:thumbs-up:


Edited by s3n0, 16 May 2020 - 21:11.
Quote