Pages

Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

Wednesday, August 23, 2023

News : An old change double equals is deprecated.

... although the change is old, for me it is new !
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r == $(uname -r)"
Last metadata expiration check: 1:12:11 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Using '==' operator in reldeps can result in an undefined behavior. It is deprecated and the support 
will be dropped in future versions. Use '=' operator instead.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r = $(uname -r)"
Last metadata expiration check: 1:12:50 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Sunday, August 20, 2023

Fedora 39 : GitHub tickets.

You can get a free virtual ticket for a price of 0.
Datatime and Location: NOVEMBER 8—9 LIVE & VIRTUAL YERBA BUENA CENTER FOR THE ARTS, SAN FRANCISCO.

Friday, August 18, 2023

Fedora 39 : micro - terminal .

micro - a modern and intuitive terminal-based text editor, see more on this official website.
Let's see how works n Fedora 39 Linux Distro ...

Wednesday, August 16, 2023

Wednesday, August 9, 2023

Fedora 38 : Sway on VirtualBox.

Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11. It works with your existing i3 configuration and supports most of i3's features, plus a few extras.
You can find this desktop at this GitHub project.
The official webpage comes with a video tutorial on how to use it.
Installation is simple with these commands using the dnf tool:
# dnf group install sway-desktop-environment
# dnf install sway-config-fedora
It is possible to ask you for additional arguments for installation like this: --allowerasing or --skip-broken.
After installation, reboot and select sway from the desktop switcher
NOTE: The display for virtual video card from VirtualBox need to be set to Enable 3D Acceleration.
Let's see the result of this desktop environment ...

Fedora 38 : Openbox from GitHub.

I tried to use the OpenBox desktop environment in Fedora 38 and it seems to be incomplete, see also this thread.
I try to build the Openbox desktop from the source code, see the GitHub project.
$ git clone https://github.com/danakj/openbox.git
$ cd openbox
I need to install these: gettext-devel, glib2-devel, libtool, and pango-devel.X86_64 all devel libraries with dnf tool ...
Use the next commands, you will see some errors about some deprecated libraries and source code when you use the make command.
$ ./bootstrap
$ ./configure
$ make 
The go-to openbox folder to see the result:
$ cd openbox
$ ls -lFGC
The last step is to run the Openbox after you solve these:
Failed to open the display from the DISPLAY environment variable.
Openbox-Message: A window manager is already running on screen 0.
Because you are into environment area you need to close it.
After several attempts, I managed to pass these issues and ran the command:
$ ./xinit
This is the result is this:
I don't really have skills in this field of changes in Linux distributions and I wouldn't want to give wrong indications.

Saturday, August 5, 2023

Fedora 38 : Deepin on VirtualBox.

Today, I tested the Deepin environment on Virtual Box where I installed Fedora 38.
I do not recommend using this desktop environment on Virtual Box because it requires graphics resources.
Installation is simple as with any desktop environment installation, see this official webpage.
Here is the final result:

Tuesday, August 1, 2023

Fedora 39 : FASM tool in Fedora.

I searched the internet about the FASM tool and found references that it would be included in the Ubuntu distribution.
If you want to use FASM with the related language in the Fedora Linux distribution, then find the commands in the image below:

Sunday, July 30, 2023

Fedora 39 : Test with eDEX-UI.

eDEX-UI is a fullscreen, cross-platform terminal emulator and system monitor that looks and feels like a sci-fi computer interface.
This can be found on this GitHub project.
This is version for 64-bit Machines, you can download it with:
$ wget -c https://github.com/GitSquared/edex-ui/releases/download/v2.2.8/eDEX-UI-Linux-x86_64.AppImage
Change the file to be executable:
$ chmod +x eDEX-UI-Linux-x86_64.AppImage
Use this command:
$ ./eDEX-UI-Linux-x86_64.AppImage --appimage-extract
Go to this folder:
$ cd squashfs-root
Run the application:
$ ./AppRun
This is the result of running the application:

Fedora 39 : Resize the vdi file for VirtualBox.

NOTE : This will not change the size of the Linux partition. I tried to change the size in fedora linux with specific commands, but I didn't succeed. The distribution I tried was a server without a graphical environment so I could also try gparted software.
It is good to use the Fedora Linux distribution for tests and feedback to the Fedora team on a hardware system, such as an old laptop.
For quick tests and to save time, you can also install a version on VirtualBox, and sometimes you may not have enough space on the virtual disk.
You can try a tool called VBoxManage with this command to your named vdi file:
VBoxManage modifyhd "C:\Fedora\Fedora.vdi" --resize 81920
You may receive this error:
0%...VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Failed to resize medium
VBoxManage.exe: error: Resizing to new size 190756945920 is not yet supported for medium 'C:\Fedora\Fedora.vdi'
VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleModifyMedium(struct HandlerArg *)" at line 937 of
file VBoxManageDisk.cpp
You can check information about the vdi file on which the Fedora distribution is installed with this command:
VBoxManage showhdinfo "C:\Fedora\Fedora.vdi"
Make a clone of the vdi file.
VBoxManage clonehd "C:\Fedora\Fedora.vdi" "C:\Fedora\Fedoracloned.vdi"
...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone medium created in format 'VDI'. UUID: ...
Resize this cloned virtual disk with this command:
VBoxManage modifyhd "C:\Users\catafest\VirtualBox VMs\Fedora\Fedoracloned.vdi" --resize 30000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Saturday, July 29, 2023

Fedora 39 : DNF, DNF-3 and DNF5

Before installing DNF5 you should know that your installations with this tool in the fedora distribution may not work correctly
After implementation of dnf5 module install dnf and dnf5 cannot share the same location for storing state of modules, because dnf5 will store additional information about installed profiles (braking change). Modules enabled by DNF5 (dnf5 module enable <module>) will be not seen as enabled in DNF. Module profile installed by DNF5 will be not sees as installed in DNF. DNF will only see installed RPMs.
More details on this official webpage.
You can fix it with the dnf-3 tool if you accidentally modified or deleted the dnf tool.
A simple example is installing Deepin Desktop, which I could only install with DNF-3:
# dnf-3 install @deepin-desktop
The other dnf and dnf5 tools didn't work, I didn't wait to check if it's because of the repos. but it did not bring me the packets from the web and shows me transactions of 0 B.

Wednesday, July 26, 2023

Fedora 39 : First test with C# and Terminal.Gui.templates.

The current, stable, release of Terminal.Gui is v1.x. It is stable, rich, and broadly used. The team is now focused on designing and building a significant upgrade we're referring to as v2.
You can find it on this GitHub project.
$ dotnet new --install Terminal.Gui.templates
$ dotnet new tui -n test001
$ cd test001
$ dotnet run

Tuesday, July 25, 2023

Fedora 39 : Install and fix error with dotnet and copr.

Copr is an easy-to-use automatic build system providing a package repository as its output.
Free/Open source software that is harder to include in Fedora (usually because it is developed in a way that makes it difficult to package while implementing the Fedora packaging guidelines) is temporarily provided in an extra COPR repository, see the official webpage.
I tried to install dotnet following a tutorial on Fedora Magazine:
# dnf copr enable @dotnet-sig/dotnet
I obviously received errors related to copr, because is not install and I used Fedora 39, since Fedora 39 is still Rawhide.
I try to install copr with dnf5:
# dnf5 install copr
I got some errors on python-request-2.28.2-2.fc39.noarch conflicts with new one requested by dnf5 and I remove this package and I let to install the new one.
I try again with same command:
# dnf5 install copr
The next command was:
$ sudo dnf copr enable @dotnet-sig/dotnet fedora-38-x86_64
This allow me to use fedora-38-x86_64 and warn me about copr.
Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary ...
The last one is to install .NET Core:
# dnf5 install dotnet
This install all packages for .NET Core with SDK version 6.0 .
I tested with a simple project:
$ dotnet new console -o mythcat_console
$ cd mythcat_console
$ dotnet run 
Hello, World!
This is the way that can use Fedora packages with copr.

Thursday, July 20, 2023

Fedora 39 : Solve copy-paste in VirtualBox.

I'm using the Fedora 39 Linux distribution on an HP laptop and I also have it installed on a VirtualBox on my work computer. Today I will show you a way to solve copy paste between content on your computer and Fedora 39 on VirtualBox.
This requires Virtual Box to be set to bridge network as in the attached image.
The next step is to have the Cockpit tool installed, see instructions here.
Open the web address created by the Cockpit tool in your computer browser and go to the Terminal section. This way you will be able to transfer text content using your computer's browser and not the VirtualBox settings.
See the next image:

Saturday, July 8, 2023

Fedora 39 : DNF5 error update.

Sometimes errors may occur when installing Fedora packages using the dnf or dnf5 utility. One of the reasons may result from the coincidence of the package installation process. If you know how to build packages, how to develop the Fedora team, and how many repositories you have set up in your Linux distribution, then such an error can be easily fixed. Here is the error:
First, install the dnf5 and dnf5-plugins with this command:
sudo dnf install dnf5 dnf5-plugins
One good way to fix error is to have defined settings in : /etc/dnf/dnf.conf in order to have a good installation flow and how to link packages to the interconnected job.
See my example that fix this error:
Some packages may conflict in the repo and you can check with the dnf info fedora_repo_package command.
For example, you can use exclude=*.noarch in the [main] area.

Monday, June 26, 2023

News : The new DNF5 tool is on Fedora .

The new DNF5 will provide a significant improvement in user experiences and performance. The replacement is the second step in upgrade of Fedora Software Management stack. Without the change there will be multiple software management tool (DNF5, old Microdnf, PackageKit, and DNF) based on different libraries (libdnf, libdnf5), providing a different behavior, and not sharing a history and module state. We can also expect that DNF will have only limited support from upstream. The DNF5 development was announced on Fedora-Devel list in 2020.
You can read more on the official webpage on Fedora area.

Wednesday, May 31, 2023

Fedora 39 : GNOME new version 44.2 .

The GNOME Project proudly announced today the release and general availability of the GNOME 44 desktop environment series, a major update that brings several new features and lots of improvements.
You can read more on the official website.
You can see a first version 44 on this youtube video:

Tuesday, May 23, 2023

Fedora 39 : Share folder with Fedora on VirtualBox.

To share a folder called share between the Windows operating system and Fedora 39 using VirtualBox, the folder must be created and added to the settings as follows:
In VirtualBox, make sure the Fedora virtual machine is stopped.
Select the Fedora virtual machine in the list of virtual machines and click the "Settings" button on the top bar of the VirtualBox window.
In the "Settings" window of the virtual machine, select the "Shared Folders" category.
Click the "+" button on the right to add a new shared folder.
In the "Add Share" window, specify the following details:
Folder Path: Browse to and select the C:\share folder on the host.
Folder Name: You can enter a name for the shared folder.
Select the access options you want, such as "Auto-mount" and "Make Permanent".
Click the "OK" button to save the settings.
Start the Fedora virtual machine and on the Fedora virtual machine, open a terminal and run the following command to mount the shared folder:
You can see the file test.txt is visible in Fedora.

Sunday, May 21, 2023

Fedora 39 : Regular expressions with gedit editor.

Regular expressions can be used in the gedit editor using the Find and Replace option with the regular expressions checkbox selected. This can be used to remove empty lines from source code, remove comment lines, replace indexing - if using Python scripts, or replace content. Here's an example of how to remove empty lines from a text using regular expressions:

Friday, May 19, 2023

Fedora 39 : Using a stick or hard disk created in Windows.

When attached to USB, Linux distribution cannot access it.
Install these packages with the DNF utility.
sudo dnf install ntfs-3g
sudo dnf install ntfsfix
Use these commands to create a folder where it will be mounted and test if it can be mounted and where it is viewed :
sudo mkdir /mnt/mydrive
sudo mount -t ntfs-3g /dev/sdb1 /mnt/mydrive
dmesg| grep usb 
sudo mount /dev/sdb /mnt/mydrive
df -h
Fix errors with this command
sudo umount /dev/sdb1
sudo ntfsfix /dev/sdb1
It resumes the operation of mounting it in the folder named /mnt/mydrive:
sudo mount -t ntfs-3g /dev/sdb1 /mnt/mydrive
This command will mount as a superuser but can be modified as a normal user.
Create a USB folder into your home folder as normal user.
You can use these commands to use your files like a normal user:
[mythcat@fedora ~]$ sudo mount -t ntfs-3g /dev/sdb1 ~/USB
[sudo] password for mythcat: 
...
[mythcat@fedora ~]$ sudo umount /dev/sdb1