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;

  • Blivet-gui has been added to the Anaconda installer with implementations of an alternative interface for partitioning with support for LVM (including LVM cache, LVM RAID, Thin LVM), Btrfs (including Btrfs RAID, subpartitions and snapshots), MD RAID, drive encryption using LUKS;
  • Added support for the AC-3 (Dolby Digital) multi-channel audio encoding codec, whose patents have expired and can now be used royalty-free. AC-3 is used in standards digital television(ATSC, DVB), on DVD and Blu-ray discs, in Internet streaming systems with support for 5.1 surround sound.
  • A preliminary version of the modular server edition of the distribution is being developed, in which the final applications are delivered in the form of separately updated modules, the life cycle of which is not tied to other applications and the main content of the distribution;
  • The first release of Base Runtime has been generated, a module with a base operating system that can act as a base for the build and as a dependency for modules with applications. Base Runtime is the basis of the modular release of Fedora 26 Server. To assemble modules in the infrastructure, the Module Build Service has been launched;
  • The DNF package manager has been updated to version 2.0, which includes the Repoquery plugin for searching packages in external repositories (analogous to "rpm -q" for a remote repository). Added the "dnf check" command to check the integrity of the local packagedb database and display information about possible problems. Added the "dnf upgrade-minimal" command, which allows you to update each package to the latest version with improvements or bug fixes and vulnerabilities;
  • The release of the GCC 7 compiler set is used to build packages. The default set of compilation flags for C/C+ has been updated and the use of the "-mtune=atom" flag has been discontinued. The previously planned flags "-Werror=implicit-function-declaration" and "-Werror=implicit-int" are left inactive for now;
  • The pkgconf package is used as an implementation of pkg-config, which provides improved tools for processing .pc files and a stable library ABI/API for integration with applications;
  • To save and process core dumps, the systemd-coredump service is enabled by default. To display a list of core dumps and extract them from the Journal database, the coredumpctl utility is proposed;
  • Python has been updated to version 3.6.0. Includes the Python Classroom Lab learning environment;
  • New releases included Glibc 2.25, PHP 7.1, Go 1.8, Ruby 2.4, GHC (Haskell) 8.0, LDC (D language) 1.1.0, Boost 1.63.0, Zend Framework 3, BIND 9.11;
  • The driver for touchpads xorg-x11-drv-synaptics has been removed from the distribution, instead of which xorg-x11-drv-libinput should be used;
  • On AARCH64 systems, support for 48-bit virtual address space is enabled;
  • In the Fedora Media Writer interface, the ability to write system images for ARM architecture to SD cards has been added;
  • A spin build has been prepared with the LXQt desktop (Qt Lightweight Desktop Environment), developed by a joint team of developers of the LXDE and Razor-qt projects;
  • A new minimalistic image has been prepared for creating isolated containers, containing the minimum possible set of components, but at the same time, unlike Atom, including a full-fledged dnf package manager and the ability to install arbitrary packages from standard repositories;
  • OpenSSL has been updated to version 1.1.0 with support for scrypt, X25519 (RFC 7748), Certificate Transparency, ChaCha20 stream cipher, and Poly1305 message authentication algorithm (MAC). Support for legacy technologies has been discontinued, including the removal of components that support SSLv2, Kerberos, and 40- and 56-bit ciphers. The RC4 and 3DES algorithms are excluded from the default cipher suite;
  • Enabled detection of parameters for all users via the NSS module SSSD (System Security Services Daemon), which provides higher performance by caching the contents of local databases in memory;
  • The OpenSC package was used as an implementation of PKCS#11 instead of Coolkey, which made it possible to expand the range of smart cards supported by the distribution;
  • The repository includes the snapd package with tools for managing self-contained packages in the snap format. To get started with Snap packages, Fedora Linux users can now simply run "sudo dnf install snapd" and then use the snap utility. When you first install snap, the core snap package with a set of basic libraries for the functioning of snap packages will be installed on the system. Since snap uses the AppArmor mechanism for isolation, which is not supported in Fedora, packages are launched without applying isolation, i.e. You need to be careful not to install unverified applications.
  • 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_NAME

    Then press Enter and see the information.

    We will update everything that is available

    sudo dnf update

    When 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
    sudo dnf install langpacks

    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.rpm

    Now closed source

    sudo dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E fedora).noarch.rpm

    Negativo17 project repositories

    • Media codecs
    https://negativo17.org/repos/fedora-multimedia.repo
    • Now drivers for Nvidia
    lspci | grep VGA sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-nvidia.repo
    • Steam for gamers
    sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-steam.repo
    • Adobe Repositories
    sudo dnf install http://linuxdownload.adobe.com/adobe-release/adobe-release-$(rpm -E %_arch)-1.0-1.noarch.rpm

    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 VGA

    Now 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 update

    For NV 50

    sudo dnf install akmod-nvidia-340xx "kernel-devel-uname-r == $(uname -r)" sudo dnf update

    For newer Geforce models

    sudo dnf install akmod-nvidia "kernel-devel-uname-r == $(uname -r)" sudo dnf update

    To view the video you need a plugin Adobe Flash. Install with the command

    sudo dnf install flash-plugin

    Manage 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-tool

    After 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/swappiness

    The 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.conf

    If you need Microsoft fonts, then enter

    sudo dnf install rpm-build cabextract ttmkfdir

    Then 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.rpm

    We 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.conf

    A 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=128M

    Install useful programs, which are not included in the distribution.

    • Torrent
    sudo dnf install transmission-gtk
    • Download Manager
    sudo dnf install uget
    • Gimp- analogue of Photoshop
    sudo dnf install gimp
    • Blender- video editor
    sudo dnf install blender
    • FBReader- reading books in FB2, EPUB format
    sudo dnf install fbreader-gtk
    • Djvu
    sudo dnf install evince-djvu
    • GParted- for working with HDD partitions
    sudo dnf install gparted
    • Archivers
    sudo dnf install unar sudo dnf install unzip

    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.



    
    Top