No description
Find a file
2024-06-14 22:45:33 -05:00
antiquated Redid dir layout, emphasizing rust port, antiquating bash and python ports. Also added a cleanup command to the rust build shell script. 2024-06-05 01:02:30 -05:00
osupdater UI cleanup. 2024-06-14 03:05:10 -05:00
.gitignore Dir cleanup 2024-06-14 02:26:19 -05:00
README.md Readme updates 2024-06-14 22:45:33 -05:00
rust_build_osupdater.sh Dir cleanup 2024-06-12 20:29:56 -05:00

osupdater

ABOUT

A terminal rust application for figuring out what package manager(s) are present on your system and use them to update your software packages.

This is for my educational purposes of learning rust to do tasks that I have done successfully in either bash or C/C++. Feel free to snatch this up or not.

FILES

File Function
./antiquated/ bash & python source
./osupdater/ rust source
./rust_build_osupdater.sh bash script to build the source

USAGE

COMPILING

To compile the application you will need to have rust and cargo installed.

RHEL/FEDORA

sudo dnf install rust cargo -y

SUSE/OPENSUSE

The official documentation from OpenSuSE.org states to use rustup, so here it is:

sudo zypper install rustup && rustup toolchain install stable

DEBIAN & DERIVATIVES

The official documentation from Debian states one can either install the apt packages or use the official rustup installer.

Using apt packages:

sudo apt update
sudo apt upgrade
sudo apt install rustc cargo rustfmt

Using rustup:

sudo apt update
sudo apt upgrade
sudo apt install curl build-essential gcc make
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

The final command above will pull in and run the installer. Follow the prompts on screen.

ARCH & DERIVATIVES

sudo pacman -Sy rust
rustup default stable