Page 1 of 1
Having current issues with Rust
Posted: Mon Aug 22, 2022 5:57 pm
by ph3arr3t
Current system is Asus ROG Strix G15. running MX-21.1_ahs Wildflower.
only issue is I installed Rust and tried to compile/install asusctl from github.... but it seems that this version of asusctl requires a newer version of rust. can't install overtop of existing install and unable to update or uninstall. can some version of this program be compiled into the repository, or assistance on how to correct this issue please. Great work on the distro btw, love that almost everything was recognized on install. Those that are missing seem to be available in this program. Fan control speed and a few sensors are primarily what doesn't work presently.

Re: Having current issues with Rust
Posted: Mon Aug 22, 2022 6:46 pm
by AVLinux
Hi,
I'm a bit unclear where you got Rust from? MX Repos? or from the Rust site itself?
https://rustup.rs/
Re: Having current issues with Rust
Posted: Mon Aug 22, 2022 8:45 pm
by ph3arr3t
Sorry, yes got the rust.sh from their main site rustup.io
Error is
Older than 2021 edition, only supports 2015, 2018
Makefile:116 build error 101
Re: Having current issues with Rust
Posted: Mon Aug 22, 2022 9:09 pm
by ph3arr3t
At least the Readme in asusctl states that site..
There was an install, seems to be 2018 version, but now a newer version is needed.
Re: Having current issues with Rust
Posted: Mon Aug 22, 2022 11:13 pm
by JayM
Rustup.io returns a 404 error.
Instead of compiling from source why not install rust from MX Package Installer, Stable Repo tab? If you right-click on each package then click More Info it will give you a detailed description of each one so you can decide which packages you need.
Re: Having current issues with Rust
Posted: Tue Aug 23, 2022 4:24 pm
by ph3arr3t
Sorry I had the url wrong.
cargo is in stable repo and 0.47.0-3+b1 is installed
I uninstalled/reinstalled cargo with package manager,
And still getting the same message about update needed....
Uninstalled cargo
Messages...
Unable to find cargo
Unable to find rust
curl installer still says rust is installed... /usr/bin
apt uninstall...
Nothing to Uninstall...
can't install rustup alongside Rust
rustup command not found.
Re: Having current issues with Rust
Posted: Tue Aug 23, 2022 4:27 pm
by ph3arr3t
Run make...
Make cargo no such....
Error 127
curl script still states cargo is installed. How?
Re: Having current issues with Rust
Posted: Mon Sep 05, 2022 12:15 pm
by ph3arr3t
the problem was the version posted in the repo was either numbered differently or to low a version to compile asusctl
so I tracked down the install .sh was able to get it to run, then there was an update to asusctl,
I tried to install new version of cargo over old, delete and clean install... had all those issues I posted prior
the problem is asusctl (
https://gitlab.com/asus-linux/asusctl)
states "Requirements are rust >= 1.57 installed from rustup.io if the distro provided version is too old" I know the 404, they don't
they do state --- curl,
https://sh.rustup.rs | sh
repo has cargo 0.47.0-3+b1
I eventually resolved the issue by reloading the entire system.
so currently I guess I am forced to wait for cargo to be updated enough for me to be able to install the software to fully control my laptop,
mind you asusctl is a wip so I don't really mind as it gives them more time t fix the bugs.
I do however hope there will be a way for this program to be added to the repo to avoid the version and compile issues I have experienced.
Re: Having current issues with Rust
Posted: Tue Sep 13, 2022 7:59 pm
by JayM
To request new or updated software packages be added to the MX Repositories, please read
these instructions first, then post your request in a new topic in the appropriate Package Requests/Status
subforum for your version of MX: 21 or 19.
Re: Having current issues with Rust
Posted: Tue Sep 13, 2022 9:11 pm
by bassplayer69
Have you looked here? Seems pretty straight forward:
https://www.rust-lang.org/tools/install
Re: Having current issues with Rust
Posted: Sun Sep 18, 2022 1:02 pm
by ph3arr3t
I agree that it is straight forward. the issue as I stated was different version conflicts. I think I was ranting from confusion from not being familiar with either piece of software. That was the site I got Rust from, in checking the site, they did update the version so that issue is resolved.
I will just wait for the program I'm trying to use to become more stable before proceeding as I don't think it's currently even at alpha stage.
Re: Having current issues with Rust
Posted: Fri Nov 04, 2022 7:48 pm
by @ajaxStardust
JayM wrote: Mon Aug 22, 2022 11:13 pm
Instead of compiling from source why not install rust from MX Package Installer, Stable Repo tab? If you right-click on each package then click
Please advise how to instlal the latest version of rust from the command line. I SSH into my MX-linux system, so 99% of everything I do is via commandline.
It occurred to me that it might be nice to have a text editor where I could see line numbers. I came across
an article advising a few terminal-based text editors i'd like to try, and it claims cargo/ rust is required for installation of Helix.
Thank you!
P.S. If anyone has a recommended terminal text editor with a line-number display option, please advise.
Re: Having current issues with Rust
Posted: Fri Nov 04, 2022 8:54 pm
by fehlix
@ajaxStardust wrote: Fri Nov 04, 2022 7:48 pm
P.S. If anyone has a recommended terminal text editor with a line-number display option, please advise.
vim
: set number on
Re: Having current issues with Rust
Posted: Sat Nov 05, 2022 4:04 am
by @ajaxStardust
fehlix wrote: Fri Nov 04, 2022 8:54 pm
vim
: set number on
lol. thank you fehlix! that is super easy! i will try it for a while, for you my friend. well, for me i suppose as well. :)
I understand the popularity of VIM. i realize the right hand can be mapped to the std "home keys". ergonomics/ body positioning, that type of stuff. it really bothers me when things aren't what i perceive as "normal" (go figure, i'm a musician). it is what it is.
Beg pardon for derailing the thread! i'm done here. :creeps out the door:
:D