You are not logged in.
Pages: 1
Topic closed
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
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
Thanks V1del. I just installed rustup and paru detected immediately that cargo was installed ![]()
str( @soyg ) == str( @potplant ) btw!
Also now with avatar logo included!
Offline
I removed this line from PKGBUILD
makedepends=('cargo')before calling makepkg so I don't have to install it from archlinux repos.
I had cargo already installed in $HOME/.cargo/bin
Offline
Welcome to the forums. That works.
Be aware of the age of threads when you post. Using this opportunity to close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed