Archive

Posts Tagged ‘install’

ASUS VivoBook S530F: how to install the Windows 10 drivers?

Problem
I got a new laptop at my workplace, an ASUS VivoBook S530F. I wanted to make a dual-boot system with Windows 10 and Manjaro. First, I installed Windows 10 on it. For creating a bootable USB stick, I followed this guide (I used gparted). Windows 10 installed successfully but I had no wifi. Fine, let’s install the drivers from the included DVD. Some drivers went up, but the installation of the wifi driver terminated with a DLL error. This error was produced by a file called pnputil.exe. Hmm… OK, then let’s connect an Ethernet cable. Oh, but this slim laptop has no Ethernet connection! Using another machine, I downloaded the wifi driver from the ASUS home page, I could install it, but nothing happened. The wifi was still dead.

Solution
It turned out that the file pnputil.exe is part of the Windows and you can find it in the C:\Windows\System32 folder. On the DVD there were about 18 copies of this file and by comparing their sizes, there were at least 3 different versions. On the official DVD! Congratulations!

So I copied the content of the DVD to the hard drive and overwrote all instances of pnputil.exe with the one from the System32 folder. Then I launched the installation wizard and it installed all the drivers without any DLL error message.

Update: Installing Manjaro
After Windows 10, I installed Manjaro in a separate partition. Under Windows 10 I downloaded the Manjaro ISO and wrote it on a USB stick with Rufus in dd mode. During the installation I created a swap partition and a root partition. Here I got a warning that an EFI partition is necessary. The Windows 10 installer created a FAT32 partition of size 100 MB. I selected this partition and specified it to be mounted under /boot/efi. The installer flagged it automatically as “esp”. Then the installation went on without any problem and my wifi card was recognized out-of-the-box.

Categories: manjaro, windows 10 Tags: , ,

Steam client on Ubuntu 18.04

November 26, 2018 Leave a comment

Problem
Steam stopped working. At the end of an update process it complained that “steamui.so” was missing.

Solution
I found the solution here. In short:

First, delete steam:

sudo apt remove steam

Execute this:

sudo dpkg --add-architecture i386

Restart the machine. Then, install these packages:

sudo apt-get install wget gdebi libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386

Download the steam package:

wget http://media.steampowered.com/client/installer/steam.deb

And install it:

sudo gdebi steam.deb

After this, steam started normally for me.

Hero of the Kingdom 2 patch
The game “Hero of the Kingdom 2” didn’t want to start. I got the error “access violation”. I found the remedy here.

It seems this problem is related to the Intel driver. I have an integrated Intel video card.

The solution in short: download the driver http://de.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_11.2.0-1ubuntu2_i386.deb , extract it, and replace the file /usr/lib/i386-linux-gnu/dri/i965_dri.so with the one from the archive. Of course, don’t forget to make a backup of the original file.

Ubuntu 18.04

I upgraded some of my machines to Ubuntu 18.04. It looks good and the installation went flawlessly. Here is a nice post with some post-installations tips: Things To Do After Installing Ubuntu 18.04 Bionic Beaver Linux.

I did the followings:

  • install Gnome Tweaks
  • place titlebar buttons to the left
  • Make workspaces static. Number of workspaces: 4.
  • Install the the Gnome shell extension TaskBar. With this I can see the running apps in a bottom panel.
  • Redefine the lock screen shortcut to Ctrl + Alt + L.
  • force Alt + TAB to switch only on current workspace (read more)
Categories: ubuntu Tags: , ,

[manjaro] edit PKGBUILD and install a package

March 30, 2018 Leave a comment

Problem
You try to install a package with “yaourt pkg_name” but the installation fails. How to edit the PKGBUILD file manually and then install the package?

Solution

$ cd /tmp
$ yaourt -G pkg_name
$ cd pkg_name
# modify the file PKGBUILD with your favourite text editor
$ makepkg -i

Where “pkg_name” is the name of the package you want to install.

Categories: manjaro Tags: , ,

upgrade tmux to the latest version

March 17, 2016 Leave a comment

What I love in Manjaro is that it contains the latest software versions. For instance, I installed tmux and on Manjaro it’s version 2.1.

On Ubuntu 14.04 it’s still version 1.8 in the reposotories…

Problem
How to upgrade tmux 1.8 to 2.1 on Ubuntu?

Solution
Install these packages:

$ sudo apt-get install exuberant-ctags cmake libevent-dev libncurses5-dev

Then download the source of tmux from the official home page. Then build and install:

$ ./configure && make
$ sudo make install

This tip is from here.

Categories: bash, ubuntu Tags: , ,

building Aegisub on Ubuntu

March 23, 2014 Leave a comment

Problem
You want to install Aegisub from source.

Aegisub is a free, cross-platform open source tool for creating and modifying subtitles. Aegisub makes it quick and easy to time subtitles to audio, and features many powerful tools for styling them, including a built-in real-time video preview.” (source)

Aegisub is a wonderful piece of software. It makes subtitle creation almost trivial :)

Solution
Here I show you how to build Aegisub 3.1.2 on Ubuntu 13.10 (64 bit). I guess it would work with later versions too after some tweaks :)

Note that Aegisub requires wxWindows > 2.8!

Installation steps:

# install dependencies
$ sudo apt-get install build-essential libasound2-dev libass-dev libffms2-dev libfftw3-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libhunspell-dev liblua5.1-dev
$ sudo apt-get install intltool
$ sudo apt-get install libboost-all-dev
$ sudo ldconfig    # not sure if necessary here

$ cd /opt/wxWidgets-X.Y.Z
$ ./configure --with-opengl && make && sudo make install
$ sudo ldconfig

$ cd /opt/aegisub-X.Y.Z/aegisub
$ ./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
$ make && sudo make install

Aegisub’s “configure” gave me the following warning: “configure: error: Could not link against -lGL !“. I could solve this problem with (1) “install libboost-all-dev“, and (2) add “--with-boost-libdir=/usr/lib/x86_64-linux-gnu” to “configure“.

Links

Update (20130330)
I also wanted to install Aegisub on an older laptop of mine that runs Ubuntu 12.04. To make it work, I had to install older versions: wxWidgets-2.9.4 and aegisub-3.0.1. I tried different combinations but it was a failure. If you want to save some headache, use these versions :)

Install Adobe Flash for Firefox properly

April 14, 2013 Leave a comment

Let’s see how to install Adobe Flash under Ubuntu for Firefox properly.

Visit the official site (http://get.adobe.com/flashplayer/) and download the .tar.gz file. Create a temporary directory (e.g. /tmp/flash) and save the file there. This archive is a tarbomb, that’s why we put it in a dedicated folder.

Unzip the archive. There is a “usr” subfolder whose owner and group must be set before copying it to “/usr“. Switch to root (with “su“) and perform the following actions:

  1. chown -R root:root usr (where “usr” is the subfolder from the archive, not the system folder)
  2. copy this “usr” folder to “/usr“, i.e. copy it to the system folder

(Of course, you can also do these steps with “sudo” too.)

Finally, copy the file “libflashplayer.so” to the directory “$HOME/.mozilla/plugins/“. It’s very likely that this folder doesn’t exist yet so create it first.

Restart Firefox and enjoy the ultimate Flash experience :)

Categories: firefox, ubuntu Tags: ,