groyk
https://pkgs.org/centos-5/puias-client-x86_64/pstoedit-3.45-2.PU_IAS.5.x86_64.rpm.html
I need to add correct repo, but I don't know how
It does tell you the basics in that link, & also refer to examples at
https://wiki.contribs.org/Category:Yum_Repositoryfor how to add repos to sme, modify the code for say fws to suit the puias-client for the sme side of things.
Install Howto
Create the repository config file /etc/yum.repos.d/puias-client.repo:
[puias-client]
name=PUIAS Client
baseurl=http://puias.math.ias.edu/data/puias/5/en/os/x86_64/ClientAddons/
enabled=1
gpgcheck=0
Install pstoedit rpm package:
# yum install pstoedit
For adding the repo to sme, maybe something like
db yum_repositories set puias-client repository \
BaseURL
http://puias.math.ias.edu/data/puias/5/en/os/x86_64/ClientAddons/ \
EnableGroups no GPGCheck yes \
Name "Puias Client" \
Visible no status disabled
After adding it to the database updating the configuration file is required:
signal-event yum-modify
To view your settings you may run this command:
db yum_repositories show puias-client
Edit
... or use this simpler example as a guide (modify as above)
/sbin/e-smith/db yum_repositories set centos-sclo-rh \
repository Name 'Centos-RH Software collections' \
BaseURL '
http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/' \
EnableGroups no Visible yes status disabled