Archives For Howtos

Wine Stable

The third maintenance release for the Wine 2.0 stable series was released recently with 37 bug-fixes.

Wine 2.0.3 fixed FreeType 2.8.1 compatibility issues, and issues with World of Warships/Planes/Tanks, Worms Armageddon, WPS 2013, Guitar Pro 7, PHP, Adobe Premiere, Wargaming.net, and a variety of other games and applications.

How to Install Wine 2.0.3 in Ubuntu:

The wine repository offers the official binaries for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and their derivatives. Do following steps to add the repository and install Wine 2.0.3:

1. Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, run command to add the repository key:

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key

Type your password (no visual feedback while typing due to security reason) when it asks and hit Enter.

2. Add wine repository via command:

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

For Linux Mint 18.x, use following command instead (replace xenial with trusty for 17.x):

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

3. Finally check updates and install wine stable packages:

sudo apt-get update

sudo apt-get install --install-recommends winehq-stable

NOTE: If you get the unmet dependencies issue while installing Wine 2.0, try aptitude instead via command:

sudo aptitude install winehq-stable

The command tells you which packages broke the installation. This usually caused by wrong dependency versions. You can then manually fix the dependencies via Synaptic package manager.

For more details, see the official documentation.

Uninstall:

To remove wine-stable package, run command in terminal:

sudo apt-get remove --autoremove wine-stable wine-stable-amd64

To remove Wine repository, launch Software & Updates utility and navigate to Other Software tab.

If you didn’t check the ‘Enable Restricted Formats’ box while installing Ubuntu 17.10 on your machine, you’ll have to manually install multimedia codecs to make the default Rhythmbox music player and Totem video player play audio / video files.

Due to legal reasons Ubuntu can not play MP3, MP4, and other media files out of the box. You can manually install commonly used media codecs via a single package called ubuntu-restricted-extras.

Simply open terminal via Ctrl+Alt+T keyboard shortcuts, or by searching “terminal” from application launcher. When it opens, run command:

sudo apt update && sudo apt install ubuntu-restricted-extras

Type your password (no visual feedback while typing) when it prompts and hit Enter

The commands automatically install all required multimedia codecs for use in Rhythmbox and Totem, along with some fonts for Ubuntu.

Virtualbox

Oracle VirtualBox reached the new major 5.2 release series with great new features and various bug-fixes and improvements.

New Features in VirtualBox 5.2:

  • export VM to Oracle Cloud.
  • Unattended guest installation, similar to VMware’s “Easy Install”
  • Overhauled VM selector GUI (improved tools VM / global tools handling, new icons)
  • Added experimental audio support for video recording
  • Fixed warning about “XSAVE consistency problem”.
  • Virtual Media Manager and Snapshot Pane rework
  • Ability to enable/disable audio input/output, and more audio settings.
  • Better EFI video mode handling, and support custom video modes
  • See changelog for more.

How to Install Virtualbox 5.2 in Ubuntu:

1. Open terminal via Ctrl+Alt+T or from application launcher. Remove old Virtualbox via command:

sudo apt-get remove virtualbox virtualbox-5.1

2. Download & install the latest Virtualbox package from the link below:

Download VirtualBox for Linux

3. If you’ve added the Oracle VBox repository, you can directly install the 5.2 release from Synaptic Package Manager or via apt command, after removing the old version.

To add the repository, do:

Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Depends your Ubuntu edition, replace xenial (for Ubuntu 16.04) with trusty (for 14.04, Mint 17.x, eOS 0.3), or zesty (for Ubuntu 17.04).

Virtualbox Official Linux repository

Setup the keyring so to trust the updates from the repository:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Finally install virtualbox 5.2 via commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

With the repository added, you can simply install the future 5.2 series updates via Software Updater.

Ubuntu 17.10

Ubuntu 17.10 Artful Aardvark will be released soon today. Here’s how you can upgrade from the Ubuntu 17.04 desktop.

Ubuntu 17.10 replaces Unity with Gnome Shell as its default desktop environment. It’s powered by 4.13 Kernel and runs Gnome on Wayland by default. Xorg is also available for choice.

A fresh install of Ubuntu 17.10 is recommended. But for those who want to upgrade from Ubuntu 17.04, do:

1. First is always backup your important data, bookmarks, and other user documents.

2. Launch Software & Updates utility from application launcher,

  • in first tab, choose “Download from” Main server
  • in Other Software tab, remove/disable all third-party repositories.
  • in Additional Drivers tab, choose an open-source driver if a proprietary one is in use.

3. Remove other desktop environments (KDE, Cinnamon, etc). Upgrading desktop packages may take a few more minutes in the upgrading process.

4. Make you system up-to-date by running command in terminal (Ctrl+Alt+T):

sudo apt update && sudo apt upgrade

5. Finally launch Software Updater to get the upgrade option. Or run following command (-d is required before it’s officially announced):

sudo update-manager -d

Click the Upgrade button and confirm in the next release note dialog to start the upgrading wizard.

Note: while the upgrading process, you need a few clicks to confirm installing or removing some packages.

The latest release of Mesa graphics library 17.2.2 is now available for users of Ubuntu 16.04 to install via PPA.

Mesa 17.2.2 is a bug-fix release for the 17.2 series. It was released two weeks ago and finally available in the “Ubuntu-X” team PPA for Ubuntu 16.04.

Mesa 17.2 contains many RADV/ANV Vulkan driver improvements, Vulkan and OpenGL performance improvements, more work towards OpenGL 4.6 compliance, and a wealth of other open-source driver improvements.

How to Install Mesa 17.2.2 in Ubuntu 16.04 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get install dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates