where did you find that way about installing software via Manjaro’s terminal?
Discord is in Manjaro’s repo,
[tmo@msi ~]$ pacman -Ss discord
community/discord 0.0.12-0
All-in-one voice and text chat for gamers that's free and secure.
To install a software package, the basic syntax is pacman -S packagename. However, installing a package without updating the system will lead to a partial upgrade situation so all the examples here will use pacman -Syu packagename which will install the package and ensure the system is up to date.
I’m assuming you used some very old install .iso. Arch and Manjaro switched to zstd packaging format. With old, not updated system it cannot update itself because of the Unrecognized archive format. Hence, the need to install a pamac version that can go around it.
pacman -S appname
is the standard and official install command on pacman. There could be additional options for installation but the base is just -S .
It was not clear enough as it was his first post what he was trying to do, for a moment I thought he was trying to install a locally downloaded package from somewhere bypassing the repo -which in his case should be installed with the -U switch-, then I saw the path was actually /var/cache/pacman/… But anyway these posts full of wiki links never hurt, on the contrary