Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fr0st-iwnl/arch-update
A simple bash script for managing system updates on Arch-based distributions, including AUR and Flatpak support.
https://github.com/fr0st-iwnl/arch-update
arch-linux bash bash-script system-update update
Last synced: 9 days ago
JSON representation
A simple bash script for managing system updates on Arch-based distributions, including AUR and Flatpak support.
- Host: GitHub
- URL: https://github.com/fr0st-iwnl/arch-update
- Owner: fr0st-iwnl
- Created: 2024-10-02T10:03:03.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-10-24T18:48:28.000Z (13 days ago)
- Last Synced: 2024-10-26T04:28:41.214Z (12 days ago)
- Topics: arch-linux, bash, bash-script, system-update, update
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arch Update Script
This repository contains a simple Bash script designed for managing system updates on Arch-based Linux distributions. The script checks for updates in the official repositories, AUR (Arch User Repository), and Flatpak, and provides the user with a summary of available updates. Upon user confirmation, it performs the updates.
> [!NOTE]
> This script was made for my personal use.## Showcase
![Arch Linux Update Showcase](https://raw.githubusercontent.com/fr0st-iwnl/assets/refs/heads/main/thumbnails/archupdateshowcase.gif)
## Features
- Checks for updates in:
- Official Arch repositories
- AUR (using yay or paru)
- Flatpak
- User confirmation before proceeding with updates
- Outputs the number of available updates in a clear format## Installation
To use this script, follow these steps:
1. **Download the Script**: Clone this repository to your local machine or copy the `update.sh` file to your desired location.
```bash
git clone https://github.com/fr0st-iwnl/arch-update.git
```## Steps to Create the Custom Command
1. **Create the `bin` Directory**
Create a folder called `bin` in `~/.local/share/`. If it already exists, simply add the `update.sh` script there and rename it to `update` (removing the `.sh` extension).```bash
mkdir -p ~/.local/share/bin
cp /path/to/update.sh ~/.local/share/bin/update
```**Update Your Shell Configuration:**
Add the following line to your `~/.bashrc` or `~/.zshrc`:```bash
export PATH="$HOME/.local/share/bin:$PATH"
```**Reload Your Terminal:**
Run the following command to apply the changes:```bash
source ~/.bashrc
```
**or**```bash
source ~/.zshrc
```