Download mono-complete and install it on another new machine - mono

I Downloaded mono-complete 3.10 by adding following repository and signing key in synaptic. After Downloading mono-complete-3.10, I installed this package in another fresh machine, but in fresh machine it gives lot of errors. Please suggest me how to install this downloaded package on another machine (offline).
Repo:
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
Signing Key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

I see different versions of ubuntu in your tags.On what version of ubuntu you are installing your mono? Did you fully read this article?
Why don't you just use smth like apt-get install mono-complete monodevelop e.g.?

Related

Installing version 1.15 of tensorflow-serving-api to Centos 8

I am trying to install Tensorflow-serving to my Centos 8 machine. Installing with Docker image is not an option for Centos. So I try to install with pip. These are the commands for installing tensorflow-model-server:
pip3 install tensorflow-serving-api==1.15
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | sudo tee /etc/apt/sources.list.d/tensorflow-serving.list
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install tensorflow-model-server
The problem is I need version 1.15.0 and I couldn't find how to modify links to install the 1.15 version. Any help for modifying links, ideas for installing "tensorflow/serving" to Centos 8 will be appreciated by me :)
I found the links:
wget 'http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-server-1.15.0/t/tensorflow-model-server/tensorflow-model-server_1.15.0_all.deb'
dpkg -i tensorflow-model-server_1.15.0_all.deb
pip3 install tensorflow-serving-api==1.15
With these commands, it works :)

JetBrains Rider EAP on Linux - Solution load failed: MsBuild not found

Just installed the latest version of Rider EAP (163.12057) and tried to create a new solution.
In my Solution Explorer its shows my Solution and (load failed).
In the Event Log window I get the error message:
Solution 'FirstSolution' load failed: MsBuild not found on this machine
Any ideas on how I can solve this loading problem?
Thanks in advance!
I managed to solve the loading error.
I was missing Mono and found out through this thread here that Rider currently needs Mono 4.6.2.
I followed this guide to install Mono.
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-devel
sudo apt-get install mono-complete
I hope this will help someone else.
UPDATE: Asp.Net Core
if you'll be using Asp.Net Core, and encounter error about missing xsp.exe you might need to install mono-xsp4 with this command
sudo apt-get install mono-xsp4
Accepted answer led me to the official guide: Mono-project download
This can help with various other systems (different than Debian). It helped me to get through the process and resolved problem on Ubuntu 18.04.
For Ubuntu 18.04 it is, first Add the Mono repository to your system:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
then,
sudo apt install mono-devel
sudo apt install mono-complete
For Arch Linux and derivatives you'll need:
sudo pacman -S mono mono-tools msbuild
Invalidate caches & Restart on Jetbrains to apply

how to install mono latest Alpha version on Ubuntu 16.04

I tried to do the guide on the mono website, but I don't really understand it as I am not a linux guy and surely not an expert in servers.
I don't find anything on Google.
No matter what I do, when I use the "mono --version" command to see if the install was successful, I get Mono 4.6.1
If you are looking for alpha versions, you will want to setup your package manager to pull the Mono Continuous Integration packages as these are built for every commit to the repo at https://github.com/mono/mono.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://jenkins.mono-project.com/repo/debian sid main" | sudo tee /etc/apt/sources.list.d/mono-jenkins.list
sudo apt-get update
Ref: http://www.mono-project.com/docs/getting-started/install/linux/ci-packages/#debian-ubuntu-and-derivatives
Read the Usage section on how to select a build/package.

how to install mono offline?

I am behind proxy and I am trying to install mono by executing the following command on Ubuntu server 14.04 LTS for dotnet development. I am getting into error "gpg: keyserver receive failed: keyserver error". I searched and tried several suggestions but it's not helping.
Is there a way to download this outside proxy and install this offline on my server?
ellismg#linux:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
ellismg#linux:~$ echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
ellismg#linux:~$ sudo apt-get update
ellismg#linux:~$ sudo apt-get install mono-devel
Looks like it fails getting the gpg key.
Instead of the first command you can just open https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF in a browser and copy the key into a file. Then run "sudo apt-key add file.gpg"
sudo <command> didn't work but it worked when I logged in as root.
This is still not the complete solution as root login is not available to all.

Compiling libapache2-svn for Apache 2.4.4

I want to use Apache 2.4.4 with SVN on Ubuntu server 12.04 (Precise Pangolin). But when I use
apt-get install libapache2-svn
I get the following dependencies error
The following packages have unmet dependencies:
libapache2-svn : Depends: apache2.2-common but it is not going to be installed
Googling around I got some suggestion about compiling from source by hand. I don't know how to do that. How can I do it?
I have two solutions:
Follow the instructions in this Server Fault Q&A.
*Note: Create another user if you're using a root account on the server.
I've asked Ondřej Surý on Launchpad to add Subversion to his Apache PPA. You can add Ondřej Surý's PPA to perform a normal update/upgrade.
You did ask Ondrej to include Subversion in his PPA launchpad. But I couldn't install the libapache2-svn package after adding Ondrej's PPA.
Somehow the instructions provided for compiling didn't work for me so here's an alternative way to get it working.
Reference:
(https://askubuntu.com/questions/312568/where-can-i-find-a-subversion-1-8-binary)
WANDisco has Subversion 1.8 for Ubuntu then:
sudo sh -c 'echo "# WANdisco Open Source Repo" >> /etc/apt/sources.list.d/WANdisco.list'
sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/WANdisco.list'
wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -
sudo apt-get update
After that:
apt-cache show subversion | grep '^Version:'
And then you should be good to install normally:
sudo apt-get install subversion libapache2-svn