installation

Installing Matlab R2020a on Fedora 32

Installing Matlab R2020a on Fedora 32

In which I need to slightly circumvent the normal installation…

For work purposes I’m currently dual booting into Linux. There will be a post about the reasons why at some point soon. Fedora 32 is excellent but I have found some occasional issues where software I need to install doesn’t quite work out of the box. MATLAB was one such program so here’s how to get it working.

Preparing for Bayesian Mathematics in Python

Preparing for Bayesian Mathematics in Python

In which I run through setting up a Python environment on Windows...

I'm going to preface this post by saying I'm not breaking any new ground here. As is often the case, though, a beginner wanting to set-up an environment to do this will have to go to multiple websites to collect this info so I'm going to distil it into one post.

I am going to talk about Python 2.7 as currently it has the most support for libraries. This method should work equally well for Python 3 but I have not tested this.

Steam on (Gentoo) Linux

Steam on (Gentoo) Linux

In which I install Steam on Linux...

Steam is now officially supported on Linux! I decided to try it out.

Hold your horses!

Firstly - there are only 78 games supported* at the moment. So just be aware some of your faves might not be there yet.

Secondly - if you are running an Nvidia card you need to have x11-drivers/nvidia-drivers version 304.4 or higher installed. Steam will install but it won't get past login if you don't do this. You can solve this on Gentoo quite simply:

  • emerge x11-drivers/nvidia-drivers -avuDN

(Just over) A fortnight of Windows 8

In which I review the Windows 8 experience so far...

So I installed Windows 8 about two and a half weeks ago. In brief - it's a slightly improved version of Windows 7 with a few quirks and a start-up screen that require getting used to. In more detail:

Gentoo 64-bit

So guess what I was up to last night - yes that's right, installing Gentoo.

This was my first time installing Gentoo on 64-bit architecture - the important specs are below:

  • Intel Core i7 2600k Processor (Sandy Bridge - important later)

  • 8 GB DDR3 RAM

  • Asus P8Z68-V PRO/GEN3 Motherboard

  • 250 GB HDD (well 250 GB partition out of the 4 TB in my machine)

  • Nvidia GeForce GTS 450 GPU

  • Blu-Ray recorder drive

Also worth noting that this is a dual boot with Windows 7.

[WARNING - If you're not interested in Linux or computer geekery I expect you will find the rest of this post boring]

I followed the Gentoo documentation found here: http://www.gentoo.org/doc/en/handbook/ I will be noting any differences between that guide and my install here.

Choosing the Right Installation Medium

I downloaded the LiveCD and used that as my initial Linux environment for installing from.

Configuring your Network

All done through DHCP.

Preparing the Disks

I used the standard layout of boot, swap and root partitions but on /dev/sdb2 to /dev/sdb4 because of my dual booting. I set my swap partition to 20 GB following advice I found online. Then annoyingly the LiveCD made me reboot in order to write the changes. The I used the standard filesystems.

Installing the Gentoo Installation Files

The -march option in CFLAGS needs to be native or corei7-avx because of the Sandy Bridge architecture. I used MAKEOPTS="-j5" as it's a quad core processor.

Installing the Gentoo Base System

I selected the default amd64 profile. I set up my USE flags with KDE in mind so -gnome and -gtk were used. I also added the bluray flag.

Configuring the Kernel

I mostly followed the guide but later I had to come back and recompile without some Nvidia options: http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3

Configuring your System

I always set my hostname to be the name of a famous fictional computer - this time I went for Ozymandias (http://en.wikipedia.org/wiki/List_of_fictional_computers#1990s)

I set my locale to be en_GB.UTF-8.

Installing Necessary System Tools

I chose to get syslog-ng, vixie-cron, mlocate, dhcpcd and ppp.

Configuring the Bootloader

I used GRUB and followed the standard set-up except for a timeout of 10 seconds and replacing Windows XP with Windows 7. I also had to ensure to make the boot device hd1,1 and root=/dev/sdb4.

Finalizing your Gentoo Installation

I made my user with nearly all the groups (N.B. games doesn't work - is it depreciated?)

Where to go from here?

By the time I left for work this morning I had also emerged X-org and KDE 4.8.3 and had managed to get startx to not crash while going to a black screen. I'm going to have to work on my xorg.conf this evening and hopefully I'll get a working one running. This will be useful as Googling doesn't currently give a working one for my 42" TV and graphics card via HDMI. I hope people might find that useful :)

Tom out!

P.S. http://www.gentoo.org/