I can't install the Fog client on CenOS 8
-
To install the Fog client, I used ‘mono SmartInstaller.exe’. But for CentOS 8, the rpm’s mono are now on the repo https://extras.getpagespeed.com/redhat/8/$basearch/
and I must pay to get them -which is not possible in my university.
I have tried to use the command mono that comes from the package of CentOS 7, but it does not work : the messages areUnhandled Exception: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <1fd744d936be4a229b315d57c3b96c68>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <1fd744d936be4a229b315d57c3b96c68>:0 at System.TermInfoDriver..ctor (System.String term) [0x00058] in <1fd744d936be4a229b315d57c3b96c68>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <1fd744d936be4a229b315d57c3b96c68>:0 at System.ConsoleDriver..cctor () [0x00062] in <1fd744d936be4a229b315d57c3b96c68>:0 --- End of inner exception stack trace ---
Is there another solution than using mono packages ?
-
Hum. I’m quite sorry, I just see the solution on the Fog wiki; it works
(so you can add CentOS 8 in the list of Linux distros). -
Hum again. The packages that are to be installed are those of CentOS 7, and I should uninstall some packages on my CentOS 8, such as giflib and emacs, in order to install the mono packages…
The repo download.mono-project.com_repo_centos_ does not provide packages for CentOS 8 -
@adrien17 I haven’t tried mono/fog-client on CentOS 8 myself yet. Doing a little research on this I found: https://www.mono-project.com/download/stable/#download-lin-centos
rpmkeys --import "http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef" su -c 'curl https://download.mono-project.com/repo/centos8-stable.repo | tee /etc/yum.repos.d/mono-centos8-stable.repo' yum install mono-complete
Give it a try.
-
@Sebastian-Roth said in I can't install the Fog client on CenOS 8:
https://www.mono-project.com/download/stable/#download-lin-centos
Thanks a lot. With this method it works.
-
@adrien17 Good to hear. I just updated the wiki article: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Installing_-_Linux