by Nemanja Milosevic

Fedora Project Ambassador. .NET/Java developer. Favorite piano key: C#

Read this first

Anyfed (Universal Fedora chroot tool) - First release

A small update. I wrote a small shell script which can set up a Fedora chroot anywhere (get the name now?) where a compatible kernel is. This means you can use minimal Fedora shell on almost any other Linux distribution.

Here is the project homepage and source code:


You use it like this:

wget https://raw.githubusercontent.com/nmilosev/anyfed/master/anyfed && bash anyfed

The only prerequisites are that you have tar and wget in your $PATH, you don’t even have to be superuser. It should work on any recent ARM or x86_64 kernel. I’ve tested it on my Android phone, my Raspberry Pi (with LibreELEC) and a couple of virtual machines and it is working really good.

The use cases are very broad. For example for running software which isn’t available on your installed distribution, or to try out dnf and other Fedora-specific tools. Also, this could be very

Continue reading →

Termux-Fedora - install Fedora on your phone with Termux

Termux is an awesome new open source app for Android which provides you with a basic Linux shell. It also has a tiny repository with some packages and one of those packages is proot which you may remember from my GNURoot tutorial.

GNURoot way of getting Fedora on your unrooted Android phone still works, but this way is much cleaner and we have more control over what’s going on. I’ve been using this for a couple of days and it has been really stable and fast.

Anyway to install Fedora on your unrooted (or rooted) Android phone you have to:

  • install Termux from the Play Store or the F-Droid store
  • open it and paste this little snippet:
apt update && apt install wget -y && /data/data/com.termux/files/usr/bin/wget https://raw.githubusercontent.com/nmilosev/termux-fedora/master/termux-fedora.sh && sh termux-fedora.sh

and wait. If everything goes well, you can enter Fedora chroot with a

Continue reading →

Quick and easy Fedora Minimal chroot

This is a quick guide on how to quickly make a Fedora Minimal chroot environment without any special tools. The only prerequisite is that you have root access on the machine you are using, and chroot binary (or busybox even). I am also using wget and tar but you probably have that. :)

We are going to use a Docker image as it contains a very well packaged Fedora Minimal rootfs.

Docker images are available for x86_64 and ARM architectures here:


I am setting up my Raspberry Pi 2 in this example so I used the ARM image. The “host” operating system is LibreELEC media center, but this will work on any Linux distribution.

# make sure you are root
sudo su

# create a directory for Fedora
mkdir -p /fedora 
cd /fedora

# get the Docker image

Continue reading →

Fedora @ BalCCon2k16 - Event Report!


Another event, another great experience! This is my short (hopefully) event report from BalCCon2k16 which was held in my hometown - Novi Sad.

If you are wondering who are the people in the above picture (top-left first):

  • Momcilo (FedoraUser) - Fedora Ambassador from Belgrade
  • Myself
  • Danijela - Long time Fedora user, professor from my University
  • Branko (bitlord) - Long time Fedora contributor and user from Belgrade
  • Natasa - Fedora enthusiast and Fedora event organizer
  • Onur (thunderbirdtr) - Fedora Ambassador from Turkey
  • Sarup (sarupbanskota) - Fedora Ambassador from India

 Picture album

The still updating picture album is here: http://imgur.com/a/69ddx

 The Booth


Sadly I have to start with sadly. The package with Fedora goodies was again impounded by the Serbian customs, and this time we couldn’t do anything about it. I was really sad and annoyed, but I guess this is just a

Continue reading →

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 →