Sabtu, 17 April 2021

How to Deploy Seafile Server with Docker to Host Your Own File Synchronization and Sharing Solution

First off, what is Seafile?

Seafile is a self-hosted file synchronization program that works with the server-client model, as in you have several devices like your laptop and phone that connect to a central server.

Unlike some more popular alternatives like Nextcloud or ownCloud, Seafile tries to follow the philosophy of “do one thing only, but do it well”. Likewise, Seafile doesn’t have extra goodies built in like Contacts or Calendar integration.

Seafile instead focuses solely on file syncing, sharing, and the things surrounding it, and that’s it. As a result of that though, it ends up doing so extremely well.

Deploying Seafile Server with Docker and NGINX

Advanced tutorial

Most tutorials on It’s FOSS are focused on beginners. This one is not. It is intended for advanced users who tinker a lot with DIY projects and prefer to self-host.
This tutorial presumes that you are comfortable using the command line, and that you are at least decently knowledgeable with the programs we’ll be using.

While the whole process could be done without using NGINX at all, using NGINX will allow for an easier setup, as well as making it significantly easier to self-host more services in the future.

If you want to use a full-on Docker setup, you could set up NGINX inside of Docker as well, but it will only make things more complex and doesn’t add too much of a benefit, and likewise won’t be covered in this tutorial.

Installing and Setting Up NGINX

I will be using Ubuntu in this tutorial and will thus be using apt to install packages. If you use Fedora or some other non-Debian distribution, please use your distribution’s package manager.

NGINX, as well as being a web server, is what’s known as a proxy. It will function as the connection between the Seafile server and the internet, whilst also making several tasks easier to deal with.

To install NGINX, use the following command:

sudo apt install nginx

If you want to use HTTPS (that little padlock in your browser), you will also need to install Certbot:

sudo apt install certbot python3-certbot-nginx

Next, you need to configure NGINX to connect to the Seafile instance that we set up later.

First, run the following command:

sudo nano /etc/nginx/sites-available/seafile.conf

Enter the following text into the file:

server {
  server_name localhost;
  location / {
    proxy_pass http://localhost:8080;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
  }
}

Important: Replace localhost on the server_name line with the address you’ll be accessing your server from (i.e. seafile.example.com or 192.168.0.0). Not sure what to put?

  • If you are testing just for the sake of it, use localhost. This setup will only allow you to access the server from your computer, and that’s it.
  • If you want to use Seafile across your local WiFi connection(any device on the same WiFi network as you), you should enter your computer’s IP address. You may also want to look into setting a static IP address, though it isn’t necessary.
  • If you have a public IP address that you know points to your system, use that.
  • If you have a domain name(i.e. example.com, example.org) and a public IP address for your system, change your DNS settings to point the domain name to your system’s IP address. This will also require the public IP address to point to your system.

Now you need to copy the config file to the directory NGINX looks at for files, then restart NGINX:

sudo ln -s /etc/nginx/sites-available/seafile.conf /etc/nginx/sites-enabled/seafile.conf
sudo systemctl restart nginx

If you set up Certbot, you’ll also need to run the following to set up HTTPS:

sudo certbot

If asked to redirect HTTP traffic to HTTPS, choose 2.

Now would be a good time to make sure everything we’ve set up so far is working. If you visit your site, you should get a screen that says something on the lines of 502 Bad Gateway.

nginx bad gateway

Install Docker and Docker Compose

Now to get into the fun stuff!

First things first, you need to have Docker and Docker Compose installed. Docker Compose is needed to utilize a docker-compose.yml file, which will make managing the various Docker containers Seafile needs easier.

Docker and Docker Compose can be installed with the following command:

sudo apt install docker.io docker-compose

To check if Docker is installed and running, run the following:

sudo docker run --rm hello-world

You should see something along the lines of this in your terminal if it completed successfully:

seafile docker helloworld

If you would like to avoid adding sudo to the beginning of the docker command, you can run the following commands to add yourself to the docker group:

sudo groupadd docker
sudo usermod -aG docker $USER

The rest of this tutorial assumes you ran the above two commands. If you didn’t, add sudo to all commands that start with docker or docker-compose.

Installing Seafile Server

This part is significantly easier than the part before this. All you need to do is put some text into a file and run a few commands.

Open up a terminal. Then create a directory where you’d like the contents of the Seafile server to be stored and enter the directory:

mkdir ~/seafile-server && cd ~/seafile-server
seafile dir

Go to the directory you created and run the following:

nano docker-compose.yml

Next, enter the text below into the window that pops up:

version: '2.0'
services:
  db:
    image: mariadb
    container_name: seafile-mysql
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_LOG_CONSOLE=true
    volumes:
      - ./data/mariadb:/var/lib/mysql
    networks:
      - seafile-net

  memcached:
    image: memcached
    container_name: seafile-memcached
    entrypoint: memcached -m 256
    networks:
      - seafile-net
          
  seafile:
    image: seafileltd/seafile-mc
    container_name: seafile
    ports:
      - "8080:80"
    volumes:
      - ./data/app:/shared
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=password
      - TIME_ZONE=Etc/UTC
      - SEAFILE_ADMIN_EMAIL=me@example.com
      - SEAFILE_ADMIN_PASSWORD=password
      - SEAFILE_SERVER_LETSENCRYPT=false
      - SEAFILE_SERVER_HOSTNAME=docs.seafile.com
    depends_on:
      - db
      - memcached
    networks:
      - seafile-net

networks:
  seafile-net:

Before saving the file, a few things will need to be changed:

  • MYSQL_ROOT_PASSWORD: Change to a stronger password, you don’t need to remember this, so don’t try to pick anything easy. If you need help making one, use a password generator. I’d recommend 20 characters long and avoiding any special characters(all the !@#$%^&* symbols).
  • DB_ROOT_PASSWD: Change to the value you set for MYSQL_ROOT_PASSWORD.
  • SEAFILE_ADMIN_EMAIL: Sets the email address for the admin account.
  • SEAFILE_ADMIN_PASSWORD: Sets the password for the admin account. Avoid making this the same as MYSQL_ROOT_PASSWORD or DB_ROOT_PASSWD.
  • SEAFILE_SERVER_HOSTNAME: Set to the address you set in the NGINX configuration.

With that done, you can bring up the whole thing with docker-compose:

docker-compose up -d

It might take a minute or two depending on your internet connection, as it has to pull down several containers that Seafile needs to run.

After it’s done, give it a few more minutes to finish up. You can also check the status of it by running the following:

docker logs seafile

When it’s done, you’ll see the following output:

seafile running

Next, just type the address you set for SEAFILE_SERVER_HOSTNAME into your browser, and you should be at a login screen.

seafile login

And there you go! Everything’s now fully functional and ready to be used with the clients.

Installing the Seafile Clients

Seafile on mobile is available on Google Play, F-Droid, and on the iOS App Store. Seafile also has desktop clients available for Linux, Windows, and Mac, available here.

Seafile is readily available on Ubuntu systems via the seafile-gui package:

sudo apt install seafile-gui

Seafile is also in the AUR for Arch users via the seafile-client package.

Closing Up

Feel free to explore the clients and all they have to offer. I’ll go into all of what the Seafile clients are capable of in a future article (stay tuned 😃).

If something’s not working right, or you just have a question in general, feel free to leave it in the comments below – I’ll try to respond whenever I can!



from It's FOSS https://ift.tt/3dpGSs6
via IFTTT

Jumat, 16 April 2021

Hyperbola Linux Review: Systemd-Free Arch With Linux-libre Kernel

In the last month of 2019, the Hyperbola project took a major decision of ditching Linux in favor of OpenBSD. We also had a chat with Hyperbola co-founder Andre Silva, who detailed the reason for dropping Hyperbola OS and starting a new HyperbolaBSD.

HyperbolaBSD is still under development and its alpha release will be ready by September 2021 for initial testing. The current Hyperbola GNU/Linux-libre v0.3.1 Milky Way will be supported until the legacy Linux-libre kernel reaches the end of life in 2022.

I thought of giving it a try before it goes away and switches to BSD completely.

What is Hyperbola GNU/Linux-libre?

hyperbola gnu linux

Back in April 2017, the Hyperbola project was started by its six co-founders with an aim to deliver a lightweight, stable, secure, software freedom, and privacy focussed operating system. 

Subsequently, the first stable version of Hyperbola GNU/Linux-libre arrived in July 2017. It was based on Arch Linux snapshots combining Debian development.

But, unlike Arch having a rolling release model, Hyperbola GNU/Linux-libre follows a Long Term Support (LTS) model.

Also, instead of a generic Linux kernel, it includes GNU operating system components and the Linux-libre kernel. Most importantly, Hyperbola is also one of the distributions without Systemd init system.

Even though the Systemd is widely adopted by major Linux distributions like Ubuntu, Hyperbola replaced it with OpenRC as the default init system. v0.1 of Hyperbola was the first and the last version to support Systemd.

Moreover, Hyperbola put high emphasis on Keep It Simple Stupid (KISS) methodology. It provides packages for i686 and x86_64 architecture that meets GNU Free System Distribution Guidelines (GNU FSDG).

Not just that, but it also has its own social contract and packaging guidelines that follow the philosophy of the Free Software Movement.

Hence, Free Software Foundation recognized Hyperbola GNU/Linux-libre as the first completely free Brazilian operating system in 2018.

Downloading Hyperbola GNU/Linux-libre 0.3.1 Milky Way

The hyperbola project provides two live images for installation: one is the regular Hyperbola and the other is Hypertalking. Hypertalking is the ISO optimized and adapted for blind and visually impaired users.

Interestingly, if you already use Arch Linux or Arch-based distribution like Parabola, you don’t need to download a live image. You can easily migrate to Hyperbola by following the official Arch or Parabola migration guide.

The ISO image sizes around 650MB containing only essential packages (excluding desktop environment) to boot only in a command line interface.

Hardware requirements for Hyperbola

For v0.3.1 (x86_64), you require a minimum of any 64-bit processor, 47MiB (OS installed) and 302MiB (Live image) of RAM for text mode only with no desktop environment.

While for v0.3.1 (i686), you require a minimum of Intel Pentium II or AMD Athlon CPU model, 33MiB (OS installed), and 252MiB (Live image) of RAM for text mode only with no desktop environment.

Installing Hyperbola Linux from scratch

Currently, I don’t use Arch or Parabola distribution. Hence, instead of migration, I chose to install Hyperbola Linux from scratch.

I also mostly don’t dual boot unknown (to me) distribution on my hardware as it may create undetermined problems. So, I decided to use the wonderful GNOME Boxes app for setting up a Hyperbola virtual machine with up to 2 GB of RAM and 22 GB of free disk space.

Similar to Arch, Hyperbola also does not come with a graphical user interface (GUI) installer. It means you need to set up almost everything from scratch using a command line interface (CLI).

Here, it also concludes that Hyperbola is definitely not for beginners and those afraid of the command line.

However, Hyperbola does provide separate installation instruction, especially for beginners. But I think it still misses several steps that can trouble beginners during the installation process.

For instance, it does not guide you to connect to the network, set up a new user account, and install a desktop environment.

Hence, there is also another Hyperbola installation guide that you need to refer to in case you’re stuck at any step.

As I booted the live image, the boot menu showed the option to install for both 64-bit or 32-bit architecture.

Live Image Boot Menu
Live Image Boot Menu

Next, following the installation instruction, I went through setting up disk partition, DateTime, language, and password for the root user.

Disk partition
Disk partition

Once everything set up, I then installed the most common Grub bootloader and rebooted the system. Phew! until now, all went well as I could log in to my Hyperbola system.

text mode
text mode

Installing Xfce desktop in Hyperbola Linux

The command-line interface was working fine for me. But now, to have a graphical user interface, I need to manually choose and install a new desktop environment as Hyperbola does not come with any default DE.

For the sake of simplicity and lightweight, I chose to get the popular Xfce desktop. But before installing it, I also needed a Xorg display server. So, I installed it along with other important packages using the default pacman package manager.

Install X.Org
Install X.Org

Later, I installed LightDM cross-desktop display manager, Xfce desktop, and other necessary packages like elogind for managing user logins.

Install Xfce desktop environment
Install Xfce desktop environment

After the Xfce installation, you also need to add LightDM service at the default run level to automatically switch to GUI mode. You can use the below command and reboot the system:

rc-update add lightdm default
reboot
Add LightDM at runlevel
Add LightDM at runlevel

Pacman Signature Error In Hyperbola Linux

While installing Xorg and Xfce in the latest Hyperbola v0.3.1, I encountered the signature error for some packages showing “signature is marginal trust” or “invalid or corrupted package.”

Signature Error In Hyperbola Linux
Signature Error In Hyperbola Linux

After searching the solution, I came to know from Hyperbola Forum that the main author Emulatorman’s keys expired on 1st Feb 2021.

Hence, until the author upgrades the key or a new version 0.4 arrives sooner or later, you can change the SigLevel from “SigLevel=Required DatabaseOptional” to “SigLevel=Never” in/etc/pacman.conf file to avoid this error.

configure pacman siglevel

Hyperbola Linux with Xfce desktop

Hyperbola Linux With Xfce desktop
Hyperbola Linux With Xfce desktop

Hyperbola GNU/Linux-libre with Xfce 4.12 desktop gives a very clean, light, and smooth user experience. At the core, it contains Linux-libre 4.9 and OpenRC 0.28 service manager.

Hyperbola System Information

As Hyperbola does not come with customized desktops and tons of bloated software, it definitely gives flexibility and freedom to choose, install, and configure the services you want.

On the memory usage side, it takes around 205MB of RAM (approx. 10%) while running no applications (except terminal).

memory usage in Hyperbola Linux

Is Hyperbola a suitable distribution for you?

As per my experience, it definitely not a Linux distribution that I would like to suggest to complete beginners. Well, the Hyperbola project does not even claim to be beginners-friendly.

If you’re well-versed with the command line and have quite a good knowledge of Linux concepts like disk partition, you can give it a try and decide yourself. Spending time hacking around the installation and configuration process can teach you a lot.

Another thing that might matter in choosing Hyperbola Linux is also the default init system. If you’re looking for Systemd-free distribution with complete customization control from scratch, what can be better than it.

Last but not least, you should also consider the future of Hyperbola, which will no longer contain Linux Kernel as it will turn into a HyperbolaBSD with OpenBSD Linux and userspace.

If you’ve already tried or currently using Hyperbola Linux, let us know your experience in the comment below.



from It's FOSS https://ift.tt/2RLzwXP
via IFTTT

How to Download Ubuntu via Torrent [Absolute Beginner’s Tip]

Downloading Ubuntu is pretty straightforward. You go to its official website. Click on the desktop download section, select the appropriate Ubuntu version and hit the download button.

download ubuntu

Ubuntu is available as a single image of more than 2.5 GB in size. The direct download works well for people with high-speed internet connection.

However, if you have a slow or inconsistent internet connection, you’ll have a difficult time downloading such a big file. The download may be interrupted several times in the process or may take several hours.

slow direct download ubuntu
Direct download may take several hours for slow internet connections

Downloading Ubuntu via Torrent

If you also suffer from limited data or slow internet connection, using a download manager or torrent would be a better option. I am not going to discuss what torrent is in this quick tutorial. Just know that with torrents, you can download a large file in a number of sessions.

The Good thing is that Ubuntu actually provides downloads via torrents. The bad thing is that it is hidden on the website and difficult to guess if you are not familiar with it.

If you want to download Ubuntu via torrent, go to your chosen Ubuntu version’s section and look for alternative downloads.

ubuntu torrent download

Click on this “alternative downloads” link and it will open a new web page. Scroll down on this page to see the BitTorrent section. You’ll see the option to download the torrent files for all the available versions. If you are going to use Ubuntu on your personal computer or laptop, you should go with the desktop version.

ubuntu torrent download option

Read this article to get some guidance on which Ubuntu version you should be using. Considering that you are going to use this distribution, having some ideas about Ubuntu LTS and non-LTS release would be helpful.

How do you use the download torrent file for getting Ubuntu?

I presumed that you know how to use torrent. If not, let me quickly summarize it for you.

You have downloaded a .torrent file of a few KB in size. You need to download and install a Torrent application like uTorrent or Deluge or BitTorrent.

I recommend using uTorrent on Windows. If you are using some Linux distribution, you should already have a torrent client like Transmission. If not, you can install it from your distribution’s software manager.

Once you have installed the torrent application, run it. Now drag and drop the .torrent file you had downloaded from the website of Ubuntu. You may also use the open with option from the menu.

Once the torrent file has been added to the Torrent application, it starts downloading the file. If you turn off the system, the download is paused. Start the Torrent application again and the download resumes from the same point.

When the download is 100% complete, you can use it to install Ubuntu afresh or in dual boot with Windows.

Enjoy Ubuntu :)



from It's FOSS https://ift.tt/3toUxFy
via IFTTT

Minggu, 11 April 2021

Create and Edit EPUB Files on Linux With Sigil

Sigil is an open source EPUB editor available for Linux, Windows and macOS. With Sigil, you can create a new ebook in EPUB file format or edit an existing EPUB ebook (file ending in .epub extension).

In case you are wondering, EPUB is a standard ebook file format endorsed by several digital publishing groups. It is well-supported on a range of devices and ebook readers except Amazon Kindle.

Sigil lets you create or edit EPUB files

Sigil is an open source software that allows you to edit EPUB files. You may, of course, create a new EPUB file from scratch.

open epub sigil

Many people swear by Calibre for creating ebooks or editing them. It is indeed a complete tool with lots of features and supports more than just EPUB file format. However, Calibre could be heavy on resources at times.

Sigil is focused on just the EPUB books with the following features:

  • Support for EPUB 2 and EPUB 3 (with some limitations)
  • Provides a preview along with the code view
  • Editing EPUB syntax
  • Table of content generator with mult-level heading
  • Edit metadat
  • Spell checking
  • REGEX support for find and replace feature
  • Supports import of EPUB and HTML files, images, and style sheets
  • Additional plugins
  • Multiple language support for the interface
  • Supports Linux, Windows and macOS

Sigil is not WYSIWYG type of editor where you can type the chapters of new book. It is focused on code as EPUB depends on XML. Consider it a code editor like VS Code for EPUB files. For this reason, you should use some other open source tool for writing, export your files in .epub format (if possible) and then edit it in Sigil.

sigil epub editor

Sigil does have a Wiki to provide you some documentation on installing and using Sigil.

Installing Sigil on Linux

Sigil is a cross-platform application with support for Windows and macOS along with Linux. It is a popular software with more than a decade of existence. This is why you should find it in the repositories of your Linux distributions. Just look for it in the software center application of your distribution.

sigil software center ubuntu
Sigil in Ubuntu Software Center

You may need to enable the universe repository beforehand. You may also use the apt command in Ubuntu-based distributions:

sudo apt install sigil

Sigil has a lot of dependencies on Python libraries and modules and hence it downloads and installs a good number of packages.

installing sigil ubuntu

I am not going to list commands for Fedora, SUSE, Arch and other distributions. You probably already know how to use your distribution’s package manager, right?

The version provided by your distribution may not always be the latest. If you want the latest version of Sigil, you can check out its GitHub repositories.

Not for everyone, certianly not for reading ePUB books

I wouldn’t recommend using Sigil for reading ebooks. There are other dedicated applications on Linux to read .epub files.

If you are a writer who has to deal with EPUB books or if you are digitizing old books and converting them in various formats, Sigil could be worth a try.

I haven’t used Sigil extensively so I cannot provide a review of it. I let it up to you to explore it and share your experienced with the rest of us here.



from It's FOSS https://ift.tt/3wQ1Fg4
via IFTTT

Jumat, 09 April 2021

GNOME’s Very Own “GNOME OS” is Not a Linux Distro for Everyone [Review]

Whenever a major release for GNOME arrives, it is always tempting to try it out as soon as possible. But, to get your hands on it first to test it, you had to mostly rely on Fedora Rawhide (development branch).

However, a development branch isn’t always hassle-free. So, it wasn’t the most convenient solution to try the latest GNOME. Now, by testing, I don’t mean just for users but also being able to test design changes for the developers as well.

So, GNOME OS recently came to the rescue to ease the process of testing. But, what exactly is it and how to get it installed? Let us take a look.

What is GNOME OS?

GNOME OS is not a separate full-fledged Linux distribution. In fact, it isn’t based on anything at all. It’s an incomplete reference system just to make GNOME desktop work. It is just a bootable VM (Virtual Machine) image tailored for debugging and testing features before it hits any distribution’s repository.

One of the GNOME blogs mention it as:

GNOME OS aims to better facilitate development of GNOME by providing a working system for development, design, and user testing purposes.

If you’re curious, you may want to check out a blog post on Planet GNOME to know more about GNOME OS.

If it’s not a full-fledged Linux distribution then what is it used for?

gnome os distro review

It is interesting to note that a new GNOME OS image can be created for every new commit made, so it should make the testing process efficient and help you test/find issues early in the development cycle.

Not to forget, designers no longer have to build the software themselves to test the GNOME Shell or any other core modules. It saves them time and the whole GNOME development cycle.

Of course, not just limited to developers and technical testers, it also lets journalists to get their hands on the latest and greatest to cover a story about GNOME’s next release or how it’s being shaped.

The media and the GNOME team also gets a good opportunity to prepare visual materials to promote the release in both video/picture format thanks to GNOME OS.

How to install GNOME OS?

To easily install GNOME OS, you will need to install GNOME Boxes application first.

Installing GNOME Boxes

Boxes‘ is a simple virtualization software that does not offer any advanced options but lets you easily install an operating system image to test quickly. It is targeted specially for desktop end-users, so it is easy to use as well.

To install it on any Linux distribution, you can utilize the Flatpak package from Flathub. In case you don’t know about a Flatpak, you might want to read our guide on installing and using Flatpak in Linux.

You may also directly install it from the terminal on any Ubuntu-based distro by typing this:

sudo apt install gnome-boxes

Once you get Boxes installed, it is fairly easy to install GNOME OS from here.

Install GNOME OS

After you have Boxes installed, you need to launch the program. Next, click on the “+” sign that you see in the upper-left corner of the window and then click on “Operating System Download” as shown in the image below.

gnome os search

This option lets you directly download the image file and then you can proceed to install it.

All you need to do is search for “GNOME” and you should find the Nightly build available. This will ensure that you are trying the latest and greatest GNOME version in development.

Alternatively, you can head to the GNOME OS Nightly website and download the system image and choose the “Operating System Image File” in the Boxes app to select the ISO as shown in the screenshot above to proceed installing it.

gnome os boxes

Considering you didn’t download the image separately. When you click on it, the download should start and a progress bar will appear:

gnome os download

Once it is done, it will ask you to customize the configuration if needed and let you create the VM as shown below:

gnome boxes vm setup

You can customize the resource allocation depending on your available system resources, but you should be good to go with the default settings.

Click on “Create” and it will directly start GNOME OS installation:

gnome nightly install

Select the existing version and proceed. Next, you will have to select the disk (keep it as is) and then agree to erasing all your files and apps (it won’t delete anything from your local computer).

gnome os installation

Now, it will simply reformat and install it. And, you’re done. It will prompt you to restart it and when you do, you will find GNOME OS installed.

It will simply boot up as any Linux distro would and will ask you to set up a few things, including the username and a password. And, you’re good to explore!

If you are curious what it looks like, it’s basically the latest GNOME desktop environment. I used GNOME OS to make an overview video of GNOME 40 before the official release.

Closing Thoughts

GNOME OS is definitely something useful for developers, designers, and the media. It makes it easy to test the latest development version of GNOME without investing a lot of time.

I could test GNOME 40 quickly just because of this. Of course, you will have to keep in mind that this isn’t a fully functional OS that you should install on a physical device. There are plans to make one available to run on a physical machine, but as it stands now, it is only tailored for virtual machines, especially using GNOME Boxes.

GNOME Boxes does not offer any advanced options, so it becomes quite easy to set it up and use it. You might want to tweak the resources if the experience is too slow, but it was a good experience overall in my case.

Have you tried GNOME OS yet? Feel free to let me know your thoughts in the comments down below.



from It's FOSS https://ift.tt/2PIhjK3
via IFTTT

How to Install Steam on Fedora [Beginner’s Tip]

Steam is the best thing that could happen to Linux gamers. Thanks to Steam, you can play hundreds and thousands of games on Linux.

If you are not already aware of it, Steam is the most popular PC gaming platform. In 2013, it became available for Linux. Steam’s latest Proton project allows you to play games created for Windows platform on Linux. This enhanced Linux gaming library many folds.

Steam Store

Steam provides a desktop client and you can use it to download or purchase games from the Steam store, install the game and play it.

We have discussed installing Steam on Ubuntu in the past. In this beginner’s tutorial, I am going to show you the steps for installing Steam on Fedora Linux.

Installing Steam on Fedora

To get Steam on Fedora, you’ll have to use RMPFusion repository. RPMFusion is a series of third-party repos that contain software that Fedora chooses not to ship with their operating system. They offer both free (open source) and non-free (closed source) repos. Since Steam is in the non-free repo, you will only install that one.

I shall go over both the terminal and graphical installation methods.

Method 1: Install Steam via terminal

This is the easiest method because it requires the fewest steps. Just enter the following command to enable the free repo:

sudo dnf install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

You will be asked to enter your password. You will then be asked to verify that you want to install these repos. Once you approve it, the installation of the repo will be completed.

To install Steam, simply enter the following command:

sudo dnf install steam
Install Steam via command line
Install Steam via command line

Enter your password and press “Y” to accept. Once installed, open Steam and play some games.

Method 2: Install Steam via GUI

You can enable the third-party repository on Fedora from the Software Center. Open the Software Center application and click on the hamburger menu:

Enable third party repository from software ceneter in Fedora

In the Software Repositories window, you will see a section at the top that says “Third Party Repositories”. Click the Install button. Enter your password when you are prompted and you are done.

Fedora Third Party Repo Gui

Once you have installed RPM Fusion repository for Steam, update your system’s software cache (if needed) and search for Steam in the software center.

Steam in Gnome Software Center
Steam in GNOME Software Center

Once that installation is complete, open up the GNOME Software Center and search for Steam. Once you locate the Steam page, click install. Enter your password when asked and you’re done.

After installing Steam, start the application, enter your Steam account details or register for it and enjoy your games.

Using Steam as Flatpak

Steam is also available as a Flatpak. Flatpak is installed by default on Fedora. Before we can install Steam using that method, we have to install the Flathub repo.

Install Flathub
Install Flathub

First, open the Flatpak site in your browser. Now, click the blue button marked “Flathub repository file”. The browser will ask you if you want to open the file in GNOME Software Center. Click okay. Once GNOME Software Center open, click the install button. You will be prompted to enter your password.

If you get an error when you try to install the Flathub repo, run this command in the terminal:

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

With the Flathub repo installed, all you need to do is search for Steam in the GNOME Software Center. Once you find it, install it, and you are ready to go.

Fedora Repo Select
Fedora Repo Select

The Flathub version of Steam has several add-ons you can install, as well. These include a DOS compatibility tool and a couple of tools for Vulkan and Proton.

Steam Addons

I think this should help you with Steam on Fedora. Enjoy your games :)



from It's FOSS https://ift.tt/3s82Eoh
via IFTTT