nmilosev

Fedora Project Ambassador. Favorite piano key: C#

Page 3


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:

https://download.fedoraproject.org/pub/fedora/linux/releases/24/Docker/

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
wget
...

Continue reading →


Fedora @ BalCCon2k16 - Event Report!

20160911_183405.jpg

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

DSC_1461.JPG

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:

https://fedoraproject.org/wiki/Bumblebee

Afterwards verify that Bumblebee is working with a quick:

optirun glxgears

Install CUDA

Get CUDA from here:

https://developer.nvidia.com/cuda-downloads

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

DSC_1342.JPG

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

DSC_1233.JPG

DSC_1243.JPG

Cntc1fPXEAEea13.jpg

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

e29ye4V.jpg

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):

cd
...

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):

https://www.microsoft.com/net/download

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 →