thank you very much for all your inputs on this.
I have a request you to schedule a meeting through webex or teams meeting if there is any possibility, So that it will be easy for us to explain the exact issue by sharing our screen.
Sirisha.
Original Message:
Sent: Wed March 15, 2023 06:10 AM
From: Nigel Griffiths
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
Check p7zip installed
# rpm -qa | grep -i p7zip
p7zip-16.02-1.ppc
#
Archive a file
# 7za a arch.7z smit.log
7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US,Utf16=on,HugeFiles=on,64 bits,1 CPU BE)
Scanning the drive:
1 file, 583618 bytes (570 KiB)
Creating archive: arch.7z
Items to compress: 1
Files read from disk: 1
Archive size: 29399 bytes (29 KiB)
Everything is Ok
#
List the archive
# 7za l arch.7z
7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US,Utf16=on,HugeFiles=on,64 bits,1 CPU BE)
Scanning the drive for archives:
1 file, 29399 bytes (29 KiB)
Listing archive: arch.7z
--
Path = arch.7z
Type = 7z
Physical Size = 29399
Headers Size = 122
Method = LZMA2:768k
Solid = -
Blocks = 1
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2022-12-16 15:50:04 ....A 583618 29277 smit.log
------------------- ----- ------------ ------------ ------------------------
2022-12-16 15:50:04 583618 29277 1 files
#
Extract a file
# 7za e arch.7z
7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US,Utf16=on,HugeFiles=on,64 bits,1 CPU BE)
Scanning the drive for archives:
1 file, 29399 bytes (29 KiB)
Extracting archive: arch.7z
--
Path = arch.7z
Type = 7z
Physical Size = 29399
Headers Size = 122
Method = LZMA2:768k
Solid = -
Blocks = 1
Everything is Ok
Size: 583618
Compressed: 29399
#
Print help information
# 7za -?
7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US,Utf16=on,HugeFiles=on,64 bits,1 CPU BE)
Usage: 7za <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)
h : Calculate hash values for files
i : Show information about supported formats
l : List contents of archive
rn : Rename files in archive
t : Test integrity of archive
u : Update files to archive
x : eXtract files with full paths
<Switches>
-- : Stop switches parsing
-ai[r[-|0]]{@listfile|!wildcard} : Include archives
-ax[r[-|0]]{@listfile|!wildcard} : eXclude archives
-ao{a|s|t|u} : set Overwrite mode
-an : disable archive_name field
-bb[0-3] : set output log level
-bd : disable progress indicator
-bs{o|e|p}{0|1|2} : set output stream for output/error/progress line
-bt : show execution time statistics
-i[r[-|0]]{@listfile|!wildcard} : Include filenames
-m{Parameters} : set compression Method
-mmt[N] : set number of CPU threads
-o{Directory} : set Output directory
-p{Password} : set Password
-r[-|0] : Recurse subdirectories
-sa{a|e|s} : set Archive name mode
-scc{UTF-8|WIN|DOS} : set charset for for console input/output
-scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}} : set charset for list files
-scrc[CRC32|CRC64|SHA1|SHA256|*] : set hash function for x, e, h commands
-sdel : delete files after compression
-seml[.] : send archive by email
-sfx[{name}] : Create SFX archive
-si[{name}] : read data from stdin
-slp : set Large Pages mode
-slt : show technical information for l (List) command
-snh : store hard links as links
-snl : store symbolic links as links
-sni : store NT security information
-sns[-] : store NTFS alternate streams
-so : write data to stdout
-spd : disable wildcard matching for file names
-spe : eliminate duplication of root folder for extract command
-spf : use fully qualified file paths
-ssc[-] : set sensitive case mode
-ssw : compress shared files
-stl : set archive timestamp from the most recently modified file
-stm{HexMask} : set CPU thread affinity mask (hexadecimal number)
-stx{Type} : exclude archive type
-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
#
------------------------------
Nigel Griffiths
Original Message:
Sent: Wed March 15, 2023 05:53 AM
From: Nigel Griffiths
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
demo42:root:/ # dnf list p7zip
Last metadata expiration check: 1 day, 0:26:57 ago on Tue Mar 14 09:24:00 GMT 2023.
Available Packages
p7zip.ppc 16.02-1 AIX_Toolbox
demo42:root:/ # dnf install p7zip
Last metadata expiration check: 1 day, 0:27:10 ago on Tue Mar 14 09:24:00 GMT 2023.
Dependencies resolved.
===============================================================================================
Package Architecture Version Repository Size
===============================================================================================
Installing:
p7zip ppc 16.02-1 AIX_Toolbox 2.8 M
Transaction Summary
===============================================================================================
Install 1 Package
Total download size: 2.8 M
Installed size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
p7zip-16.02-1.aix6.1.ppc.rpm 909 kB/s | 2.8 MB 00:03
-----------------------------------------------------------------------------------------------
Total 889 kB/s | 2.8 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : p7zip-16.02-1.ppc 1/1
Verifying : p7zip-16.02-1.ppc 1/1
Installed:
p7zip-16.02-1.ppc
Complete!
demo42:root:/ # df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 512.00 452.67 12% 4241 4% /
/dev/hd2 2560.00 396.43 85% 49829 33% /usr
/dev/hd9var 1024.00 569.76 45% 1354 2% /var
/dev/hd3 512.00 171.30 67% 228 1% /tmp
/dev/hd1 512.00 509.24 1% 51 1% /home
/dev/hd11admin 256.00 255.61 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 1536.00 600.48 61% 14275 10% /opt
/dev/livedump 256.00 255.64 1% 4 1% /var/adm/ras/livedump
/ahafs - - - 35 1% /aha
demo42:root:/ #
------------------------------
Nigel Griffiths
Original Message:
Sent: Tue March 14, 2023 07:27 AM
From: SIRISHA BEZAWADA
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
Hi Nigel,
we tried to install dnf bundle package on aix server, it was successful. After that again tried to install p7zip package and its giving errors.
Please refer screnshots and share your suggestions.


------------------------------
SIRISHA BEZAWADA
Original Message:
Sent: Thu March 09, 2023 04:44 AM
From: Nigel Griffiths
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
You seem to give up quickly!
Download the dnf bundle for your version of AIX from here https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/
- untar it.
- Run the script it includes - assumes you have Internet access.
A good place to start for Open Source Toolbox hints https://www.ibm.com/support/pages/aix-toolbox-open-source-software-get-started
Or start here https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox
------------------------------
Nigel Griffiths
Original Message:
Sent: Wed March 08, 2023 01:21 AM
From: SIRISHA BEZAWADA
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
I have tried to install 7zip using rpm -Uhv p7zip-16.02-1.aix6.1.ppc.rpm , but it failed. please see the screenshot for the same and suggest further.
Also please share steps, link to download for your below recommendation:
If it has prerequisite packages, I recommend you first install dnf and then use dnf to install all the dependent packages with dnf install p7zip
------------------------------
SIRISHA BEZAWADA
Original Message:
Sent: Tue March 07, 2023 12:57 PM
From: Nigel Griffiths
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
Do you mean p7zip from https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha ?
As 7-Zip is not supported on AIX.
Download the rpm then use rpm -Uhv p7zip-16.02-1.aix6.1.ppc.rpm
If it has prerequisite packages, I recommend you first install dnf and then use dnf to install all the dependent packages with dnf install p7zip
------------------------------
Nigel Griffiths
Original Message:
Sent: Mon March 06, 2023 05:43 AM
From: SIRISHA BEZAWADA
Subject: Install a 7-Zip Unpacking Tool on aix 7.1 server
Install a 7-Zip Unpacking Tool on aix 7.1 server
please help with installation command and all the steps for it
------------------------------
SIRISHA BEZAWADA
------------------------------