Skip to content

Conversation

jeevithakannan2
Copy link
Contributor

Type of Change

  • Bug fix
  • Refactoring

Description

Installer -> Remove unreachable pacman case. dnf requires rustup-init before using rustup-init. Source .cargo/env after the installation of rustup.

Updater -> Formatting, Install rustup from dnf, change the wild case to use rustup.rs general installer from rust. Source the .cargo/env after the installation of rustup.

Testing

  • Tested on fedora 41 without issues.

Issues / other PRs related

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no errors/warnings/merge conflicts.

Installer -> Remove unreachable pacman case. dnf requires rustup-init before using rustup-init. Source .cargo/env after the installation of rustup.

Updater -> Formatting, Add dnf installation, change the wild case to use
rustup.rs general installer from rust. Source the .cargo/env after the
installation of rustup.
@jeevithakannan2 jeevithakannan2 changed the title Linutil installer and updated refact Linutil installer and updater refact Nov 19, 2024
Copy link
Collaborator

@adamperkowski adamperkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant with rustup default stable

@adamperkowski adamperkowski changed the title Linutil installer and updater refact refact(installer, updater): formatting & small fixes Nov 19, 2024
@adamperkowski adamperkowski added refactor script Pull requests that update scripts labels Nov 19, 2024
@jeevithakannan2
Copy link
Contributor Author

jeevithakannan2 commented Nov 19, 2024

No not until you run rustup-init the rustup command will not be available in fedora and alpine.

That is what causes this #955

Copy link
Collaborator

@adamperkowski adamperkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay then. Couldn't find any official documentation on it, that's why I commented.

@ChrisTitusTech ChrisTitusTech merged commit fbb4aac into ChrisTitusTech:main Jun 20, 2025
4 checks passed
@jeevithakannan2 jeevithakannan2 deleted the linutil-installer branch June 28, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor script Pull requests that update scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing linutil on Fedora 41
3 participants