check_latex complains about not finding pg.sty when I try to install 2.19 on Ubuntu 24.04 in directory other than /opt.
I used to be able to install other versions of WeBWorK in directories other than /opt.
Andras
You should be able to install in a directory other than /opt. The check_latex script uses the settings from your configuration. So check you your conf files are all set up correctly. Make sure that you have pg_dir set correctly in the conf/webwork2.mojolicious.yml file. Also make sure that you do NOT have an override of $pg{directories}{root} set in either localOverrides.conf or site.conf. The default value from defaults.conf should always be used (which gets the value from the webwork2.mojolicious.conf file).