0

I'm new in Linux world

I tried to install mono 3.2.8 and 3.4 on Ubuntu 12.04 but had no success.

When I use apt-get command to install mono I get an older version of mono.

Can someone direct me to a guide or explain me how I can install mono 3.4?

1

This should install the latest version:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete
  • when i preform the last command i get: root@localhost:~# sudo apt-get install mono-complete Reading package lists... Done Building dependency tree Reading state information... Done The following packages have unmet dependencies: mono-complete : Depends: mono-devel (= 4.0.1.44-0xamarin1) but it is not going to be installed Depends: mono-4.0-service (= 4.0.1.44-0xamarin1) but it is not going to be installed Depends: libmono-cil-dev (= 4.0.1.44-0xamarin1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. – user2298968 Jun 28 '15 at 10:33
  • The following information may help to resolve the situation: The following packages have unmet dependencies: mono-complete : Depends: mono-devel (= 4.0.1.44-0xamarin1) but it is not going to be installed Depends: mono-4.0-service (= 4.0.1.44-0xamarin1) but it is not going to be installed Depends: libmono-cil-dev (= 4.0.1.44-0xamarin1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. – user2298968 Jun 28 '15 at 10:37
0

If you need the newest version of mono on Ubuntu 12.04, there is a solution: https://stackoverflow.com/a/40791968/2295648

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.