Temat: Apk - pierwsze wrażenia
czasem wrzucam snapshota by luknąć co nowego - tym razem APK
tak to wyglada : ( dla tych co jeszcze nie widzieli )
root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.63",
"hostname": "OpenWrt",
"system": "ARMv7 Processor rev 3 (v7l)",
"model": "Bananapi BPI-R2",
"board_name": "bananapi,bpi-r2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r28214-5a4eb56a7b",
"target": "mediatek/mt7623",
"description": "OpenWrt SNAPSHOT r28214-5a4eb56a7b",
"builddate": "1732829601"
}
}
root@OpenWrt:~# opkg update
-ash: opkg: not found
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# apk update
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/kmods/6.6.63-1-6cf207d61805050e191d4ae5ea32d2d8/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/telephony/packages.adb
[https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/base/packages.adb]
[https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/kmods/6.6.63-1-6cf207d61805050e191d4ae5ea32d2d8/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/luci/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/routing/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7_neon-vfpv4/telephony/packages.adb]
OK: 10655 distinct packages available
root@OpenWrt:~# apk install luci
ERROR: 'install' is not an apk command. See 'apk --help'.
root@OpenWrt:~# apk --help
apk-tools 3.0.0_pre20241113, compiled for armv7.
usage: apk [<OPTIONS>...] COMMAND [<ARGUMENTS>...]
Package installation and removal:
add Add or modify constraints in WORLD and commit changes
del Remove constraints from WORLD and commit changes
System maintenance:
fix Fix, reinstall or upgrade packages without modifying WORLD
update Update repository indexes
upgrade Install upgrades available from repositories
cache Manage the local package cache
Querying package information:
info Give detailed information about packages or repositories
list List packages matching a pattern or other criteria
dot Render dependencies as graphviz graphs
policy Show repository policy for packages
search Search for packages by name or description
Repository and package maintenance:
mkndx Create repository index (v3) file from packages
mkpkg Create package (v3)
index Create repository index (v2) file from packages
fetch Download packages from repositories to a local directory
manifest Show checksums of package contents
extract Extract package file contents
verify Verify package integrity and signature
adbsign Sign, resign or recompress v3 packages and indexes
Miscellaneous:
audit Audit system for changes
stats Show statistics about repositories and installations
version Compare package versions or perform tests on version strings
adbdump Dump v3 files in textual representation
adbgen Generate v3 files from text representation
convdb Convert v2 installed database to v3 format
convndx Convert v2 indexes to v3 format
This apk has coffee making abilities.
For more information: man 8 apk
root@OpenWrt:~# apk add luci
( 1/27) Installing cgi-io (2022.08.10~901b0f04-r21)
Executing cgi-io-2022.08.10~901b0f04-r21.post-install
( 2/27) Installing liblucihttp0 (2023.03.15~9b5b683f-r1)
Executing liblucihttp0-2023.03.15~9b5b683f-r1.post-install
( 3/27) Installing liblucihttp-ucode (2023.03.15~9b5b683f-r1)
Executing liblucihttp-ucode-2023.03.15~9b5b683f-r1.post-install
( 4/27) Installing rpcd (2024.09.17~9f4b86e7-r1)
Executing rpcd-2024.09.17~9f4b86e7-r1.post-install
( 5/27) Installing rpcd-mod-file (2024.09.17~9f4b86e7-r1)
Executing rpcd-mod-file-2024.09.17~9f4b86e7-r1.post-install
( 6/27) Installing rpcd-mod-luci (20240305-r1)
Executing rpcd-mod-luci-20240305-r1.post-install
( 7/27) Installing rpcd-mod-ucode (2024.09.17~9f4b86e7-r1)
Executing rpcd-mod-ucode-2024.09.17~9f4b86e7-r1.post-install
( 8/27) Installing ucode-mod-html (1)
Executing ucode-mod-html-1.post-install
( 9/27) Installing ucode-mod-math (2024.07.22~b610860d-r3)
Executing ucode-mod-math-2024.07.22~b610860d-r3.post-install
(10/27) Installing luci-base (24.333.66601~bbc4a90)
luci-base-24.333.66601~bbc4a90: installing file to etc/config/luci.apk-new
Executing luci-base-24.333.66601~bbc4a90.post-install
(11/27) Installing luci-app-package-manager (24.333.66601~bbc4a90)
Executing luci-app-package-manager-24.333.66601~bbc4a90.post-install
(12/27) Installing luci-app-firewall (24.333.66601~bbc4a90)
Executing luci-app-firewall-24.333.66601~bbc4a90.post-install
(13/27) Installing libiwinfo-data (2024.10.20~b94f066e-r1)
Executing libiwinfo-data-2024.10.20~b94f066e-r1.post-install
(14/27) Installing libiwinfo20230701 (2024.10.20~b94f066e-r1)
Executing libiwinfo20230701-2024.10.20~b94f066e-r1.post-install
(15/27) Installing rpcd-mod-iwinfo (2024.09.17~9f4b86e7-r1)
Executing rpcd-mod-iwinfo-2024.09.17~9f4b86e7-r1.post-install
(16/27) Installing luci-mod-network (24.333.66601~bbc4a90)
Executing luci-mod-network-24.333.66601~bbc4a90.post-install
(17/27) Installing luci-mod-status (24.333.66601~bbc4a90)
Executing luci-mod-status-24.333.66601~bbc4a90.post-install
(18/27) Installing luci-mod-system (24.333.66601~bbc4a90)
Executing luci-mod-system-24.333.66601~bbc4a90.post-install
(19/27) Installing luci-mod-admin-full (24.333.66601~bbc4a90)
Executing luci-mod-admin-full-24.333.66601~bbc4a90.post-install
(20/27) Installing luci-proto-ipv6 (24.333.66601~bbc4a90)
Executing luci-proto-ipv6-24.333.66601~bbc4a90.post-install
(21/27) Installing luci-proto-ppp (24.333.66601~bbc4a90)
Executing luci-proto-ppp-24.333.66601~bbc4a90.post-install
(22/27) Installing luci-theme-bootstrap (24.333.66601~bbc4a90)
Executing luci-theme-bootstrap-24.333.66601~bbc4a90.post-install
/luci-static/bootstrap
/luci-static/bootstrap-dark
/luci-static/bootstrap-light
(23/27) Installing rpcd-mod-rrdns (20170710)
Executing rpcd-mod-rrdns-20170710.post-install
(24/27) Installing uhttpd (2023.06.25~34a8a74d-r4)
uhttpd-2023.06.25~34a8a74d-r4: installing file to etc/config/uhttpd.apk-new
Executing uhttpd-2023.06.25~34a8a74d-r4.post-install
4+0 records in
4+0 records out
(25/27) Installing uhttpd-mod-ubus (2023.06.25~34a8a74d-r4)
Executing uhttpd-mod-ubus-2023.06.25~34a8a74d-r4.post-install
4+0 records in
4+0 records out
(26/27) Installing luci-light (24.333.66601~bbc4a90)
Executing luci-light-24.333.66601~bbc4a90.post-install
(27/27) Installing luci (24.333.66601~bbc4a90)
Executing luci-24.333.66601~bbc4a90.post-install
OK: 11 MiB in 141 packages
root@OpenWrt:~# **************************
root@OpenWrt:~# apk list | grep opkg
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# apk search opkg
luci-app-package-manager-24.333.66601~bbc4a90
root@OpenWrt:~#
a jak wylistować listę zainstalowanych pakietów ?