How to install Gnome 40 on Linux early

The next generation of the Gnome Shell desktop is here, and it is called Gnome 40 (AKA Gnome 4.0). It comes with a completely redesigned desktop that Linux geeks are sure to love. In this guide, we’ll show you how to try it out early, before it’s released into the wild.

Gnome 40 on Linux

Method 1 – Install Fedora 34 Beta

The easiest way to get up and going with the new Gnome 40 desktop environment is to install the Fedora 34 Beta. The beta has a pre-configured Gnome Shell 40 desktop, and users don’t need to do any special setup to use it.

To get started with Fedora 34 Beta, head over the official Fedora website. Once on the website, find the “Download Now” button under the “Fedora Workstation section of the website and click on it.

After selecting the “Download Now” button with the mouse, you’ll be taken to the Fedora Workstation download page. Look for the “Download” button next to “Fedora 34: x86_64 DVD ISO” and select it to start the download.

Once the Fedora 34: x86_64 DVD ISO file is done downloading, you will need to create a bootable install USB. To do this, please follow our guide on how to create a Linux install USB.

When you’ve created your Fedora 34 Beta install USB, plug it into the PC you plan to use Fedora 34 Beta on, and reboot it into the BIOS. From there, configure it to boot from the Fedora 34 Beta USB.

Once your PC boots up the Fedora 34 Beta USB, follow the step-by-step instructions below to get Gnome 40 working!

Step 1: Locate the “Install” to Hard Drive button and click on it with the mouse to start up the installation process for Fedora 34 Beta.

Step 2: Upon clicking on the install button, the Fedora Anaconda installer will appear. Using your mouse, select the language you speak in the menu. Then, click “Continue.”

Step 3: Find the “Installation Destination” button, and click on it with the mouse. Then, select the hard drive you wish to install Fedora 34 to and click on “Automatic.”

Only select “Custom” or “Advanced” if you are a Fedora veteran and know what you’re doing!  Click on the “Done” button when you’re done.

Step 4: After clicking on “Done,” the installer will show a window with the name “Installation” options. Select the “Reclaim” space button, then select “Delete all” to remove all existing partitions on the hard drive you are installing Fedora 34 Beta.

Click on “Reclaim space” when done.

Step 5: Find the “Begin Installation” and click on it to install Fedora 34 Beta to the hard drive. Keep in mind that this installation may take a bit of time to complete.

When the installation of Fedora 34 Beta is complete, reboot your PC. Upon rebooting, your new Fedora 34 Beta system will be up and running using the latest Gnome 40 desktop environment!

Method 2 – Arch Linux 

If you’re on Arch Linux, you’ll be able to test drive Gnome Shell 40 right now. All that is required is enabling the “gnome unstable” software repository. To start, open up a terminal window. 

Once a terminal window is open on the Arch Linux desktop, launch the /etc/pacman.conf file in the Nano text editor.

Note: in this guide, we’re using the Nano text editor, as it is the easiest to use. Feel free to use another editor if you so choose.

sudo nano -w /etc/pacman.conf

In the Nano text editor, make your way to the [multilib] section of the file. Once there, find Include = /etc/pacman.d/mirrorlist directly below [multilib] and press the Enter key to create a new line.

On the new line directly below Include = /etc/pacman.d/mirrorlist, write out the following code. 

[gnome-unstable]
Include = /etc/pacman.d/mirrorlist

After writing out the new code into the /etc/pacman.conf file, press the Ctrl + O button to save your edits in Nano. Then, press the Ctrl + X button to close the editor entirely.

Once the editor is closed, you must re-sync Pacman. To resync, enter the following command.

sudo pacman -Syy

Now that Pacman is resynced, the installation of Gnome 40 on Arch Linux can begin. To start, install the “gnome” package group.

sudo pacman -S gnome-unstable/gnome

Next, install the gdm package, which is used for logging into Gnome 40. Using the Pacman command below, install it.

sudo pacman -S gnome-unstable/gdm

Following the gdm package, you’ll need to install the “gnome-extra” package group. To do that, enter the command below.

sudo pacman -S gnome-unstable/gnome-extra

Once all packages are installed, re-open the Nano text editor with the command below.

sudo nano -w /etc/pacman.conf

Inside of Nano, find IgnorePkg=” remove the “#” from in front of it. Then, paste the code below after IgnorePkg = .

evolution evolution-data-server gdm gnome-calendar gnome-clocks gnome-contacts gnome-control-center gnome-session gnome-settings-daemon gnome-shell gnome-shell-extensions gnome-todo gnome-weather mutter

Save the edits by pressing Ctrl + O, and exit Nano with Ctrl + X. To re-enable upgrading, place a # symbol in front of IgnorePkg= in /etc/pacman.conf and save.

The post How to install Gnome 40 on Linux early appeared first on AddictiveTips.

How to install DBeaver MySQL client on Ubuntu

DBeaver is a sophisticated SQL client software management tool and database administration tool. It is open source and works on all platforms, including Linux. In this guide, we’ll show you how to install the DBeaver program on Ubuntu.

DBeaver MySQL client on Ubuntu

How to install DBeaver MySQL client on Ubuntu – Terminal (Apt)

The DBeaver application is installable on Ubuntu via the Apt package manager, which is a terminal application. To get the DBeaver MySQL client working on your Ubuntu system, do the following.

First, open up a terminal window on the Ubuntu desktop. You can open up a terminal window on the Ubuntu desktop by pressing Ctrl + Alt + T on the keyboard. Once it is open, use the wget downloader command to grab the latest Ubuntu DEB package of DBeaver.

wget https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb

After downloading the latest DBeaver, you must set up Java on your Ubuntu PC. The DEB package release of DBeaver doesn’t come bundled with Java, so you will need to install it yourself. Using the Apt install command below, get OpenJDK 11 working.

sudo apt install openjdk-11-jre openjdk-11-jdk -y

Once Java is set up, use the CD command to move the terminal window into the “Downloads” directory where the DBeaver DEB package is on your computer. 

cd ~/Downloads

Inside of the “Downloads” folder, make use of the Apt install command to install the DEB package of DBeaver onto your Ubuntu Linux system. 

sudo apt install ./dbeaver-ce_21.0.0_amd64.deb

Upon entering the apt install command above, Ubuntu will collect all related dependencies for DBeaver required for the program to install correctly and list them out. It’ll then ask for you to press Y to continue. Do so.

Once you’ve pressed the Y button, Ubuntu will begin installing DBeaver on your Ubuntu Linux PC. It should be quick. When the installation is complete, you’ll see “DBeaver” in your app menu!

How to install DBeaver MySQL client on Ubuntu – Terminal (Snap Package)

The DBeaver application is available to Ubuntu users via a DEB package. That’s great, as that means it works on most Ubuntu Linux operating systems and even ones based on Ubuntu. However, the installation for it isn’t always seamless.

If you’d prefer to install the DBeaver app on your Ubuntu PC via a Snap package, you’ll be happy to know that the app developers have submitted it to the Snap store. 

To start installing DBeaver on your Ubuntu PC via a Snap package, you must open up a terminal window on the Ubuntu desktop. To open up the terminal, press Ctrl + Alt + T on the keyboard. Alternatively, search for “Terminal” in the app menu.

Once the terminal window is open and ready to use, enter the snap install command below.

sudo snap install dbeaver-ce

Upon typing out snap install, the Ubuntu Snap Store will install DBeaver to your system. When the process is complete, search for “DBeaver” in your app menu to use the app!

How to install DBeaver MySQL client on Ubuntu – Terminal (Flatpak)

The DBeaver MySQL client is available as a Flatpak package, in addition to a Snap package. So, if you want to install the DBeaver app on your Ubuntu PC but don’t want to deal with the DEB installation method or Snap, here’s what to do.

First, open up a terminal window on the Ubuntu desktop. To open up a terminal window, press the Ctrl + Alt + T button on the keyboard. Alternatively, launch a terminal window by searching for “Terminal” in the app menu.

With the terminal window open and ready to go, follow our guide on setting up the Flatpak runtime. This runtime is required to install Flatpak packages, and without it, the Flatpak release of DBeaver will not work.

After setting up the Flatpak runtime, you must configure the Flathub app store. Flathub is where 90% of all Flatpak packages are distributed, including the DBeaver app. To enable the Flathub app store, use the following flatpak remote-add command.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Once the Flathub app store is enabled on your Linux PC, you can install the DBeaver application on your Ubuntu PC. To install it, make use of the following flatpak install command below.

flatpak install flathub io.dbeaver.DBeaverCommunity

Flatpak DBeaver addons

In addition to the DBeaver application, Flathub also distributes PostgreSQL and MariaDB addons. If you would like to install these add-ons in addition to the DBeaver application on Ubuntu through Flatpak, you can.

To install the PostgreSQL add-on to DBeaver via Flatpak, use the following flatpak install command below.

sudo flatpak install io.dbeaver.DBeaverCommunity.Client.pgsql 

To install the MariaDB addon to DBeaver via Flatpak, enter the following flatpak install command.

sudo flatpak install io.dbeaver.DBeaverCommunity.Client.mariadb

The post How to install DBeaver MySQL client on Ubuntu appeared first on AddictiveTips.

How to play Valheim on Linux

Valheim is an early access survival and sandbox video game by Swedish developer Iron Gate Studio. In the game, players are Vikings and have to craft tools and survive. The game works on Linux reasonably well. Here’s how to set it up on your system.

Valheim on Linux

Valheim on Linux

Valheim is native to Linux, but it only works with the help of Steam for Linux. So, we must go over how to install the Linux version of Steam on your computer. 

Install Steam

To start installing Steam on your Linux PC, open up a terminal window on the desktop. To open up a terminal window on your Linux desktop, press the Ctrl + Alt + T keyboard combination. Or, search for “Terminal” in the app menu and open it that way.

Once the terminal window is open, follow along with the installation instructions outlined below that correspond with the Linux OS you currently use.

Ubuntu

On Ubuntu, the Steam application can be installed via the apt install command. To get the app working on your system, enter the command below.

sudo apt install steam

Debian

On Debian Linux, the Steam application is supported via their “Non-free” software repository. However, it’s easier to get the app working on your computer by manually downloading the Steam DEB package.

To download the Steam DEB package, make use of the following wget command.

wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb

After downloading the Steam DEB package to your computer, the installation of Steam can begin. Using the dpkg command below, install Steam.

sudo dpkg -i steam.deb

Once the Steam DEB package is installed onto your computer, you’ll need to correct any dependency issues that may have arisen during the installation. To fix this issue, execute the following Apt-get install -f command.

sudo apt-get install -f

Arch Linux

On Arch Linux, the Steam app is available to all users, provided they have the “multilib” software repository enabled. To enable it on your computer, open up the Pacman configuration file, enable “Multilib,” resync pacman with pacman -Syyu, and install Steam with the command below.

sudo pacman -S steam

Fedora/OpenSUSE

On Fedora and OpenSUSE, it is possible to get the Steam app working through included software repositories. However, these versions of the app don’t work very well. For this reason, we suggest installing the Flatpak release instead.

Flatpak

Steam is available as a Flatpak package on Flathub. To get it working on your computer, you must first install the Flatpak runtime. To install the runtime on your computer, follow along with this guide on the subject.

After setting up the Flatpak runtime on your computer, you’ll need to set up the Flathub app store. To set up the app store, enter the command below.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now that the Flathub app store is set up on your computer, the installation of Steam can begin using the command below.

flatpak install flathub com.valvesoftware.Steam

Native setup

Playing Valheim natively on Linux is relatively easy. To set up the game on your system, follow the step-by-step instructions below.

Step 1: Launch Steam on your computer by searching for “Steam” in the app menu. Once the app is open, enter your user credentials and log in. When you’ve logged in, find the “STORE” button at the top of Steam. 

By selecting the “STORE” button, you’ll be brought to the Steam Storefront page. 

Step 2: On the Steam Storefront page, locate the search button and click on it with the mouse to access the search function. From there, type in “Valheim” and press the enter key to view the results.

The results click on the item that says “Valheim” to navigate to the Steam page for Valheim. Once on the Valheim Steam page, locate the green “Add to cart” button and click on it to purchase the game.

Be warned that Valheim, although very fun, is an early-access game. Early-access means that there are bugs that may occur while playing. 

Step 3: Find the “LIBRARY” button at the top of Steam and click it to head over to your Steam library. Once in the Steam library area, find “Valheim” and click on it. Then, select the blue “INSTALL” button to download and install the game on your computer.

Step 4: When Valheim is downloaded and installed, the blue “INSTALL” button will become a green “PLAY” button. Click on it to play the game!

Proton setup

Valheim is native to Linux, so there is no need to play it with Valve’s Steam Play and Proton. If you have issues playing the game with the native release, this is an alternative option. 

To set up Valheim via Proton, please check out our in-depth guide on Steam Play.

The post How to play Valheim on Linux appeared first on AddictiveTips.

How to upgrade Debian distros [Guide]

Are you using Debian and want to upgrade it to other releases like Testing, Unstable, or even Experimental, but don’t know how? We can help! Follow along as we show you how to upgrade Debian distros!

upgrade Debian distros

How to upgrade Debian distros – upgrade to Testing

One of the best things about Debian is that users can choose what type of Debian release they like. Want newer packages? Upgrade Debian Stable to Debian Testing.

If you’d like to upgrade your release of Debian Stable to Debian Testing, start by opening up a terminal window. To open up a terminal window on the Debian desktop, press Ctrl + Alt + T or search for “Terminal” in the app menu.

Once the terminal window is open, use the sed command below to change over your software sources from “Stable” or “Buster” (Debian 10, the current stable release codename as of writing this) to the “Testing” codename.

sudo sed -i 's/stable/testing/g' /etc/apt/sources.list

If you have “buster” in your /etc/apt/sources.list instead of “stable,” execute the command below instead.

sudo sed -i 's/buster/testing/g' /etc/apt/sources.list

When you’ve finished changing over software sources in the /etc/apt/sources.list file, you’ll need to open up the file for editing purposes. Using the nano command below, open up the file.

sudo nano -w /etc/apt/sources.list 

Inside of Nano, locate deb http://deb.debian.org/debian/ testing-updates and delete that entire line of code. There’s no “testing” repo for security updates on Debian, but the sed command creates this line when replacing “stable” or “buster” with “testing.” Be sure also to delete deb-src http://deb.debian.org/debian/ testing-updates

After shutting off the security updates repo, save by pressing Ctrl + O and exit with Ctrl + X. Once outside of Nano, enter the commands below in succession to upgrade to Debian Testing.

sudo apt update 

sudo apt upgrade -y

sudo apt dist-upgrade -y

sudo reboot

How to upgrade Debian distros – upgrade to Unstable

If Debian Testing isn’t enough for you, you can always upgrade your Debian system to Debian Unstable. Unstable is where active Debian development occurs. Packages are updated frequently, and things are on the bleeding edge. 

Debian Unstable is an excellent distribution if you like Debian but find even Debian Testing’s packages a bit out of date. Upgrading to this version will allow you to always have the newest stuff on Debian. However, be warned, it’s not for beginners!

To upgrade from Debian Testing to Debian Unstable, open up a terminal window on the Debian desktop. To open up a terminal window, press Ctrl + Alt + T or search for “Terminal” in the app menu.

Once the terminal window is open, use the sed command to change your software sources list from “testing” to “unstable.” 

sudo sed -i 's/testing/unstable/g' /etc/apt/sources.list

Alternatively, If you’re coming straight from Debian Stable to Debian Unstable, you’ll need to do the following. First, change your software sources over by using sed.

sudo sed -i 's/stable/unstable/g' /etc/apt/sources.list

If you’re using “buster” in your /etc/apt/sources.list, rather than “stable,” execute:

sudo sed -i 's/buster/unstable/g' /etc/apt/sources.list

Next, if you plan to go straight from “Stable” to “Unstable,” open up /etc/apt/sources.list in Nano with the command below and delete both deb http://deb.debian.org/debian/ unstable-updates and deb-src http://deb.debian.org/debian/ unstable-updates. Save Nano with Ctrl + O, and close Nano with Ctrl +X when done editing.

Once all software channels are changed over to “Unstable,” upgrade your system to Debian Unstable by making use of the commands below.

sudo apt update 

sudo apt upgrade -y

sudo apt dist-upgrade -y

sudo reboot

How to upgrade Debian distros – Debian Experimental

Unlike Debian Testing and Debian Unstable, Debian Experimental isn’t a complete distribution. You can’t just convert your Debian Testing or Debian Unstable system into an entirely experimental release. However, you can install packages from the Experimental repo.

To gain access to the Debian Experimental repo, start by opening up a terminal window on the Debian Linux Desktop. Once the terminal window is open, open up your Debian sources list in the Nano text editor.

WARNING: Debian Experimental packages are in a pre-alpha state. They are incredibly unstable. Only use Debian Experimental if you are familiar with Debian and know how to fix it!

sudo nano -w /etc/apt/sources.list 

Inside the Nano text editor, add the following line of code. This line of code will enable you to access the Debian Experimental software repository. 

deb http://deb.debian.org/debian experimental main

After adding the line of code to your sources list in Debian, press the Ctrl + O keyboard combination to save the edits. Then, use the Ctrl + X button to exit the Nano editor.

Once you’ve closed the Nano text editor, type in sudo apt update in the terminal. This command will refresh Debian’s software sources and add the new “Experimental” packages to the package database.

sudo apt update

When everything is up to date, you’ll be able to install Debian Experimental packages by using the following command.

sudo apt -t experimental install packagename

The post How to upgrade Debian distros [Guide] appeared first on AddictiveTips.

How to install Anaconda on Ubuntu

Anaconda is a Python-based data science platform. It comes in various editions, is open source, and installable on most Linux operating systems. In this guide, we’ll show you how to get Anaconda up and running on Ubuntu.

install Anaconda on Ubuntu

Before we begin

In this guide, we’re focusing on how to build and install Anaconda for Ubuntu. That said, if you use Elementary OS, Peppermint OS, Zorin OS, Linux Mint, or any other operating systems based on Ubuntu, the instructions will work as well.

So even if you’re not on traditional Ubuntu, feel free to follow along to get the Anaconda app working on your Linux system!

Install Anaconda on Ubuntu – preparing the installation

Anaconda does work on Ubuntu, but there aren’t any pre-compiled DEB packages, and the app hasn’t made its way into the Ubuntu Snap store or Flathub Flatpak store. If you plan to use this app, you must build it yourself.

Building the Anaconda software isn’t too tricky, as most of it is taken care of by an installation script. The first step in the building process is to install all of the dependencies that the script needs to build the software.

To start the installation of Anaconda dependencies on your Ubuntu PC, open up a terminal window. To open up a terminal window, press Ctrl + Alt + T on the keyboard or search for “Terminal” in the app menu.

Once the terminal window is open, use the apt install command below to get all of the dependencies set up on your system. Remember that these packages may take a couple of minutes to set up, as there is a lot to download.

sudo apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6

After getting all the dependencies taken care of, it is time to download the installation script. The script is hosted on Anaconda’s repo site. Using the wget downloader command below, grab the install script.

Note: if you wish to download the latest installation script to your Linux PC via a web browser instead of wget, you can! Click on this link here to start the download.

wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh -O ~/Downloads/Anaconda3-2020.11-Linux-x86_64.sh

When the download process is complete, you will need to enter the “Downloads” directory. This directory holds the installation script. To access “Downloads” via terminal, enter the following CD command.

cd ~/Downloads

Inside the “Downloads” directory, use the chmod command to update the installation script’s permissions. This script must have permissions changed so that it can execute as a program.

sudo chmod +x Anaconda3-2020.11-Linux-x86_64.sh

With the file’s permissions up to date, preparation for the installation of Anaconda on your Ubuntu PC is ready to go! Move on to the next section of the guide to get the app installed!

Install Anaconda on Ubuntu – Running the installation script

The installation of Anaconda on Ubuntu can begin as the installation script is downloaded and the permissions are set. To start the installation, execute the ./Anaconda3-2020.11-Linux-x86_64.sh command below. 

To start the installation of Anaconda on Ubuntu as your user account (non-root), run the installation without the sudo command. We highly recommend installing the app in this way.

./Anaconda3-2020.11-Linux-x86_64.sh

If you prefer to install Anaconda as root on your Ubuntu PC, execute the ./Anaconda3-2020.11-Linux-x86_64.sh script with the sudo command, and Anaconda will install itself into /root/ rather than your home folder.

sudo ./Anaconda3-2020.11-Linux-x86_64.sh

Once the script is started up, you’ll see a message. This message says, “In order to continue the installation process, please review the license
agreement. Please, press ENTER to continue”. Press the Enter key to continue to the EULA.

After pressing the Enter key, you’ll be required to view the EULA. To get through it, press the Page Down key on your keyboard. Once you’ve read the agreement, type out “yes” in the prompt.

When “yes” is typed into the prompt, the Anaconda installer will ask where you want to install the app. By default, it will select the home directory. Leave it as the default and press the Enter key to continue on.

Once you press the Enter key, the Anaconda installation script will begin installing the app to your system. It will install both the terminal application (conda) as well as the GUI application (Anaconda Navigator).

When the installation is complete, the Anaconda installer will ask, “Do you wish the installer to initialize Anaconda3 by running conda init? “. If you would like to turn on Anaconda 3, type “yes.” Otherwise, close the terminal.

To start up the GUI Anaconda Navigator, press Alt + F2 on the keyboard to open up your desktop’s quick launcher. Then, type out “anaconda-navigator” to start up the app. 

The post How to install Anaconda on Ubuntu appeared first on AddictiveTips.