Linux fedora 26 commands to install the driver. How to properly configure Fedora Workstation after installation. Optimizing the Firefox web browser
With night light support, a new recipe app, notification area improvements, and expanded support for self-contained Flatpak packages;
At the same time, “free” and “nonfree” repositories of the RPM Fusion project were launched for Fedora 26, in which packages with additional multimedia applications (MPlayer, VLC, Xine), video/audio codecs, DVD support, proprietary AMD drivers and NVIDIA, gaming programs, emulators.
Development of Fedora 26 Linux started in early 2017. In April, the alpha build was already available, and on June 13, the beta version was ready. The edition is based on the GNOME 3.24 desktop shell, and other editions have received updated versions of the corresponding desktop environments.
The developers' official statement states:
We've implemented thousands of improvements to integrated software products, including new development tools such as GCC 7, Golang 1.8 and Python 3.6. In addition, we have added a new partitioning tool for Anaconda (Fedora installer). It will be useful not only for inexperienced users, but also for enthusiasts and system administrators who want to create their own storage system.
What's new in Fedora 26
Among the changes operating system Fedora 26 features GNOME 3.24.2 desktop environment (Fedora Workstation), new Linux kernel 4.11.8, use of DNF 2.0 as default package manager, use of GCC 7 as default compiler, systemd-coredump, fast SSSD cache for local users, pkgconf as the default system implementation of pkg-config, and 48-bit virtual addresses on AArch64 (ARM64) architectures.
Fedora 26 is the first distribution to ditch the xorg-x11-drv-synaptics driver and introduce a new Fedora Labs Spin called Python Classroom Lab, which is aimed at Python teachers. Fedora 26 also comes with updated components including, but not limited to, Python 3.6, OpenSSL 1.1.0, Boost 1.63, Ruby 2.4, GHC 8.0, and Golang 1.8.
Fedora 26 has become latest version distribution of the project for which an alpha version was available. Starting with Fedora 27, only beta releases will be published. On the official project page you can download the following versions of the system: Fedora 26 Workstation, Fedora 26 KDE, Fedora 26 Xfce, Fedora 26 LXDE, Fedora 26 MATE, Fedora 26 Security, Fedora 26 Server, Fedora 26 SoaS, Fedora 26 Robotics, Fedora 26 Design Suite and Fedora 26 Games.
After the installation of Fedora 24 Workstation has been completed successfully, it is not yet ready for full-time work. Despite the fact that the distribution developers have already configured many programs for working with documents, media and file system, there are still a few things left that are not in the distribution out of the box.
In this article, we will look at the most important steps after installing Fedora 24. Only after completing all these steps will your system be completely ready for use. This list can be continued indefinitely, but we will consider only the most important.
1. Complete system update
You may think it doesn't matter. But since the system was released, some problems may have already been discovered and fixes have been developed for them. New versions of programs could also be released. Therefore, we update the system to the latest version:
2. Setting up the computer name
In order to configure the computer name that will be displayed in the terminal and other programs, we will use the hostnamectl utility. It can set different kinds of hostnames. To view the current hostname, type:
You can change the hostname with the following command:
hostnamectl set-hostname "losst"
3. Setting up a static IP address
Servers very often use static IP addresses. One of the first things you need to do after installing fedora is to set up your network. If this is your option, open and edit the eth0 or enp2s0 configuration file in the /etc/sysconfig/network-scripts/ folder:
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
Here are the settings you need to add:
- BOOTPROTO- protocol for obtaining an address, we need static
- ONBOOT- automatic connection
- IPADDR- the IP address you need
- NETMASK- your network mask
- GATEWAY- the gateway through which the computer will access the Internet
- DNS1- DNS, with which you need to resolve domain names.
For example, it could be this configuration:
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=202.88.131.90
DNS2=202.88.131.89
To apply the changes, restart network services:
systemctl restart network.service
To view the changes you can use the command:
4. Add RPMFusion repository
Setting up fedora after installation should include setting up additional repositories. Some packages are not in the official RHEL and Fedora repositories. But you can install these packages from the RPMFusion repository. There are both proprietary and free packages here. To add a repository, run the command:
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-24.noarch.rpm
5. Install Gnome Tweak
By default, the Gnome desktop environment may not look the way we would like it to. The GNOME Tweak utility will help you configure many settings appearance Fedora 24, panel, desktop space and more.
You can install it by opening the Application Center, searching for Gnome Tweak and clicking the Install button:
6. Connect online accounts
Fedora 24 allows you to access online accounts directly from the system. You can configure them during installation. But if you haven’t done this, you can always do this in the settings, on the Personal tab, online accounts:
7. Installing Gnome extensions
Gnome Shell allows you to install extensions to make your system easier to set up and manage.
Then install with the command:
rpm install teamviewer.rpm
conclusions
This is far from all the actions that need to be done after installing Fedora 24, but the main thing is collected here. If anything was missed, write in the comments.
Fedora 26: Fedora is one of the most popular GNU/Linux distributions. It is the result of the Fedora Project, a large community of volunteers sponsored by Red Hat. Fedora's default environment is the GNOME desktop and its default interface is GNOME Shell. Of course, it supports other desktop environments such as: KDE, Xfce, LXDE, MATE and Cinnamon, released as custom ISOs for Fedora spins.
One of the most famous distribution features is that each new version of Fedora is released every six months. The suggested update method is restarting from the CD with new version. The program will check hard disks computer for older versions of the distribution. If older versions are found, you must reinstall or update.
We upgraded the multiboot system from , CentOS and Manjaro Linux to Fedora 26, CentOS and Manjaro. The main boot is underneath the Manjaro as you will see in the picture below. The screenshot was taken after updating Fedora to 26. We ran the grub-mkconfig command in the main boot (Manjaro) to see the new updated version of Fedora 26 and the new kernel.
But let's see how we got through the dnf update.
We will initially install the dnf-plugin-system-update package:
sudo dnf install dnf-plugin-system-upgrade
and we will download all updated packages for version 26 (releasever = 26):
System update sudo dnf download --refresh --releasever = 26 --allowerasing
Be sure to accept the installation of the new RPM-GPG-KEY
When all the packages are down, we can perform an update, which will start after a reboot and will take a long time.
Immediately after installing the Fedora distribution, you should perform the steps necessary for stable operation. Let's take a look at the example of Fedora 28 with the Gnome working environment.
First of all, let's check the version of our distribution.
cat /etc/os-release | grep PRETTY_NAMEThen press Enter and see the information.
We will update everything that is available
sudo dnf updateWhen prompted for a password, enter your password; the characters will not be visible and this is normal.
After installing all updates, reboot the computer.
- We Russify the necessary programs
We will connect packages and third-party repositories RPM Fusion and Adobe
- Codecs and multimedia applications
WITH open source
sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E fedora).noarch.rpmNow closed source
sudo dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E fedora).noarch.rpmNegativo17 project repositories
- Media codecs
- Now drivers for Nvidia
- Steam for gamers
- Adobe Repositories
Some proprietary drivers, for example for Nvidia, printers and scanners may be missing
- Drivers that are missing
Nvidia
You need to find out what model of video card it is. Enter the command
lspci | grep VGANow it's time to Important point choosing the right driver for correct operation. The instructions are as follows.
For NV40 video cards, enter the command
sudo dnf install akmod-nvidia-304xx "kernel-devel-uname-r == $(uname -r)" sudo dnf updateFor NV 50
sudo dnf install akmod-nvidia-340xx "kernel-devel-uname-r == $(uname -r)" sudo dnf updateFor newer Geforce models
sudo dnf install akmod-nvidia "kernel-devel-uname-r == $(uname -r)" sudo dnf updateTo view the video you need a plugin Adobe Flash. Install with the command
sudo dnf install flash-pluginManage files on root rights better with help file manager GNOME Commander. Let's install it by entering the command in the terminal
sudo dnf install gnome-commander pavucontrol gnome-tweak-toolAfter this, you will also have a useful utility that will allow you to configure the Gnome working environment.
Optimizing the swap partition
We do this:
sudo sh -c "echo "vm.swappiness=10" >> /etc/sysctl.d/95-sysctl.conf"Reboot the system.
After reboot, check the changes
cat /proc/sys/vm/swappinessThe number should now be 10
If your computer has RAM 1 GB or more, then the value should be set to 10, if the memory is less than 1 GB, then the value should be set to 5
Configuring font display
sudo dnf install freetype-freeworld sudo wget -O /etc/fonts/local.conf http://linux-faq.ru/files/local.confIf you need Microsoft fonts, then enter
sudo dnf install rpm-build cabextract ttmkfdirThen we download the specification file for our software. This is done by a team
cd /tmp && wget http://linux-faq.ru/files/msttcorefonts-2.5-1.spec rpmbuild -bb msttcorefonts-2.5-1.spec cd ~/rpmbuild/RPMS/noarch/ && sudo dnf -y install msttcorefonts-2.5-1.noarch.rpmWe optimize the volume of the system log so as not to fill up the memory of our HDD. You can limit it to 128 MB.
gedit admin:///etc/systemd/journald.confA line will appear where you will need to write SystemMaxUse=128M instead of #SystemMaxUse=
We save the result with the command
sudo journalctl --vacuum-size=128MInstall useful programs, which are not included in the distribution.
- Torrent
- Download Manager
- Gimp- analogue of Photoshop
- Blender- video editor
- FBReader- reading books in FB2, EPUB format
- Djvu
- GParted- for working with HDD partitions
- Archivers
The basic setup of the Fedora Workstation operating system is now complete. Each program can be configured individually. You can also for a weak car improve performance by changing the paging file on your hard drive, disable visual effects, and do not load the browser with unnecessary extensions.