Archive for the ‘practical’ category

How to apply a patch/diff and solve “hunk FAILED”, “can’t find file to patch” and others

November 27th, 2009

Hi :)

After you read this article, you’ll be able to apply patch files/diffs and deal with possible errors in the process.

Let’s assume the patch is in the file fix-bug.patch (the extension doesn’t matter). The directory software-1.0 contains the files to patch. Applying a patch file/diff then works like this:

  1. Make a backup. On Linux you can use the command:
    markus@ubuntu:~$ cp -a software1.0.before-patch
  2. Run patch (for Windows: patch.exe) like this:
    markus@ubuntu:~$ patch -Np1 -d software-1.0 < fix-bug.patch

Attention: this is patch minus N p digit one, not minus N p small letter L!
» Read more: How to apply a patch/diff and solve “hunk FAILED”, “can’t find file to patch” and others

Installing Flash® Media Server on Ubuntu Linux

September 13th, 2009

Run the following commands to install Flash® Media Server on Ubuntu:

markus@ubuntu:~$ wget markusbe.com/ifu
markus@ubuntu:~$ bash ./install-fms-3.5.3-ubuntu

These commands download and run the install script.

Ubuntu version support

Ubuntu version 32 Bit 64 Bit
10.04 LTS Server Supported Supported
Desktop Supported Supported
9.10 Server Supported Supported
Desktop Supported Supported
9.04 Server Supported Supported
Desktop Supported Supported
8.10 Desktop Supported Supported, but*
8.04 LTS Server Supported Supported, but*
Desktop Supported Supported, but*
6.06 LTS Server Supported Supported, but*

» Read more: Installing Flash® Media Server on Ubuntu Linux

© 2017 Markus Bertheau. All rights reserved.