Package manager using pacman in RG353P - leonkasovan/RG353P GitHub Wiki
Manual pacman: https://wiki.archlinux.org/title/Pacman
Create Package: https://wiki.batocera.org/create_pacman_package
Setup pacman
- Check configuration:
pacman-conf
- Edit file with nano /etc/pacman.conf
ChangeArchitecture = rg353
toArchitecture = aarch64
AddSigLevel = Never
Remove this lines
[anbernic]
Server = https://store.anbernic.org/
- Edit file with nano /userdata/system/pacman/pacman.conf
[batocera]
Server = https://store.batocera.org/
[community]
Server = http://mirror.archlinuxarm.org/aarch64/community/
[core]
Server = http://mirror.archlinuxarm.org/aarch64/core/
[extra]
Server = http://mirror.archlinuxarm.org/aarch64/extra/
-
Sync pacman database
Synchronize and refresh the package databases:pacman -Sy
Synchronize content files database:pacman -Fy
-
pacman-key --init
Search package
Search package contains name psmisc: pacman -Ss psmisc
core/psmisc 23.6-1 [installed]
Miscellaneous procfs tools
core/psmisc-debug 23.6-1
Detached debugging symbols for psmisc
Search file contains name pstree: pacman -F pstree
core/psmisc 23.6-1 [installed]
usr/bin/pstree
Download and install package
Download and install package with its depends: pacman -S psmisc
Download and install package without its depends: pacman -Sdd psmisc
Download and install package without its depends and overwrite existing file: pacman -Sdd --overwrite psmisc
Download (no install) package without its depends: pacman -Sddw psmisc
check in /userdata/system/pacman/pkg/
Install local package: pacman -U luax-5.1.5-1-aarch64.pkg.tar.zst
Install local package and overwrite existing file: pacman -U --overwrite /usr/bin/killall mini-tools-1.0.1-1-aarch64.pkg.tar.zst
Misc
After installing packages, execute command: anbernic-save-overlay
for saving permanent changes in system