[Linux] Ubuntu Linux 16.04 reinstall on tank

  • Posted on: 17 August 2018
  • By: charm
Fresh install of Ubuntu 16.04.5

I've been running Ubuntu 18.04 for a little while on my main desktop computer. I really haven't had any issues with it except for the constant running out of space on the SSD when ripping Blu-ray media (Ubuntu was installed on a 120GB SSD). Here are the steps I've taken so far after installing Ubuntu 16.04:

Update the system

sudo apt update

sudo apt upgrade

I then plugged back in my 1TB hard drive. Windows 10 lives on that drive. I booted Ubuntu and updated grub so it would recognize the Windows partitions on the drive:

sudo update-grub

sudo grub-install

I added a second 120GB SSD to my system, but I haven't configured it yet. For the moment it sits unpartitioned and unmounted. My plan is to use LVM to tack it on to the end of the first 120GB SSD so I don't run out of space so easily. Ripping a single Blu-ray was pretty much forcing me to off-load the video to our KODI server (which is getting full despite having an 8TB data drive) in order to rip another Blu-ray. 500GB+ SSDs have come down in price, but we're saving money at the moment, so I opted to buy a second 120GB SSD and going the Logical Volume Manager (LVM) route. I also want to be able to occassionally use 20-30GB for a virtual machine. My desktop has 16GB of RAM so VM's run pretty smoothly.

Normally I'd run the latest stable release of *buntu, but because I'm planning on porting Fasteroids to Ubuntu I chose 16.04 since it's the recommended platform for GameMaker Studio 2. It's a bit of a gamble since Fasteroids development is currently in GameMaker Studio 1.4.x which recommends Ubuntu 14.04.x (which is outdated now).

With any new installation there are several after installation steps I do, with updating being first and formost. After an update I typically look for proprietary drivers. Looking for proprietary drivers is especially important if you're running an NVidia graphics card or a wireless card. At the moment I don't have a discrete video card, only my AMD A8-5600K APU. There is actually a proprietary driver available from AMD, but it's not in the Ubuntu software channels, you have to download it direct from AMD's web site. It's not a top priority since the open source driver works for what I'm currently using my workstation for.

My next step is almost always enabling DVD playback support and installing Handbrake so I can rip my DVDs for our media centre.

sudo apt install libdvd-pkg

sudo dpkg-reconfigure libdvd-pkg

sudo apt install handbrake

Both DVD playback and ripping with handbrake should work after these steps. I had an issue with DVD playback on an older Core 2 Duo after these steps, but I think it was related to the particular installation. When I installed Xubuntu 18.04 on that system the black screen playback issue disappeared (using the same steps to install libdvd-pkg). Again, this was a particular system with an old Intel socket 775 motherboard, not my current workstation.

I'm also a licensed MakeMKV user. It's always the next major software package I install, but since it requires gcc and other software I always download build-essential first. It's also a good idea to download build-essential if you plan on compiling any software that either isn't in software repositories or is an old version in the repositories.

sudo apt install build-essential

This step was actually done earlier when we install libdvd-pkg. If you don't plan on doing any DVD playback you might still want to install build-essential for building software. At work I've been ripping audio CDs to 192kb .mp3 format, but at home I want to step it up a notch and store as much data as possible in .flac format. We have an atom-based computer wall mounted where our networking switches and routers are mounted. That machine is currently not serving any purpose (it was acting as an Owncloud server a couple of years ago). It could be repurposed with some scripts to convert the .flac files into .mp3s for our mobile devices, I just need to come up with a script and some tools to do the job. Again, something for another day.

On Ubuntu sound-juicer is the recommended CD-ripping application if you want .flac files. It's not installed on 16.04, so you have to install it.

sudo apt install sound-juicer

The default save format is .ogg vorbis, but changing this isn't too difficult. Simply click sound juicer > preferences > output format > flac. I also checked eject after extracting tracks and strip special characters. The strip special characters option adds underscores and makes filename completion (tab on command line) easier since you don't have to account for spaces.

From time to time I also put out Youtube videos. Lately I've been working on Windows with Open Broadcasting Studio (OBS). OBS is in the software repositories and can be installed simply by typing:

sudo apt install obs-studio

It's getting a bit late. There's still quite a few more tools I like to install, but I'm calling it a night and relaxing. More as I continue to reconfigure my fresh Ubuntu install.