How To Install The Kodi Media Center On Linux

Did you know that you can install the Kodi Media Center on Linux? Yes, as it turns out, most Linux distributions have an easy way to get Kodi working right away. If you don’t have a Raspberry Pi or other TV-connected device, but want to enjoy your local media on Kodi, you’re in luck.

In this guide, we’ll go over how to install Kodi on all of the popular Linux distributions. Additionally, we’ll go over how to ensure that Kodi stays up to date!

Note: in order to use Kodi on Linux you need Ubuntu, Debian, Arch Linux, Fedora or OpenSUSE. If you do not use one of these Linux distributions, please check with your distribution’s documentation or the Kodi website for more information.

Ubuntu

Users can install Kodi on Ubuntu quite easily, as it’s in the included software sources. In the terminal, use the following apt command to get it going.

sudo apt install kodi

Getting Kodi on Ubuntu is easy, but due to the nature of software and how it’s released on Ubuntu, it’s not as up to date as many would like. If you’re an Ubuntu user looking to get the Kodi Media Center, it may be a good idea to enable the third-party PPA. Doing this will allow you to get updates directly from Kodi developers, quicker than Ubuntu proper. To enable this PPA, enter the following commands in the terminal.

First, you’ll need to remove a few packages installed by Ubuntu, as in later versions of Kodi, Ubuntu builds the program themselves. The PPA version of Kodi doesn’t have these packages so keeping them would break things.

sudo apt remove kodi kodi-bin kodi-data

Next, choose the version of Kodi you’d like. For the unstable build, try:

sudo add-apt-repository ppa:team-xbmc/unstable

Alternatively, if you’d prefer Kodi be up to date, but stable, add this PPA:

sudo add-apt-repository ppa:team-xbmc/ppa

Next, update Ubuntu so that it can see the new Kodi PPA.

sudo apt update

Install any pending system updates on your Linux PC with an upgrade.

sudo apt upgrade -y

Lastly, re-install Kodi:

sudo apt install kodi

Debian

Debian carries Kodi in their software sources, though it tends to be a bit out of date. If you don’t mind what version it is, you can easily install it by entering the following command into the terminal:

sudo apt-get install kodi

Users wanting newer Kodi features on Debian will need to get Kodi via the official software sources. To add these sources, you’ll need to edit /etc/apt/sources.list. Using the echo commands, add the Backports repo to your Debian PC.

Note: using an older version of Debian? Change “stretch-backports” to your version of Debian. Otherwise, upgrade to Stretch before continuing.

su -

echo '# kodi repos' >> /etc/apt/sources.list

echo '# starting with debian jessie, debian provides kodi via its backports repository' >> /etc/apt/sources.list

echo '# remember: those packages are not supported by team kodi' >> /etc/apt/sources.list

echo 'deb http://http.debian.net/debian stretch-backports main' >> /etc/apt/sources.list

With the new Backports repo added, run the update command to make Debian aware of the changes.

sudo apt update

Install any pending software updates with the upgrade tool.

sudo apt upgrade -y

Lastly, install Kodi, if you don’t have it already.

sudo apt install kodi

Arch Linux

Arch Linux is known for very up-to-date software, as soon as it’s available. This means if you’re looking to use Kodi on Arch, there shouldn’t be an issue keeping it current. To install it on your Arch Linux PC, open up a terminal window and sync it with Pacman.

sudo pacman -S kodi

Fedora

Kodi isn’t available on Fedora Linux by default, for whatever reason. If you’re a Kodi fan, you’ll need to add the third-party software repositories to install it. Open up a terminal and use the dnf tool to add RPM Fusion.

Be sure to replace X in the commands below with your Fedora release number.

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-X.noarch.rpm -y

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-X.noarch.rpm -y

With RPM Fusion enabled, use the dnf package manager to get Kodi:

sudo dnf install kodi -y

OpenSUSE

OpenSUSE doesn’t have any official Kodi software repositories. If you’d like to use it on this operating system, you’ll have to stick with an unofficial software repository. To install Kodi on OpenSUSE open up a terminal and enter the following commands:

Leap 15.0

sudo zypper addrepo http://packman.inode.at/suse/openSUSE_Leap_15.0/ packman

Leap 42.3

sudo zypper addrepo http://packman.inode.at/suse/openSUSE_Leap_42.3/ packman

Tumbleweed

sudo zypper addrepo http://packman.inode.at/suse/openSUSE_Tumbleweed/ packman

Finally, after adding the Kodi repo, install the software via the Zypper package manager.

sudo zypper install kodi

Source Code

Running Kodi Media Center on Linux is a good idea, as it will give you superior performance for decoding media, and faster streaming speeds due to better network cards (as opposed to using a Raspberry Pi, or Kodi on Amazon Fire devices, etc).

If you’re using an obscure Linux distribution that doesn’t come with Kodi, don’t worry! There’s still a way to enjoy your media with this media center. The Kodi team has a stellar walkthrough on the official GitHub that outlines how to build Kodi from source. Check it out here!

Read How To Install The Kodi Media Center On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Enable Automatic Login To Kodi On Linux

Setting up a traditional Linux desktop environment to automatically launch Kodi is a lot better than using the special Kodi session that comes with the software. Enabling automatic login to Kodi has its benefits; for starters, you’re not stuck with just using Kodi. Want to browse the web? Simply minimize the media center and come back to it later.

Install XFCE4

If you’re looking to set up a media center computer with a traditional Linux distribution, you’ll need a desktop environment to start with. Generally, XFCE4 is a great choice as it’s lightweight, yet not too lightweight to the point where it has graphical issues.

Not using a Linux distribution with XFCE installed? You’ll need to manually install it and configure it. To do this, open up a terminal window and enter the commands that correspond with your Linux distribution.

Ubuntu

Ubuntu has several spins, including an XFCE one. For the best experience, it’s best to install the meta package for Xubuntu. This will convert a normal Ubuntu installation into a Xubuntu one.

sudo apt install xubuntu-desktop

Installing the Xubuntu desktop meta package will no doubt take awhile as there are many programs and configuration files to grab. Please be patient.

Not interested in using Xubuntu? Don’t worry, if you prefer a vanilla XFCE setup for your Kodi PC, try out this installation command instead:

sudo apt install xfce4*

Running this command will install all available XFCE4 packages in the Ubuntu repo without the need to specify every package.

Debian

Debian chooses XFCE4 as one of its main desktop environments for ISO releases, so there’s a good chance you may already be using it. However, if your Debian Kodi setup is using another desktop environment, you’ll need to manually install XFCE4. Do this in the package manager with apt.

sudo apt install xfce4*

Arch Linux

Arch users can quickly install the XFCE4 desktop environment by getting the XFCE4 meta package.

sudo pacman -S xfce4

Fedora

If you’re building a Fedora-powered Kodi PC, it’s a good idea to grab the Fedora XFCE4 spin as a starting point. If not, use this command to install a complete environment on Fedora Linux.

sudo dnf install @xfce-desktop-environment

OpenSUSE

OpenSUSE mainly lets users go with Gnome Shell or KDE 5, so the chances that XFCE4 is installed aren’t great. As a result, you’ll need to get it manually. Open up a terminal and use the Zypper package manager to get it working.

sudo zypper -n in patterns-openSUSE-xfce

Other Linuxes

XFCE4 is one of the most popular lightweight desktop environments in all of Linux. There shouldn’t be any trouble finding it on even the most obscure of Linux distributions. To install it, just search “XFCE4” in the package manager. Alternatively, check out the official website to learn how to get it.

Autostarting Kodi

The first step in automatically starting Kodi is logging into your new XFCE4 installation. Click “log out” in your current desktop environment to go to the login screen. On the login screen, look for “session,”  and click on it. Under the sessions menu, look for “XFCE,” “XFCE4,” “Xubuntu,” etc.

Now that the new session is selected, click on your username and login. If the XFCE4 desktop environment was installed on your Linux PC correctly, you’ll be able to use XFCE4.

Inside XFCE, look for “settings” and open it. Inside the settings area, find “Sessions and Startup” and select it.

The Sessions and Startup area allows users to modify what programs automatically launch when the XFCE desktop starts. To ensure that Kodi does this when the PC is logged in, select the “Application Autostart” tab in the Sessions and Startup area.

To add Kodi as a startup entry for XFCE, click the “Add” button. Clicking “Add” brings up a blank “Add application” window. In this window, fill out “Kodi” under the name section, “Kodi Autostart” under description, and “kodi” in the command area. When everything looks good, select “OK” to add it.

Restart your Linux PC. Next time you log into XFCE4 Kodi will launch right away!

Other Desktop Environments

If you’re not a fan of XFCE4 but still want to set up your Linux PC to automatically start Kodi, there’s a way. It starts off by opening up a terminal window. In the terminal, use the CD command to move to /usr/share/applications.

cd /usr/share/applications

From here, use the mkdir command to create the autostart directory.

Note: if you already have an autostart folder the command will fail.

mkdir ~/.config/autostart

Next, use the ls command to find the Kodi Media Center shortcut filename.

ls | grep kodi

Running ls with grep should reveal the name of the Kodi desktop shortcut. To finish up, copy this file to your ~/.config/autostart folder.

cp kodi.desktop ~/.config/autostart

Read How To Enable Automatic Login To Kodi On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Access Your pCloud Drive On Linux

Value your privacy but need to get your data in the cloud? Check out pCloud! pCloud drive is a Dropbox-like Cloud storage service for Linux (and other operating systems) that puts privacy first and has impressive encryption technology, which is very welcome to the Linux community.

pCloud isn’t as well known as a lot of other services, and as a result, not many Linux users know how to get it going. That’s why in this guide we’ll go over how to access your pCloud drive on Linux.

Note: to use pCloud, you must be able to run BIN files with your user account.

Install pCloud

Getting the pCloud drive app on Linux is a little different than other cloud storage providers. Instead of getting a Debian package, Redhat RPM file, or a Tarball archive, you’re given a single binary file. This is good because it enables all Linux distributions to use it, though it means that nothing is actually installed. Instead, pCloud just runs as a file without installing.

To get pCloud, you first need to create a user account. Head over to the website and sign up. Note that pCloud has both premium and free storage. If you’d like more storage, upgrade your account to one of the premium options. Otherwise, create your free account and claim 10 GB free.

When your account is activated, find the download button and click it. Look for the Ubuntu logo and click it. This will bring you to the Linux download page. Select either 32-bit or 64-bit, then download the file. Then, open up a terminal window and use it to get pCloud setup.

As mentioned before, pCloud is a binary (aka BIN) file. On Linux, BIN files act similar to EXE files on Windows. To launch these files, you first need to update the permissions. Use the chmod command in the terminal to allow the pCloud BIN file to run as a program.

cd ~/Downloads
chmod +x pcloud

With the pCloud BIN file set to proper permissions, it’ll run. However, running this file in the ~/Downloads directory is a very bad idea, as users often delete files from here without thinking. Instead, use the mkdir command to create a special folder for pCloud.

mkdir -p ~/bin-files/

Move the pCloud binary from your ~/Downloads folder to the new bin-files directory in Home.

mv pcloud ~/bin-files/

From here, it’s safe to launch the pCloud app through a terminal, for setup purposes. Launch the app with the following command:

cd ~/bin-files/

./pcloud

Before pCloud starts, you will be prompted to log into your account. Enter your sign in details, or click the “Continue with Facebook” button to access the app. With a successful sign-in, the pCloud app will start up, create a new pCloud folder in ~/, and open it in your default file manager.

We can confirm the app works, but it’s not ready for use, as we need to create a new desktop shortcut.

To create a new desktop shortcut for pCloud, you first need to close the app. Quickly quit pCloud by clicking “exit” on the icon to close it. Then return to the terminal window and use the touch command to make a new pCloud shortcut file.

touch ~/Desktop/pcloud.desktop

Using touch creates a blank shortcut. Next, it’s time to edit the shortcut with Nano.

Note: when running pCloud, it may create its own shortcut. However, this shortcut doesn’t always work so we recommend making your own instead.

nano ~/Desktop/pcloud.desktop

Inside the Nano text editor, paste the following code. Be sure to change “username” to your PC’s username.

[Desktop Entry]
Type=Application
Name=pCloud
Exec=/home/username/bin-files/pcloud
Icon=/home/username/bin-files/pcloud-icon.png
Terminal=false
Categories=Network;System;
StartupNotify=false

Save the editor by pressing the Ctrl + O keyboard combo, and exit with Ctrl + X. Then, use the wget download tool to get the icon for your shortcut.

cd ~/bin-files/

wget https://i.imgur.com/8Ti5LJg.png -O pcloud-icon.png

With the icon file downloaded, update the permissions of the shortcut.

sudo chmod +x ~/Desktop/pcloud.desktop

After running chmod, pCloud will run directly from the desktop. Run it by double-clicking on the shortcut.

Install Shortcut

The pCloud desktop shortcut is ready and works but it’s not showing up in the application launcher menu. To solve this problem, you need to manually copy the shortcut to /usr/share/applications. In the terminal, run the following command to copy the pCloud shortcut from ~/Desktop to the app directory.

sudo cp ~/Desktop/pcloud.desktop /usr/share/applications/

If the cp command is successful, pCloud should show up in your application menu like any other application.

Using pCloud Drive

Using pCloud on Linux works much like other cloud storage syncing tools (Dropbox, etc) on Linux. To upload files to your account, open up the file manager. Select the “pCloud” folder and open it. In this folder, place any documents, image files, audio files, video files inside. As you place the files in this directory, the pCloud app running in the background will automatically upload them to your account online.

Need to delete a file? Delete it from the ~/pCloud folder and it will de-sync from the cloud.

Read How To Access Your pCloud Drive On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Install SuperTuxKart On Linux

There are many excellent free games on Linux. One of the best ones out there is SuperTuxKart. It’s a cartoonish kart racing game similar to games like Mario Kart. The game is completely free, and open source. Best of all, it’s available for installation on the Linux platform completely free! In this guide, we’ll go over exactly how to get it working on your distribution of choice.

Ubuntu

Ubuntu users looking to play SuperTuxKart can find it in the Software Center. To install it, open up the Ubuntu Software Center and search for “Super Tux Kart”. It’ll show up in the search results. Click on it in the search results to go to the game’s installation page. Once there, click “Install”. Selecting the “Install” button will automatically bring up an “enter password” prompt. Enter your username’s password and the installation will begin.

Note: if you can’t find “Super Tux Kart” in the software center, you’ll need to enable the Ubuntu Universe repository. Search for “Software & updates” in the dash and enable it in the “repositories” section, or follow the command instructions below.

Alternatively, it’s possible to install SuperTuxKart on Ubuntu via the apt command. To start the installation via the command line, open up a terminal and enter the following commands.

First, enable the Universe repository, where the game is hosted.

sudo add-apt-repository universe

Next, update Ubuntu so that the Universe repository is accessible to the system.

sudo apt update

After running the update, install any upgrades to ensure your Ubuntu PC is up to date.

sudo apt upgrade -y

Lastly, install SuperTuxKart with:

sudo apt install supertuxkart

Debian

On Debian and interested in playing SuperTuxKart? Lucky for you, all Debian versions support it. There is no need to enable alternative software repositories. To get the game, open up a terminal and use the apt-get command to install the game.

sudo apt-get install supertuxkart

Arch Linux

Arch Linux is known for having very up to date programs. As a result, those looking to play SuperTuxKart will be happy to know that Arch has a very recent version of the game, complete with new levels, characters and etc. To install it, be sure that you’ve enabled the Community software source inside of /etc/pacman.conf. Once enabled, refresh the repos and install the game!

sudo pacman -Syy

sudo pacman -S supertuxkart

Fedora

Fedora isn’t known for video games, as it’s more of a “Workstation” distribution. Despite this, it’s possible to install a fairly recent version of the game. Like Arch Linux and Debian, Fedora users won’t need to enable any software repositories. Instead, open up Gnome Software, search for “Super Tux Kart”, and click the “install” button to get going.

Alternatively, open up a terminal and use the DNF package management tool to install it:

sudo dnf install supertuxkart -y

OpenSUSE

All versions of OpenSUSE have recent versions of SuperTuxKart available. Unfortunately, you’ll need to enable a third-party repo to get the latest version working.

Leap 15.0

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Leap_15.0/ opensuse-games

sudo zypper in supertuxkart

Leap 42.3

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Leap_42.3/ opensuse-games

sudo zypper in supertuxkart

Tumbleweed

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/games/openSUSE_Tumbleweed/ opensuse-games

sudo zypper in supertuxkart

Generic Instructions

Many Linux distributions have support for SuperTuxKart, as it’s a great way to bring games to their operating system. Still, if you find yourself on a Linux distro that doesn’t have an immediate way of installing the latest version of the game, there’s another way to get it.  Open up a terminal and use the Wget tool to download the game files.

wget https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.9.3/supertuxkart-0.9.3-linux.tar.xz/download -O supertuxkart-0.9.3-linux.tar.xz

This is a large game, so wget is going to run for a while. When it completes, move the compressed archive to /home/username/. Keeping extracted game files in ~/Downloads is a great way to accidentally delete them!

mv supertuxkart-0.9.3-linux.tar.xz ~/

Once the game files are in your Home directory, it’s safe to extract the contents of the archive. Using the Tar command, begin the extraction.

tar -xvJf supertuxkart-0.9.3-linux.tar.xz

Next, use the cp command to move the included shortcut to the Desktop.

cp ~/supertuxkart-0.9.3-linux/data/supertuxkart.desktop ~/Desktop

Edit the shortcut with Nano.

nano ~/Desktop/supertuxkart.desktop

Find “Exec=supertuxkart”, and change it to the following.

Note: be sure to change “username” to your PC’s username.

Exec=sh /home/username/supertuxkart-0.9.3-linux/run_game.sh

Save the edits with Ctrl + O, and exit Nano with Ctrl + X.

Install To App Menu

Looking to get SuperTuxKart on your desktop environment’s application menu? Do the following:

cd ~/Desktop
sudo chmod +x supertuxkart.desktop
sudo cp supertuxkart.desktop /usr/share/applications/

Read How To Install SuperTuxKart On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Install Calligra Office Suite On Linux

If you’re on Linux and you want a more substantial office suite than Libre Office has to offer, Calligra Office Suite is the answer. It’s a fully-featured Office/Graphical design suite, with excellent tools for many different tasks.

Calligra comes with a lot of different apps, like Words for documents, the Karbon vector graphics tool, a database editor, presentation maker, a tool for spreadsheets, and more.

Install Calligra Office Suite

To install the Calligra Office suite, you need to be running Ubuntu, Debian, Arch Linux, Fedora, OpenSUSE, Gentoo or a Linux distribution that has access to the latest KDE Plasma packages and tools.

Ubuntu

Calligra is readily available for installation on the Ubuntu Linux operating system through traditional methods. To get it, open up Ubuntu Software Center or KDE Discover, search for “Calligra” and install it. Alternatively, go to a terminal window and enter the following command to get it going.

sudo apt install calligra

Calligra Unstable

For most people on Ubuntu, the version of Calligra that comes in the software center is good enough. However, if you can’t wait for new features, this version probably isn’t good enough. Luckily, it’s very easy to get a more up to date version of Calligra on Ubuntu through a PPA.

The unstable Calligra PPA is usually reserved for KDE Neon, a Linux distribution that uses Ubuntu as a base. That said, any Ubuntu user can use this PPA to get a newer version of Calligra Office just fine. To add the PPA, open up a terminal and do the following command:

sudo add-apt-repository ppa:neon/ppa

After adding the Neon PPA to Ubuntu, you need to run the update command on Ubuntu. Doing this will refresh your PC’s package cache, and allow Ubuntu to see newer versions of software in its sources.

sudo apt update

Using this PPA on Ubuntu requires the user to install a few KDE Neon tools. Installing these tools are critical and will help the Calligra Office tool run correctly. Install the KDE Neon tools to your PC with apt.

sudo apt-get install project-neon-base

The Project Neon base package installation may take a bit of time, so be patient. When it completes, install the unstable version of Calligra to finish out the process.

sudo apt install project-neon-calligra project-neon-calligra-dbg

When everything finishes installing, log out of your current Ubuntu session. At the login menu, choose the “Project Neon” option and log back in to run Calligra unstable.

Debian

Debian users can access a stable version of Calligra on Debian 9 Stretch (Stable). To install it, open up the terminal and use the apt-get commands to get it going.

sudo apt-get install calligra

Calligra Unstable

Most Debian users can use Calligra, but the version of it in Debian 9 is a bit dated. An alternative is to install the unstable version by enabling the Testing repo in Debian.

Note: only enable Testing in Debian if you understand how to fix things that go wrong!

To start off, enable Testing in your /etc/apt/sources.list file.

su -
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list

Next, run the update command so that Debian can access the new testing Repo.

sudo apt-get update

After running the update, uninstall Calligra from Debian, as you’re using the old packages.

sudo apt-get remove calligra

Lastly, install the newer version of Calligra:

sudo apt-get -t testing install calligra

Arch Linux

Arch Linux is known for always having up to date software and it has a very current version of the Calligra office suite in its software sources. To get it on your Arch PC, simply use the Pacman package manager to sync it.

sudo pacman -S calligra

Alternatively, if you’re having problems with the main Calligra package, there are versions of the office suite in the Arch Linux AUR available for compilation.

Fedora

Fedora, like Arch Linux, is very up to date. It regularly receives the latest packages, so getting a fairly recent version of Calligra doesn’t take any hard work at all. To install, open up a terminal and use DNF to install the software.

sudo dnf install calligra -y

OpenSUSE

On OpenSUSE, getting a newer version of Calligra is a little harder due to the fact that certain versions of the OS don’t center around new software. Instead, the focus is rock-solid stability, and that means sometimes programs aren’t as recent. To get a new version of Calligra on OpenSUSE Leap, add the following software repository:

Leap 15.0

sudo zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_15.0/ opensuse-kde-extra

Leap 42.3

sudo  zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/KDE:/Extra/openSUSE_Leap_42.3/ opensuse-kde-extra

Next, install Calligra with:

sudo zypper install calligra

Tumbleweed

OpenSUSE is a unique OS in that one version of its distribution (LEAP) focuses on stability, while another version focuses on the absolute latest software. If you’re an OpenSUSE Tumbleweed user, getting an up to date version of Calligra should be no problem with Zypper.

sudo zypper install calligra

Other Linuxes

Calligra is the official Office Suite for the KDE Plasma desktop. As a result, you can find it pretty much everywhere. If you’re interested in installing Calligra, but you can’t find the instructions related to your distribution, consider checking Pkgs.org. Alternatively, read the website, as they may have information specific to you.

Read How To Install Calligra Office Suite On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter