Pages

Showing posts with label Linux 32. Show all posts
Showing posts with label Linux 32. Show all posts

Friday, March 22, 2024

News : Flutter on Fedora 40 - the run debug info.

The run command comes with info about the running process, see:
[mythcat@fedora examples]$ ../flutter/bin/flutter run
Launching lib/main.dart on Linux in debug mode...
Building Linux application...                                           
Syncing files to device Linux...                                 1,488ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Linux is available at: http://127.0.0.1:38903/k8tmzU7n0NQ=/
The Flutter DevTools debugger and profiler on Linux is available at:
http://127.0.0.1:9100?uri=http://127.0.0.1:38903/k8tmzU7n0NQ=/
If you open that URL you will see this type of informations:

Sunday, March 17, 2024

News : Flutter on Fedora 40.

Flutter transforms the development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded experiences from a single codebase.
Read more on the official webpage.
Theoretically, Flutter can be used much easier in the Fedora 40 Linux distribution than in a Windows operating system.
The Windows installation method requires more complicated steps with the use of S.D.K. and settings of Android Studio I.D.E. .
Here are the steps you need to follow for a default installation.
[mythcat@fedora ~]$ mkdir ~/FlutterProjects
[mythcat@fedora ~]$ cd FlutterProjects/
[mythcat@fedora ~]$ wget https://storage.googleapis.com/flutter_infra_release/releases
/stable/linux/flutter_linux_3.3.10-stable.tar.xz
[mythcat@fedora ~]$ tar xf flutter_linux_3.3.10-stable.tar.xz
[mythcat@fedora ~]$
...

[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter doctor

┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available!                  │
│                                                         │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
...

      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] Connected device (1 available)
[✓] HTTP Host Availability

! Doctor found issues in 3 categories.
[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter upgrade

...

    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.87.2)
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 4 categories.

[mythcat@fedora FlutterProjects]$ ./flutter/bin/flutter config --enable-linux-desktop
Setting "enable-linux-desktop" value to "true".

You may need to restart any open editors for them to read new settings.

[mythcat@fedora FlutterProjects]$ mkdir examples
[mythcat@fedora FlutterProjects]$ cd examples/

[mythcat@fedora examples]$ ../flutter/bin/flutter create .
Creating project ....
Resolving dependencies... (5.1s)
Got dependencies.
Wrote 129 files.

All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider:
https://www.youtube.com/c/flutterdev

In order to run your application, type:

  $ cd .
  $ flutter run

Your application code is in ./lib/main.dart.

[mythcat@fedora examples]$ cd .
[mythcat@fedora examples]$ ls
analysis_options.yaml  ios    macos         README.md  windows
android                lib    pubspec.lock  test
examples.iml           linux  pubspec.yaml  web
[mythcat@fedora examples]$ ../flutter/bin/flutter run
The result is this simple default example:

Wednesday, February 21, 2024

News : SELinux wizzard tool !

I found today in Fedora linux this tool for SELinux with a GUI that allows creating linux security policies.
I will write a little about this system because it is a very good solution.
When I started studying selinux, it was not very well implemented and it seems that the interest of users to be protected is higher.
As you well know, the starting points are network security and data protection and kernel-level intrusions into software.
For those who don't know, SELinux is a system that allows limiting defined resources and allowing other actions or not.
I tested the tool and I can say that it solves only the standard file creation part without the possibility of selecting the SELinux bools variables.
If the one who created this tool will continue to be a very good tool.
It's currently a wizzard interface, I'd call it a Node Editor to allow the assembly of different processing blocks (nodes) into combinations that feed data to each other along connections you specify to produce complex effects.
After completing the steps in the wizard, you will have some default files.
I used the name firefox because the security of the browser is very low at the moment.
Here are some images of this tool:

Saturday, February 3, 2024

News : VirtualBox 7.0.14 released! from Oracle.

Oracle today released a 7.0 maintenance release which improves stability and fixes regressions. See the Changelog
I also use a version of Fedora running on VirtualBox for tests and rapid development.
Most use Linux on older hardware as a backup OS...
You can use Linux with specific non-default settings for good security of the operating system, but it does not make it invincible.
I don't know if VirtualBox solved the resize of the virtual partition - this was the last issue I encountered with this tool, but it is useful if you want to test something quickly.

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

Monday, May 8, 2023

Fedora 39 : The vifm file manager ...

My monitor broke a few days ago so i'm using an old laptop. Website posts will be less frequent.
You can use the vifm file manager in Fedora 39 easy.
Use the DNF command tool to install it.
[root@fedora mythcat]# dnf install vifm
See the result of this file manager: