Skip to main content

the avatar of openSUSE News

openSUSE’s Brazilian Community to Celebrate Leap Release

Members of the openSUSE Brazilian community are getting together for a release party on June 15 for openSUSE Leap 15.4.

The team is developing a full schedule and will be doing live lectures and will give away a few items.

The event will be on YouTube and people are asked to sign up for a ticket to receive the participation link.

The event will run from 1 to 6 p.m. Brazilian Standard Time (16:00 UTC - 22:00 UTC). Leap 15.4 will be released on June 8.

the avatar of Stefan Dirsch

NVIDIA Open GPU kernel modules: openSUSE/SLE packages available

Important Notice

With my new blogpost Installation of NVIDIA drivers on openSUSE and SLE this article here became more or less obsolete. So it is highly recommended to read my new article there instead.

Introduction

On May 19, 2022 NVIDIA made a release of their Open GPU kernel modules for their newer GPU platforms (Turing and newer) with Risc-V system processor. Meanwhile we have packages available in our currently supported openSUSE/SLE distributions. If you want to use these you need to install nvidia-open-driver-G06-signed package.

Installation

Installation instructions since Leap 15.6/SLE15-SP6 and Tumbleweed:

# will install needed packages
zypper in nvidia-open-driver-G06-signed-kmp-default

Find supported Turing/Ampere/Hopper/Ada/Blackwell GPUs here. Check with inxi -aG. Use hwinfo --gfxcard on SLE.

Display Drivers

nvidia-video-G06, nvidia-gl-G06 and nvidia-compute-utils-G06 packages are available via NVIDIA’s openSUSE/SLE repositories, which then can be used together with NVIDIA’s Open GPU kernel modules above.

Installing Display Drivers on Leap 15.6/Tumbleweed/SLE15-SPx

# if you have not added this repository yet
# Leap 15.6
zypper addrepo https://download.nvidia.com/opensuse/leap/15.6/  nvidia
# Leap 16.0 (Beta)
zypper addrepo https://download.nvidia.com/opensuse/leap/16.0/  nvidia
# Tumbleweed
zypper addrepo https://download.nvidia.com/opensuse/tumbleweed/  nvidia
# SLE15-SP6
zypper addrepo https://download.nvidia.com/suse/sle15sp6/  nvidia
# SLE15-SP7
zypper addrepo https://download.nvidia.com/suse/sle15sp7/  nvidia
# SLE16 (Beta)
zypper addrepo https://download.nvidia.com/suse/sle16/  nvidia

# install all required packages
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-default | cut -d "_" -f1 | sort -u | tail -n 1)
zypper in nvidia-video-G06 == ${version} nvidia-compute-utils-G06 == ${version}

CUDA

With that - after installing nvidia-compute-utils-G06 (which requires nvidia-compute-G06, which contains libcuda) - you can experiment with CUDA. Install CUDA stack from NVIDIA’s webserver.

Installing CUDA on Leap 15.6/Tumbleweed/SLE15-SPx

# if you have not added this repository yet
# Leap 15.6/16.0(Beta)/Tumbleweed
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/opensuse15/x86_64/  cuda
# SLE15-SPx/SLE16(Beta) (x86_64)
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/sles15/x86_64/  cuda
# SLE15-SPx/SLE16(Beta) (aarch64)
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/sles15/sbsa/  cuda

# will install needed CUDA packages
zypper in cuda-toolkit-12-8

# Unfortunately the following package is not available for aarch64,
# but there are CUDA samples available on GitHub, which can be
# compiled from source: https://github.com/nvidia/cuda-samples
zypper in cuda-demo-suite-12-8

Let’s have a first test for using libcuda (only available on x86_64).

/usr/local/cuda-12.8/extras/demo_suite/deviceQuery

CUDA Minimal Installation

Users, who don’t need a graphical desktop, can omit the installation of the display driver packages above and perform a CUDA Minimal Installation instead.

version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-default | cut -d "_" -f1 | sort -u | tail -n 1)
zypper in nvidia-compute-utils-G06 == ${version} cuda-libraries-12-8

Longterm Kernel on Tumbleweed

In case you’re using Tumbleweed’s longterm Kernel (kernel-longterm), please replace default with longterm in the commands above, i.e.

[...]
# Installation
zypper in nvidia-open-driver-G06-signed-kmp-longterm
[...]
# Display Drivers / CUDA Minimal Installation
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-longterm | cut -d "_" -f1 | sort -u | tail -n 1)
[...]

Feedback

If you have questions, comments and any kind of feedback regarding this topic, don’t hesitate to contact me via email. Thanks!

a silhouette of a person's head and shoulders, used as a default avatar

Script en bash que muestra el uptime de nuestro sistema

Un script en bash que muestra en formato entendible para humanos el dato del uptime de nuestro sistema GNU/Linux

Tal como podemos leer en la Wikipedia, el dato de «uptime» es:

el tiempo en el que una máquina o servidor se mantiene activo durante un tiempo determinado.

Es decir, el tiempo que nuestro equipo lleva funcionando sin reiniciar, ni apagar.

Para conocer el dato, en GNU/Linux tenemos el comando «uptime» que nos mostrará la hora actual, el tiempo propio del uptime de la máquina, el número de usuarios registrados y la carga promedio de la CPU en el último minuto, cinco minutos y quince minutos.

Muy bie, pero yo solo quiero que me muestre el dato del uptime de una manera sencilla y directa y «entendible por humanos».

Así que también podemos acceder al dato ejecutando:

cat /proc/uptime

Que nos mostrará unos valores y en concreto para este caso nos interesa el primero de los dos valores, que es el tiempo en segundos del uptime.

Procesando esos datos en segundos de la manera apropiada mediante el script en Bash, podemos descomponer el dato en días, minutos y segundos y mostrarlos de una manera sencilla al usuario.

Eso es lo que hace este pequeño script llamado «aptaim» (castellanización del término en inglés «uptime») en Bash que está disponible en GitLab:

Descarga el archivo mediante:

wget https://gitlab.com/victorhck/aptaim/-/raw/main/aptaim

Dale permisos de ejecución:

chmod +x aptaim

Y muévelo a la carpeta que quieras, por ejemplo /usr/bin/, y simplemente ejecútalo. Vale, no es mucho lo que hace, pero era lo que yo quería/necesitaba. 🙂

Si a ti de alguna manera te sirve/quieres pues muy bien... quizás en un próximo artículo lo utilice para otros menesteres… 🙂

a silhouette of a person's head and shoulders, used as a default avatar

A-T-Scarlet-sword cursores de Adventure Time para tu PC

Hoy toca una entrada ligera ya que os presento A-T-Scarlet-sword, unos cursores inspirados en la serie de animación Adventure Time, conocida en España como Hora de aventuras para tu PC.

A-T-Scarlet-sword cursores de Adventure Time para tu PC

Nacidos de la mano y de la mente de darkeye90 nos llegan los cursores A-T-Scarlet-sword un conjunto de cursores inspirados en una serie de animación Adventure Time realizados mediante Inkscape y GIMP. Hay que comentar que no son muy completos pero pueden ser el inicio de una interesante proyecto para los simpatizantes de esta serie.

A-T-Scarlet-sword cursores de Adventure Time para tu PC

Y como siempre digo, si os gusta este conjunto de cursores A-T-Scarlet-sword podéis «pagarlo» de muchas formas en la página de KDE Store, que estoy seguro que el desarrollador lo agradecer?: puntúale positivamente, hazle un comentario en la página o realiza una donación. Ayudar al desarrollo del Software Libre también se hace simplemente dando las gracias, ayuda mucho más de lo que os podéis imaginar, recordad la campaña I love Free Software Day 2017 de la Free Software Foundation donde se nos recordaba esta forma tan sencilla de colaborar con el gran proyecto del Software Libre y que en el blog dedicamos un artículo.

Más información: KDE Store

Cómo cambiar el tema de los cursores en Plasma

Al igual que con los iconos hay varias formas de cambiar el tema de cursores en Plasma, pero la más fácil es:

  • Abrir las Preferencias del Sistema
  • Ir a la sección Tema de Cursor
  • En esta ventana pinchar en «Obtener nuevos temas»
  • Buscar Material, seleccionar el estilo y dar a instalar.
  • Seleccionar el tema y aplicar.

Si tenéis dificultad, simplemente se debe descargar a tu disco duro y extraer el tema en «/usr/share/icons» o «~/.icons».

Rápido, sencillo y efectivo, como la mayoría de cosas en en el escritorio Plasma de la Comunidad KDE.

La entrada A-T-Scarlet-sword cursores de Adventure Time para tu PC se publicó primero en KDE Blog.

the avatar of Stefan Dirsch

Drascula: Improving your Spanish language skills by playing an Adventure Game

Recently I was packaging one of the Retro freeware games, which are supported by the ScummVm project. It’s called Drascula: The Vampire Strikes Back and the story is some kind of strange mixture between Dracula and Frankenstein.

Drascula: The Vampire Strikes Back

Language Support

When testing the language support I noticed, that it has been originally developed by a company in Spain called Alcachofa Soft S.L., so additional to English it also includes speech in Spanish. Subtitles are available in English, German , French, Italian and Spanish. Therefore I decided to try improving my Spanish language skills and began to play this Adventure. And although the game is from 1996 I enjoyed it a lot!

I figured out that if you press SPACE while a character is speaking, the sentence will be interrupted (apart from the voice part). And by pressing SPACE again the game continues. Which was rather useful for me in order to have more time for reading and understanding the subtitles. Press F7/F10 to load/save the game.

Installation

You can find drascula and scummvm packages in the games repository of the openSUSE Build Service.

Installation instructions for openSUSE Leap:

# if you don't have added the 'games' repository yet
# Leap 15.4
zypper addrepo https://download.opensuse.org/repositories/games/openSUSE_Leap_15.4/  games
# Leap 15.5
zypper addrepo https://download.opensuse.org/repositories/games/openSUSE_Leap_15.5/  games
# will install 'scummvm' package and other dependancies automatically
zypper in drascula

Then just run the command drascula, select your language (via xmessage - isn’t this retro?) and enjoy!

Need help?

And in case you struggle - Walkthroughs are available on Youtube - also in Spanish. :-)

Running on Windows, MacOS, etc.

In case you’re using Windows, MacOS, etc. There are precompiled executables of the ScummVM program availabe for download on the ScummVM Download Page, which you can easily install on your machine. Don’t forget to download also the Drascula datafiles. You will need: Freeware Version (English), Freeware Version (Music Adon, OGG format) and Freeware Version (Updated Spanish, German, French and Italian AddOn). Extract all of them in your favorite directory (readme.txt can be overriden), then run scummvm, press Add Game and Choose the directory, into which you installed the Drascula datafiles right before. Now select Graphics, enable Override global graphic setting, set Scaler to HQ and 3x and enable Fullscreen mode. Now select Audio, enable Override global audio setting and set Text and speech to Both. Press Ok. Then press Start to start the game. Have fun!

a silhouette of a person's head and shoulders, used as a default avatar

Cómo evitar extranjerismos en el español

Hoy me quiero poner un poco pedante, y es que un tema para aquellos que escribimos mucho es evitar las palabras inventadas o los llamados anglicismos (ya que la mayoría vienen de ese idioma), algo que la mayoría de las lenguas evitan. Es por eso que de la mano de FundéuRAE he encontrado (gracias Rubén) un artículo que nos ayuda a evitar extranjerismo en el español con una serie de consejos y resolviendo algunas dudas habituales

Cómo evitar extranjerismos en el español

Para empezar quisiera comentar que la Fundación del Español Urgente —FundéuRAE— es una institución sin ánimo de lucro que tiene como principal objetivo impulsar el buen uso del español en los medios de comunicación, promovida por la Real Academia Española (RAE) y la Agencia EFE.

Esta fundación, con motivo del Día Mundial de Internet que se celebró el 17 de mayo, ha realizado un artículo donde se repasan algunos extranjerismos muy utilizados en este ámbito pero que tienen alternativas en español. Como extra también comenta como tratar con algunos términos que plantean dudas en cuanto a su escritura.

Cómo evitar extranjerismos en el español

De esta forma, ya a modo de ejemplo, tenemos la palabra estrella Internet, que puede escribirse internet con inicial minúscula si se considera un nombre común referido al servicio, y con mayúscula si se percibe como nombre propio de la red. Además, puede emplearse tanto en masculino como en femenino.

Por otra parte tenemos una serie de palabras que deberían ser traducidas como son:

  • Online: que puede traducirse por conectado, digital, electrónico, en internet o en línea.
  • Hacer clic, clicar y cliquear son tres formas adecuadas para indicar la presión o golpe que se hace con el ratón del computador, en lugar de la voz inglesa click.
  • Medios sociales es el equivalente recomendado de la expresión inglesa social media.
  • Link debe traducirse como enlace o vínculo.

Como evidentemente no quiero hacer un copia y pega, os remito a todo el artículo para escribamos un poco mejor.

Más información: FundéuRAE

La entrada Cómo evitar extranjerismos en el español se publicó primero en KDE Blog.

the avatar of Innovators for openSUSE
the avatar of Alessandro de Oliveira Faria

Usando módulo NVIDIA opensource em desktops

Veremos aqui como instalar o modulo do kernel opensource da NVIDIA, entretanto na versão 515.48.07 o suporte a GeForce e Workstation ainda é considerado de qualidade alfa. Então para forçar a instalação, devemos usar o parâmetro NVreg_OpenRmEnableUnsupportedGpus como veremos a seguir.

Primeiramente efetue o download dos fontes com o comando git e entre na pasta recém criada:

$ git clone https://github.com/NVIDIA/open-gpu-kernel-modules
$ cd open-gpu-kernel-modules
$ make modules -j`nproc` 
$ sudo make modules_install -j`nproc`

Para um melhor entendimento, veja o video abaixo:

Video em: https://asciinema.org/a/499553

Agora efetue o download do driver para instalar o firmware e componentes baixando o instalado em https://www.nvidia.com.br/content/DriverDownload-March2009/confirmation.php?url=/XFree86/Linux-x86_64/515.48.07/NVIDIA-Linux-x86_64-515.48.07.run

Execute o arquivo recém baixado com o parâmetro no-kernel-modules

$ sudo sh ./NVIDIA-Linux-x86_64-515.48.07.run  --no-kernel-modules     
Video em: https://asciinema.org/a/499557

Agora devemos criar o arquivo nvidia.conf com o comando abaixo para habilitar o uso em desktop:

$ sudo echo "blacklist nouveau" > /etc/modprobe.d/nvidia.conf
$ sudo echo "options nvidia NVreg_OpenRmEnableUnsupportedGpus=1" >> /etc/modprobe.d/nvidia.conf
$ sudo mkinitrd

Com tudo configurado, vamos levantar o modulo do kernel.

$ sudo modprobe nvidia

Agora se tudo estiver funcionando corretamente, basta usar os comando abaixo para testar o respectivo funcionamento.

$ sudo modinfo nvidia | grep license                                                                                            license:        Dual MIT/GPL                     
$ cat /proc/driver/nvidia/version                                                                                          NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  515.48.07  Release Build  (cabelo@localhost.localdomain)  sáb 04 jun 2022 17:35:41 -03      GCC version:  gcc version 11.2.1 20220420 [revision 691af15031e00227ba6d5935c1d737026cda4129] (SUSE Linux)  
     
Video em: https://asciinema.org/a/499572

E pronto!

the avatar of Network Users Institute

cheat, la seule commande linux dont vous aurez besoin !

J’ai sélectionné deux distributions Linux (openSUSE & Debian) pour écrire ce tuto. C’est assez simple comme installation, mais excellent comme aide-mémoire ! On commence par ajouter un dépôt, (la version 15.4 de snappy n’est pas encore publiée) sudo zypper addrepo –refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.3 snappy Puis, on importe les clés GpG sudo zypper –gpg-auto-import-keys refresh On fait …

cheat, la seule commande linux dont vous aurez besoin !Read More »

The post cheat, la seule commande linux dont vous aurez besoin ! appeared first on Cybersécurité, Linux et Open Source à leur plus haut niveau | Network Users Institute | Rouen - Normandie.