Fedora Project Ambassador. Favorite piano key: C#

Page 3

Fedora 24 + Bumblebee + CUDA + Theano

It’s very frustrating when you want to try something out quickly and lose your entire day… But at least next time it will be easier. I hope.

This is a guide on how to run Keras (Theano powered neural network Python library) on CUDA with an NVIDIA Optimus laptop, with Fedora 24 and Bumblebee.

Bumblebee working

Get Bumblebee working, that is the easy part. Use the nonfree drivers, there are very good instructions here:


Afterwards verify that Bumblebee is working with a quick:

optirun glxgears

Install CUDA

Get CUDA from here:


The version for Fedora 21 is the latest one, and it will work. Unpack it after downloading it with:

sh cuda_7.5.18_linux.run -extract=/path/to/somewhere

You will get three files, the driver (which you don’t need), CUDA toolkit and some samples. Install the toolkit and...

Continue reading →

Fedora @ EuroPython 2016 - event report


I am just sitting here, unsure how to start to describe probably the best conference I have ever attended! I was given the privilege to attend the biggest Python conference in Europe, meet the Python community, see what is new in Python world, and the best part was that I was representing Fedora Project.

Five days, hundreds of smiling faces asking about Fedora and Red Hat, great food, the ocean, the beautiful city, everything was there!

Here follows my personal event report, and I will try to keep it short, but no promises! :)

The booth




Fedora (represented by Michal from Red Hat Brno and myself) was sharing booth with Red Hat, which was great because when someone is interested in Fedora, you can also talk to them about Red Hat and vice versa.

Jiri and Marta, recruiters from Red Hat Brno were amazing. You can clearly see that they are really good at this sort of stuff. They...

Continue reading →

Fedora 24 Release Party Novi Sad


I just finished organizing my first event for Fedora - Fedora 24 Release Party in Novi Sad!

We had three great talks, a Fedora quiz, around 60 very happy people and a lot more. :)

The pictures from the event are here: http://imgur.com/a/5TE3O

The presentations and the quiz (for the curious) are here: https://nmilosev.fedorapeople.org/f24rpns/

Big thanks once again to Department of Mathematics and Informatics of the Faculty of Sciences in Novi Sad for having us. Also big thanks to Kveta and Romana from Red Hat for getting us t-shirts, stickers and a lot more in time, even though Serbian customs were tough. Lastly, huge thanks to everyone who helped with the organization, and to Doni Pracner and Momcilo Medic (FedoraUser) for the great presentations.

When I catch some time (and my breath) I will write a more detailed report, so stay tuned! :)

The report

First of all sorry for not...

Continue reading →

Running Docker on Crouton Fedora 24

Now that we have VirtualBox in Crouton Fedora, setting up Docker is very easy using Docker Machine. If you don’t know about Docker Machine, it’s a utility to install boot2docker which is a tiny Linux distribution made specifically for running Docker images.

Setting up everything

First, we want to install Docker (from Fedora repos) and docker-machine:

dnf install docker
curl -L https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-`uname -s`-`uname -m` > /bin/docker-machine
chmod +x /bin/docker-machine

After that, let’s create a VirtualBox Docker VM:

docker-machine create --driver virtualbox default

Sadly this will result in an error somewhat like this:

(default) Check network to re-create if needed...
(default) Creating a new host-only adapter produced an error: /bin/VBoxManage hostonlyif create failed:
(default) 0%...
(default) Progress state:

Continue reading →

VirtualBox 5.0 and Crouton Fedora 24

Recently I had to install VirtualBox onto my Chromebook which is running the latest version of Crouton Fedora with Fedora 24 which you can get from Github.

Installing VirtualBox in the original Crouton with Ubuntu/Debian is very easy because one of the Crouton developers divx118 (huge props to him) builds .deb packages with kernel headers, so you don’t have to compile the entire kernel yourself to get the VirtualBox modules running.

Installing VirtualBox on Crouton Fedora is also very easy because it can use the mentioned prebuilt packages, but there are a few extra steps needed.

Modifying the cmdline to enable module sideload and VT-x

We have to tell the ChromeOS kernel that we want to load extra modules ourselves and that we want to enable virtualization. There is a very nice script by divx118 which does this for us:

Execute this from crosh shell (not Fedora shell):


Continue reading →

Running .NET Core RC2 on Fedora 23

If you want to try the latest and greatest of .NET Core on your Fedora machine you will be sad to hear that there isn’t a package available at the official website yet (Fedora support is coming):


Luckily with some strace magic and a package from CentOS repository it is very easy to set it up.

First let’s download the CentOS package from the official storage and unpack it:

mkdir ~/dotnet
cd ~/dotnet
wget https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/1.0.0-preview1-002702/dotnet-dev-centos-x64.1.0.0-preview1-002702.tar.gz
tar xf dotnet-dev-centos-x64.1.0.0-preview1-002702.tar.gz
rm dotnet-dev-centos-x64.1.0.0-preview1-002702.tar.gz

And you’re done! There is a dotnet executable file which you can try to run but sadly it won’t work just yet…

[fedora@localhost dotnet]$ ./dotnet --version
Failed to initialize CoreCLR, HRESULT:

Continue reading →

Presenting at Tarabica 2016 Belgrade - Conference report

This year I was very surprised and grateful to be invited to speak for the first time at one of the biggest IT conferences in Serbia - Tarabica Conference. It was held at the Singidunum University in Belgrade on May 7th. I met some really great and interesting people there and had lots of fun in the process.

My presentation was titled “.NET Development Toolchain on Linux” and I talked about how you can make great .NET applications using great tools on non-Windows operating systems and also a bit about what is FOSS and how you can use open source libraries in your software. I also had a live demo of a .NET Core application running off my phone where my tinkering experience with GNURoot/Fedora ARM really paid off.

I wanted to write a quick report on this awesome event so here it goes…

Before the conference

To start, when I was invited to be a speaker I only knew vaguely what I will...

Continue reading →

Crouton Fedora new version available!

Hey everyone! New version of my Crouton fork for Fedora is available at:


I’ve managed to clean the scripts even further, and now it is using Docker images from Koji to set itself up instead of downloading RPM’s. You save a lot of data and a lot of time. It now can install a base Fedora system in less than a minute. See it in action:


Have fun and send patches! :)

View →

DBus woes with Fedora in a chroot

If you try to run Fedora in a chroot you may encounter a very annoying issue of DBus simply not working at all. I was trying to install XFCE4.12 inside my Fedora 23 chroot in the GNURoot application and I was getting these errors:

(xfce4-session:32537): xfce4-session-CRITICAL **: Unable to contact D-Bus session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

The same error was also present in the GNURoot Debian app. Fortunately it wasn’t showing in the old, old Fedora 17 chroot, where XFCE4.8 worked like a charm.

So I thought it is a XFCE4 issue. Sadly this wasn’t the case and I lost much precious time trying to debug this. Fortunately after much trial and error I can offer a simple solution (which isn’t pretty) but...

Continue reading →

Installing Mono and .NET Core with Kestrel on Fedora 23 (Quick guide)

Installing Mono and .NET Core is very simple on Fedora 23, even though there are no official docs.

Step 1: Install Mono and dependencies:

sudo dnf install mono-devel openssl-devel libunwind

or, if you want to install Mono from their repository (newest stable versions):

sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
sudo dnf config-manager --add-repo http://download.mono-project.com/repo/centos/
sudo dnf install -y mono-complete openssl-devel libunwind --refresh

Step 2: Install libuv (for Kestrel):

sudo dnf install libuv libuv-devel

Step 3: Install dnvm (dot-net-version-manager) and test it:

curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
dnvm list  should return blank list

Step 4: Install the latest .NET runtime (Mono and coreclr)


Continue reading →