[root@desk mythcat]# dnf -y update
...
[mythcat@desk ~]$ cp Downloads/LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz ~
[mythcat@desk ~]$ ls LibreOffice*
LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz
[mythcat@desk ~]$ tar xvf LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz
LibreOffice_7.0.0.3_Linux_x86-64_rpm/
LibreOffice_7.0.0.3_Linux_x86-64_rpm/RPMS/
...
[mythcat@desk ~]$ cd LibreOffice_7.0.0.3_Linux_x86-64_rpm/
[mythcat@desk LibreOffice_7.0.0.3_Linux_x86-64_rpm]$ cd RPMS/
[mythcat@desk RPMS]$ sudo dnf install *.rpm
[sudo] password for mythcat:
Last metadata expiration check: 2:09:12 ago on Sat 22 Aug 2020 10:33:11 PM EEST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libobasis7.0-base x86_64 7.0.0.3-3 @commandline 1.8 M
libobasis7.0-calc x86_64 7.0.0.3-3 @commandline 9.5 M
libobasis7.0-core x86_64 7.0.0.3-3 @commandline 101 M
libobasis7.0-draw x86_64 7.0.0.3-3 @commandline 6.1 k
libobasis7.0-en-US x86_64 7.0.0.3-3 @commandline 88 k
...
Complete!
The last step is to run this software from Fedora 32 distro desktop environment.
tutorials, tips, tricks, commands, programming, linux, windows, database, sql, python, programming language, Fedora, drawing, painting, tutorial, tutorials
Sunday, August 23, 2020
Fedora 32 : Install LibreOffice_7.0.0 .
The latest releases of LibreOffice is version 7.0.0 and is available for Fedora 32 distro from here.
To install it you need to use these commands:
Posted by
Cătălin George Feștilă
Labels:
2020,
Fedora,
Fedora 32,
LibreOffice,
linux tools,
tool,
tools,
tutorial,
tutorials
Tuesday, August 18, 2020
Fedora 32 : Repair the starting LightDM display manager.
LightDM is a cross-desktop display manager with these features:
- Cross-desktop - supports different desktop technologies.
- Supports different display technologies (X, Mir, Wayland ...).
- Lightweight - low memory usage and high performance.
- Supports guest sessions.
- Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP, pluggable).
- Comprehensive test suite.
- Low code complexity.
[mythcat@desk ~]$ sudo systemctl get-default
[sudo] password for mythcat:
multi-user.target
[mythcat@desk ~]$ sudo systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
Restart your Fedora distro and use it.
Posted by
Cătălin George Feștilă
Labels:
2020,
display manager,
dnf,
Fedora,
Fedora 32,
LightDM,
linux,
linux tools,
tutorial,
tutorials
Saturday, August 15, 2020
Fedora 32 : Accurate timekeeping with chronyd daemon.
Accurate timekeeping is important in networking because accurate time stamps in packets and logs are required.
In Linux operating systems, the NTP protocol is implemented by a daemon running in userspace.
For Fedora distro, you can choose between the daemons ntpd and chronyd. Today I will show you how to use the chronyd.
The Fedora documentation can be found on the official website.
Let's install and use this:
In Linux operating systems, the NTP protocol is implemented by a daemon running in userspace.
For Fedora distro, you can choose between the daemons ntpd and chronyd. Today I will show you how to use the chronyd.
The Fedora documentation can be found on the official website.
Let's install and use this:
[root@desk mythcat]# dnf install chrony
...
[root@desk mythcat]# vim /etc/chrony.conf
With the vim tool now you can add the
In most cases, it's best to use pool.ntp.org to find an NTP server or use servers from your country.
Now, I can start and enable the daemons named chronyd and add it to the firewall.
[root@desk mythcat]# systemctl start chronyd
[root@desk mythcat]# systemctl status chronyd
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor p>
Active: active (running) since Sat 2020-08-15 12:23:08 EEST; 9h ago
Docs: man:chronyd(8)
man:chrony.conf(5)
Main PID: 10071 (chronyd)
Tasks: 1 (limit: 11800)
Memory: 1.0M
CPU: 93ms
CGroup: /system.slice/chronyd.service
└─10071 /usr/sbin/chronyd
Aug 15 12:23:08 desk systemd[1]: Starting NTP client/server...
Aug 15 12:23:08 desk chronyd[10071]: chronyd version 3.5 starting (+CMDMON +NTP>
Aug 15 12:23:08 desk chronyd[10071]: Frequency -13.819 +/- 0.344 ppm read from >
Aug 15 12:23:08 desk chronyd[10071]: Using right/UTC timezone to obtain leap se>
Aug 15 12:23:08 desk systemd[1]: Started NTP client/server.
Aug 15 12:23:13 desk chronyd[10071]: Selected source 78.96.7.25
Aug 15 12:23:13 desk chronyd[10071]: System clock TAI offset set to 37 seconds
[root@desk mythcat]# systemctl enable chronyd
[root@desk mythcat]# firewall-cmd --add-service=ntp --permanent
success
[root@desk mythcat]# firewall-cmd --reload
success
You can use it with chronyc command tool:
[root@desk mythcat]# chronyc sources
210 Number of sources = 4
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^+ blackmamba-g0.eff.ro 3 10 377 692 -1192us[-1273us] +/- 92ms
^+ corporate1.bluepink.ro 2 10 377 200 -1441us[-1441us] +/- 52ms
^+ static-5-2-155-141.rdsne> 2 10 377 468 +1622us[+1540us] +/- 51ms
^* dummy.upcnet.ro 2 10 377 435 -1221us[-1303us] +/- 57ms
[root@desk mythcat]# chronyc tracking
Reference ID : 4E600719 (dummy.upcnet.ro)
Stratum : 3
Ref time (UTC) : Sat Aug 15 19:06:18 2020
System time : 0.000439648 seconds fast of NTP time
Last offset : -0.000081712 seconds
RMS offset : 0.000591977 seconds
Frequency : 13.753 ppm slow
Residual freq : -0.000 ppm
Skew : 0.235 ppm
Root delay : 0.069966756 seconds
Root dispersion : 0.017129980 seconds
Update interval : 1036.2 seconds
Leap status : Normal
[root@desk mythcat]# chronyc activity
200 OK
4 sources online
0 sources offline
0 sources doing burst (return to online)
0 sources doing burst (return to offline)
0 sources with unknown address
Friday, August 7, 2020
Fedora 32 : First example with C# on Fedora distro.
Let's enable the COPR repository for dotnet:
[mythcat@desk ~]$ sudo dnf copr enable @dotnet-sig/dotnet
[sudo] password for mythcat:
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.
The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
,
and packages are not held to any quality or security level.
Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Do you really want to enable copr.fedorainfracloud.org/@dotnet-sig/dotnet? [y/N]: y
Repository successfully enabled.
Install the .NET Core package:
[mythcat@desk ~]$ sudo dnf install dotnet
Copr repo for dotnet owned by @dotnet-sig 42 kB/s | 59 kB 00:01
Dependencies resolved.
=================================================================================
Package Arch Version Repository Size
=================================================================================
Installing:
dotnet x86_64 3.1.106-1.fc32 updates 11 k
Installing dependencies:
aspnetcore-runtime-3.1 x86_64 3.1.6-1.fc32 updates 6.2 M
aspnetcore-targeting-pack-3.1 x86_64 3.1.6-1.fc32 updates 945 k
dotnet-apphost-pack-3.1 x86_64 3.1.6-1.fc32 updates 70 k
dotnet-host x86_64 3.1.6-1.fc32 updates 104 k
dotnet-hostfxr-3.1 x86_64 3.1.6-1.fc32 updates 164 k
dotnet-runtime-3.1 x86_64 3.1.6-1.fc32 updates 27 M
dotnet-sdk-3.1 x86_64 3.1.106-1.fc32 updates 41 M
dotnet-targeting-pack-3.1 x86_64 3.1.6-1.fc32 updates 1.8 M
dotnet-templates-3.1 x86_64 3.1.106-1.fc32 updates 1.8 M
netstandard-targeting-pack-2.1 x86_64 3.1.106-1.fc32 updates 1.3 M
Transaction Summary
=================================================================================
Install 11 Packages
Total download size: 79 M
Installed size: 298 M
Is this ok [y/N]:
...
Use this tutorial to install Visual Studio Code.
Press Ctr-P keys to install the C# extension by OmniSharp.
ext install ms-dotnettools.csharp
The last step is to create a application HelloWorld:
[mythcat@desk ~]$ dotnet new console -o HelloWorld
Welcome to .NET Core 3.1!
---------------------
SDK Version: 3.1.106
----------------
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
--------------------------------------------------------------------------------------
Getting ready...
The template "Console Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on HelloWorld/HelloWorld.csproj...
Restore completed in 119.48 ms for /home/mythcat/HelloWorld/HelloWorld.csproj.
Restore succeeded.
You can run it with dotnet run command:
[mythcat@desk ~]$ cd HelloWorld/
[mythcat@desk HelloWorld]$ ls
HelloWorld.csproj obj Program.cs
[mythcat@desk HelloWorld]$ dotnet run Program.cs
Hello World!
Posted by
Cătălin George Feștilă
Labels:
2020,
C#,
development,
dotnet,
Fedora,
Fedora 32,
linux,
linux tools,
programming,
tool,
tools,
tutorial,
tutorials
Sunday, August 2, 2020
Fedora 32 : Play games with Steam service.
Steam is a video game digital distribution service by Valve. It was launched as a standalone software client in September 2003 as a way for Valve to provide automatic updates for their games, and expanded to include games from third-party publishers., see Wikipedia.
Is very easy to install and play a game with Fedora 32 Linux distro, just follow these commands:
Is very easy to install and play a game with Fedora 32 Linux distro, just follow these commands:
[mythcat@desk ~]$ sudo dnf update --refresh
[sudo] password for mythcat:
Fedora 32 openh264 (From Cisco) - x86_64 1.1 kB/s | 986 B 00:00
Fedora Modular 32 - x86_64 39 kB/s | 22 kB 00:00
Fedora Modular 32 - x86_64 - Updates 26 kB/s | 22 kB 00:00
Fedora 32 - x86_64 - Updates 10 kB/s | 9.8 kB 00:00
Fedora 32 - x86_64 20 kB/s | 23 kB 00:01
google-chrome 7.6 kB/s | 1.3 kB 00:00
MEGAsync 4.7 kB/s | 1.5 kB 00:00
MongoDB Repository 4.4 kB/s | 2.5 kB 00:00
RPM Fusion for Fedora 32 - Free - Updates 21 kB/s | 9.1 kB 00:00
RPM Fusion for Fedora 32 - Free 25 kB/s | 10 kB 00:00
RPM Fusion for Fedora 32 - Nonfree - Updates 20 kB/s | 9.3 kB 00:00
RPM Fusion for Fedora 32 - Nonfree 18 kB/s | 10 kB 00:00
Visual Studio Code 6.6 kB/s | 3.0 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@desk ~]$ sudo dnf install steam -y
Last metadata expiration check: 0:00:09 ago on Sun 02 Aug 2020 04:59:49 PM EEST.
Package steam-1.0.0.64-1.fc32.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@desk ~]$ steam
Running Steam on fedora 32 64-bit
STEAM_RUNTIME is enabled automatically
Pins potentially out-of-date, rebuilding...
...
Now you can pick a game from store steam and play it.
Tuesday, July 28, 2020
Fedora 32 : Play Minecraft with TLauncher.
Today I will show you how you can install java and use TLauncher to play Minecraft game on Fedora 32.
You need to have version Java 9 or 10 in order to use this software.
First, download the archive from the official website.
Create a folder name and unzip it into this folder and use these commands:
You need to have version Java 9 or 10 in order to use this software.
First, download the archive from the official website.
Create a folder name and unzip it into this folder and use these commands:
[mythcat@desk TLauncher]$ ls
README-EN.txt README-RUS.txt TLauncher-2.72.jar
[mythcat@desk TLauncer]$ sudo su
[root@desk TLauncher]# dnf list java* | grep openjdk-devel
java-latest-openjdk-devel.x86_64 1:14.0.1.7-2.rolling.fc32 @updates
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.262.b10-1.fc32 updates
java-1.8.0-openjdk-devel-slowdebug.i686 1:1.8.0.262.b10-1.fc32 updates
java-1.8.0-openjdk-devel-slowdebug.x86_64 1:1.8.0.262.b10-1.fc32 updates
java-11-openjdk-devel.i686 1:11.0.8.10-2.fc32 updates
java-11-openjdk-devel.x86_64 1:11.0.8.10-2.fc32 updates
java-11-openjdk-devel-slowdebug.x86_64 1:11.0.8.10-2.fc32 updates
java-latest-openjdk-devel.i686 1:14.0.1.7-2.rolling.fc32 updates
java-latest-openjdk-devel-slowdebug.x86_64 1:14.0.1.7-2.rolling.fc32 updates
[root@desk TLauncher]# dnf install java-11-openjdk.x86_64
Last metadata expiration check: 0:09:17 ago on Tue 28 Jul 2020 09:33:24 PM EEST.
Dependencies resolved.
=====================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================
Installing:
java-11-openjdk x86_64 1:11.0.8.10-2.fc32 updates 251 k
Installing dependencies:
java-11-openjdk-headless x86_64 1:11.0.8.10-2.fc32 updates 38 M
ttmkfdir x86_64 3.0.9-58.fc32 fedora 58 k
xorg-x11-fonts-Type1 noarch 7.5-24.fc32 fedora 500 k
Transaction Summary
=====================================================================================================================
Install 4 Packages
Total download size: 39 M
Installed size: 173 M
Is this ok [y/N]: y
...
[root@desk TLauncher]# sudo alternatives --config java
There are 4 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /opt/jdk1.8.0_232/bin/java
2 /opt/jdk1.8.0_201/bin/java
*+ 3 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-1.fc32.x86_64/jre/bin/java)
4 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86_64/bin/java)
Enter to keep the current selection[+], or type selection number: 4
[root@desk TLauncher]# export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86_64/
[root@desk TLauncher]# echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86
[root@desk TLauncher]# java -version
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment 18.9 (build 11.0.8+10)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10, mixed mode, sharing)
Now you can start the program:
[mythcat@desk TLauncher]$ sudo java -jar TLauncher-2.72.jar
-------------------------------------------------------------------
run double running protection
[Downloader2] Loaded configuration: normal
[Downloader2] Files in queue 15
[Downloader2] Starting download 15 files...
...
The last command will run the software and you will able to play the game.
Saturday, July 11, 2020
Fedora 32 : Upgrade from Fedora 31 to the new Fedora 32.
Today I managed to upgrade to Fedora 32.
After some time I started the system and used the tutorial from here.
I also used the following Linux commands:
After some time I started the system and used the tutorial from here.
I also used the following Linux commands:
#sudo dnf distro-sync --allowerasing
#dnf reinstall xorg-\* mesa\* libglvnd\*
In the following image, you can see the new upgrade works very well with my Cinnamon desktop environment.
Subscribe to:
Posts (Atom)