Archives For Howtos

KTorrent, full-featured BitTorrent application by KDE, now is officially available as Snap package. Which means you can now easily install the latest KTorrent in Ubuntu 16.04, Ubuntu 18.04, and higher, and keep it always updated.

KTorrent features:

  • Queuing of torrents
  • Previewing of certain file types, build in (video and audio)
  • Importing of partially or fully downloaded files
  • File prioritization for multi-file torrents
  • Selective downloading for multi-file torrents
  • Kick/ban peers with an additional IP Filter dialog for list/edit purposes
  • UDP tracker support
  • Support for private trackers and torrents
  • Support for ĀµTorrent’s peer exchange
  • Support for protocol encryption (compatible with Azureus)
  • Support for creating trackerless torrents
  • Support for distributed hash tables (DHT, the Mainline version)
  • Support for UPnP to automatically forward ports on a LAN with dynamic assigned hosts
  • Support for webseeds
  • Scripting support via Kross, and interprocess control via D-Bus interface
  • Tracker authentication support
  • Connection through a proxy

How to Install KTorrent Snap in Ubuntu 18.04 & Higher:

Open Ubuntu Software and search for ktorrent. There will be two packages available:

  • KTorrent snap maintained by KDE.
  • Stock KTorrent package offered by Ubuntu.

For Ubuntu 16.04, run following command in terminal (Ctrl+Alt+T) to install snapd first.

sudo apt-get install snapd

Then install the KTorrent snap package via command (it’s in --candidate channel at the moment):

snap install ktorrent --candidate

The snap package co-exists with stock Ubuntu package, you’ll see two KTorrent icons in application menu if both installed.

(Optional) To remove the snap package, run command in terminal:

sudo snap remove ktorrent

Wine Stable

The new development release Wine 4.9 was released today. Here’s how to install it in Ubuntu 18.04, Ubuntu 18.10, and Ubuntu 19.04.

Wine 4.9 release highlights:

  • Initial support for installing Plug and Play drivers.
  • Support for building 16-bit modules in PE format.
  • A lot of code moved to the new KernelBase DLL.
  • Various game controller fixes.
  • Use higher performance system clocks if available.
  • Various bug fixes.

How to Install Wine 4.9 in Ubuntu:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app menu. When it opens, run following commands to download and install the key:

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

Type user password (no asterisk feedback) when it prompts and hit Enter.

2. Then add Wine repository for Ubuntu 19.04:

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

For other Ubuntu releases, replace disco in the code with:

  • bionic for Ubuntu 18.04, Linux Mint 19.x
  • cosmic for Ubuntu 18.10.
  • xenial for Ubuntu 16.04, Linux Mint 18.x

3. Install unmet dependence: faudio

The wine devel package requires libfaudio0 library which is not available in Ubuntu repositories.

As a workaround, run command to add the third-party PPA, which offers the packages for Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04.

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

4. Finally run command to install Wine 4.9, which will automatically install the required libfaudio0 libraries.

sudo apt install --install-recommends winehq-devel

Once installed, run winecfg to bring up the configuration window and check Wine version.

Uninstall:

Open Software & Updates and navigate to Other Software tab. Then remove the PPA, and Wine apt repository lines.

To remove Wine devel package, run command:

sudo apt remove --auto-remove winehq-devel

For those who want to manually create desktop shortcut launcher in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, Arronax is a good choice with graphical user interface.

Other than creating .desktop file via Linux command, Arronax offers a graphical interface to create (and also edit) desktop shortcut for application, executable file, or URL.

Arronax features:

  • Nautilus, Nemo and Caja integration. Right-click file to create or edit launcher.
  • Drag & drop support to select icon, file, etc.
  • MIME types, keywords, and Quicklist support.

How to Install Arronax in Ubuntu:

For Ubuntu 16.04, Ubuntu 18.04, and higher, open terminal either via Ctrl+Alt+T or from application menu, and run following commands one by one.

1. Run command to add the software PPA:

sudo add-apt-repository ppa:diesch/stable

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. Then install the tool as well as file manager integration via command:

sudo apt update

sudo apt install arronax arronax-*

You may replace arronax-* with arronax-nautilus, arronax-nemo, arronax-caja depends your system default file manager.

Once installed, either launch Arronax via system application menu, or by right-clicking on executable file in browser.

Uninstall:

To remove the software, open terminal and run command:

sudo apt remove --auto-remove arronax

And remove the PPA via Software & Updates -> Other Software tab.

DVDStyler 3.0.4

Open source DVD authoring tool DVDStyler 3.1 was released a day ago with enhancements. Here’s how to install it in Ubuntu 19.04, Ubuntu 18.10, Ubuntu 18.04, Ubuntu 16.04, and their derivatives.

DVDStyler 3.1 release highlights:

  • Added some new buttons (movie, settings, etc.)
  • Added possibility to create a new button from SVG file
  • Added possibility to edit buttons
  • Added frame-text button and template
  • Fixed functionality of command “call last menu;” if specified for a chapter
  • Added support of HD videos (experimental, can be activated in settings)
  • Fix compiling issue with FFmpeg 4.
  • Many other bug-fixes.

How to Install DVDStyler 3.1 in Ubuntu:

NOTE for Ubuntu 16.04! System default FFMPEG library is old for DVDStyler 3.1.

Ubuntu 16.04 users have to run command to add the PPA that contains FFMPEG 4 libraries.

sudo add-apt-repository ppa:jonathonf/ffmpeg-4

DO NOT do following steps if you want to keep Ubuntu default FFmpeg libraries in Ubuntu 16.04

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app menu. When it opens, do following steps one by one to install DVDStyler from the unofficial PPA:

1. To add the PPA, run command:

sudo add-apt-repository ppa:ubuntuhandbook1/dvdstyler

Type user password (no asterisk feedback due to security reason) when it asks and hit Enter to continue.

DVDStyler PPA

2. After that, either search for and install dvdstyler via Synaptic (or other) Package Manager, or run the commands one by one in terminal to update and install the tool:

sudo apt update

sudo apt install dvdstyler

With the PPA repository added, you can receive future updates via Software Updater once a new release is out and made into PPA.

upgrade DVDStyler

How to Uninstall:

To remove DVDStyler, either use Synaptic Package Manager or run the command below in terminal:

sudo apt remove --auto-remove dvdstyler dvdstyler-data

And the PPA can be removed by going to System Settings -> Software & Updates -> Other Software tab.

Full featured LaTeX editor TexStudio 2.12.16 was released a few hours ago. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, and their derivatives.

TexStudio 2.12.16 is a small release with only bug-fixex, including some fixes for tool-tip preview by MeanSquaredError.

How to Install TexStudio 2.12.16 in Ubuntu:

There’s a PPA repository that contains the latest packages for all current Ubuntu releases and derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from software launcher. When it opens, run command:

sudo add-apt-repository ppa:sunderme/texstudio

Type user password (no asterisk feedback) from sudo prompt and hit Enter to add the PPA.

2. If an old version was installed in your system, remove the texstudio-doc, texstudio-l10n (if any) package before upgrading the software:

sudo apt-get remove texstudio-doc texstudio-l10n

3. After adding the PPA, you can either upgrade the editor via Software Updater:

or run commands in terminal to install or upgrade the software:

sudo apt-get update && sudo apt-get install texstudio

Uninstall:

To remove the LaTeX editor, run command in terminal:

sudo apt-get remove --autoremove texstudio

And go to Software & Updates -> Other Software to remove PPA repositories.