You are not logged in.

#1 2025-07-10 15:37:10

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

[SOLVED] cargo installation and paru question

So as the https://wiki.archlinux.org/title/Rust#Installation says, I'm going to install rustup to write start writing some programs in Rust.

But I checked that when I use  paru today I saw this:

:: Looking for devel upgrades...
:: Resolving dependencies...

:: There are 2 providers available for cargo:
:: Repository extra:
    1) rust  2) rustup
Enter a number (default=1):

I'm assuming that paru is just trying to update himself, and therefore it's trying to install cargo, since now I only have one AUR package that doesn't use cargo. But I imagine that cargo is only going being installed temporally as a dependency for updating paru[If I make the installation of course], since it's written in Rust and I still don't have any rust compiler or cargo installed by pacman, as I checked with pacman -Qqe .

So my questions are:

1)  I'm right on what I believe paru is trying to do ?
2)  Should I quit using paru as AUR helper if I  install rustup, so I can avoid a dependency hell or similar by cargo? Or I'll be fine because pacman or paru is smart enough to just handle one cargo dependency or create and delete a temporal cargo just for paru updates ? Or I should try this from now on https://wiki.archlinux.org/title/Arch_U … g_packages ?

Last edited by Succulent of your garden (2025-07-10 21:46:05)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Offline

#2 2025-07-10 16:46:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,153

Re: [SOLVED] cargo installation and paru question

1) I'm assuming you enabled removal of makedeps on completion which is why this might be likely yes, as you will have to have had it installed at some point to build paru.
2) Assuming you stick to the Arch packages both rust and rustup fulfill the relevant dependency, so assuming you want to work with rustup from the Arch repos you can just install rustup and the corresponding cargo dependency will be resolved from there.

Offline

#3 2025-07-10 21:45:08

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

Re: [SOLVED] cargo installation and paru question

Thanks V1del. I just installed rustup and paru detected immediately that cargo was installed smile


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Offline

Board footer

Powered by FluxBB