I tried to install pst-barcode, but after moving the files to
/usr/share/texmf/dvips/pstricks/ and running
texhash, I still can't use them, and have to enter the files manually when compiling the document.
Why do you want to install the package? It is already part of any known TeX distribution, like TeXLive or MiKTeX. The reason why it should already be present or installable via an update manager.