I had problems installing nuget packages on CentOS 7 with the mono packages from my copr at https://copr.fedorainfracloud.org/coprs/tpokorra/mono/

I got this error when running nuget restore:

WARNUNG: Error: TrustFailure (Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED)

The solution is to run once this command (see also http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync):

sudo cert-sync /etc/pki/tls/certs/ca-bundle.crt

This command is run by default when you install the mono package provided by Xamarin, see https://github.com/mono/linux-packaging-mono/blob/centos/mono-core.spec#L393

Tags:
Posted in Hosting, Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin.

I am building Mono packages for older Linux distributions, and some constellations not supported by Xamarin.

Here are the Mono 4.6.0.245 packages for CentOS and Fedora:

Here is the list of Mono 4.6.0.245 installed to /opt, for various Linux distributions:

For a summary of packages that I maintain for Mono, see also https://github.com/tpokorra/lbs-mono/wiki

A short status update on MonoDevelop 6:

Tags: ,
Posted in Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin. The Xamarin packages have not been updated yet, due to migration to a new Jenkins server.

I was not able yet to package MonoDevelop 6:

But here are the Mono 4.4.0.182 packages for CentOS and Fedora:

Here is the list of Mono 4.4.0.182 installed to /opt, for various Linux distributions:

For a summary of packages that I maintain for Mono, see also https://github.com/tpokorra/lbs-mono/wiki

I was asked if there are mono packages available for CentOS7 32 bit.

CentOS7 was initially only released for 64 bit, but in October 2015, it was released for 32 bit as well: http://seven.centos.org/2015/10/centos-linux-7-32-bit-x86-i386-architecture-released/

So I checked my build options: OBS does not support CentOS7 for 32 bit yet, neither does copr.

So I decided to try to build the packags on LBS. I had to modify my lxc scripts to be able to create a container for CentOS7 32 bit, and that was quite easy (https://github.com/tpokorra/lxc-scripts/issues/19).

Now there are the packages mono-opt, mono-basic-opt and mono-xsp-opt available for CentOS7 32bit.

To use them, run this:

rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x4796B710919684AC"
yum install yum-utils
yum-config-manager --add-repo https://lbs.solidcharity.com/repos/tpokorra/mono/centos/7/lbs-tpokorra-mono.repo
yum install mono-opt mono-xsp-opt mono-basic-opt mono-libgdiplus-opt

Make sure to call . /opt/mono/env.sh (mind the space after the dot) before you do any Mono calls!

Tags: , ,
Posted in Software Development | Comments Closed

This post is about the latest Mono release, and its availability for older Linux distributions.

Thankfully, Xamarin provides Mono packages for the most current Linux distributions at http://www.mono-project.com/download/#download-lin

I used to build mono-opt for Debian, Ubuntu, CentOS, Fedora and OpenSUSE, since July 2013 (see http://lists.ximian.com/pipermail/mono-list/2013-July/050114.html).

The long-term goal has always been to get Mono integrated directly into the Linux distributions. Therefore I decided to get involved with Fedora and CentOS, which I use for most of my servers.

As a result, we now have Mono 4.0.5 and MonoDevelop 5.9 in Fedora 23, and we (Claudio and myself) are working on getting Mono 4.2 and MonoDevelop 5.10 into Fedora 24. The next step would be to get Mono updated in Epel as well, so that you can use uptodate packages of Mono on CentOS too.

I am glad to see that things are happening on the Debian side as well, with Mono 4.2.1 in the experimental branch: https://packages.debian.org/search?keywords=mono-complete

OpenSUSE has Mono 4.0.4 in Leap 42.1: https://software.opensuse.org/package/mono-complete

So things are looking good!

I decided to use the infrastructure of the Fedora project for the CentOS mono-opt packages. You can find uptodate Mono and MonoDevelop packages for CentOS6 and CentOS7 at https://copr.fedoraproject.org/coprs/tpokorra/mono-opt/. There are also Mono packages for CentOS5, but no MonoDevelop for CentOS5.
This replaces the mono-opt packages for CentOS5 at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt which I will not be maintaining anymore over there.

For Fedora users, Claudio and myself do maintain a repository with the latest Mono and MonoDevelop here: https://copr.fedoraproject.org/coprs/tpokorra/mono/

For Ubuntu 12.04, Mono llvm does not build anymore, because it requires GCC with at least version 4.7. At the moment I don’t have a reason to build Mono and MonoDevelop for Ubuntu 12.04 anymore. I will also not build packages for Ubuntu non-LTS releases. If you need it, email me, and we can discuss.

So here are the updated packages:

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-4/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Just for OpenSUSE, there is also a mono-opt-devel package. For all other rpm based distributions, I deliver the devel files within the mono-opt package.

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

 

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt

 

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-2/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt mono-opt-devel monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Fix for building Debian packages on OBS:

There has been a change on OBS, resulting in lintian errors now failing the build.

For more details see https://github.com/openSUSE/open-build-service/issues/944

The solution for me was:

osc meta prjconf -e
  # insert this line:
  Support: !lintian

You can see and set this setting also in the web UI: https://build.opensuse.org/project/prjconf/home:tpokorra:mono

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt mono-opt-devel

 

Tags: , ,
Posted in Software Development | Comments Closed

Mono 4 for CentOS5   June 11th, 2015

As you may have noticed, the Mono packages provided by Xamarin won’t work on CentOS5, because some libraries are too old.

Yesterday, I realized that my Mono build for CentOS5 was still on version 3.12.1.

So I updated my Mono packages on LBS, and we have the latest Mono 4.0.1.44 available for CentOS5 now.

To install it, follow the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt mono-opt-devel

To use it, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh
Tags: , ,
Posted in Software Development | Comments Closed

There was recently a new Mono version made available: Cycle 5 Service Release 1 (4.0.1.44)

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

Please note, that for CentOS 6 and CentOS7, Fedora 20 and Fedora 21, OpenSUSE 13.1 and OpenSUSE 13.2 these packages are available:

yum install mono-opt mono-opt-devel monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

For Debian 7 and Debian 8, and various Ubuntu releases, these packages are available:

apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Yes, monodevelop-opt is back! I had to build nuget-opt and nunit-opt, and now it works again.

Mono 3.12.x:

I have created a new repository for those that still need mono-opt for version 3.12.x:
Have a look at the instructions here:
https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono-3.12&package=mono-opt

Tags: ,
Posted in Software Development | Comments Closed

First I want to say Thanks to Xamarin for providing packages now for Linux again. I am personally using the Mono packages from Xamarin for CentOS7, and the MonoDevelop package for Ubuntu from Xamarin.

I have decided I will not build my own MonoDevelop packages anymore, since the Xamarin packages are sufficient.
There are also some issues that I could not figure out, so at the moment my MonoDevelop packages on OBS do not build at all. I have no intention to fix them, because there is no need for them.

For example, to install the latest MonoDevelop on Ubuntu, you can follow these instructions (see also http://www.monodevelop.com/download/linux/#debian-ubuntu-and-derivatives):

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get install monodevelop monodoc-browser

I also wanted to stop building the Mono packages for various Linux distributions, but there are issues for CentOS6 with libgdiplus and libpng15 with the Xamarin packages (http://lists.ximian.com/pipermail/mono-list/2014-October/051241.html), so I will keep providing Mono packages at the moment.

The latest Mono packages for 3.12.1 are available according to the instructions at http://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

I have added packages for Fedora 21 there recently.

I have also worked on getting Mono 3.12.1 built for CentOS5. This required to use a newer GCC than is available on CentOS5. This meant I cannot build it on OBS since it is not allowed to link in different repositories. Obviously I could try to build a newer GCC on OBS as well, but then it becomes more and more complicated, and others have done this work already (http://people.centos.org/tru/devtools-2/readme)

The solution now works with my own LightBuildServer, and the result can be seen here: https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt
If you want to build Mono on your own LBS, let me know, and I will improve the installation instructions for the LBS. All the code is public already, at https://github.com/SolidCharity/LightBuildServer/
The sources for the RPM packages are maintained here: https://github.com/tpokorra/lbs-mono/tree/master/mono-opt

If you need some paid assistance with Mono packages for your distribution, please contact me via ODesk: https://www.odesk.com/o/profiles/users/_~01e826605fea50faae/

Tags: , ,
Posted in Software Development | Comments Closed