https://github.com/dpbm/update-all
A bash script to update some Ubuntu depencies
https://github.com/dpbm/update-all
bash linux script terminal ubuntu zsh
Last synced: 9 days ago
JSON representation
A bash script to update some Ubuntu depencies
- Host: GitHub
- URL: https://github.com/dpbm/update-all
- Owner: Dpbm
- Created: 2022-09-12T15:34:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T16:28:51.000Z (over 1 year ago)
- Last Synced: 2025-03-13T01:44:21.257Z (10 months ago)
- Topics: bash, linux, script, terminal, ubuntu, zsh
- Language: Shell
- Homepage: https://dpbm.github.io/update-all/
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# A script to update all
This is a simple `bash script` to `update` some linux (in this case `Ubuntu based distros`) packages and softwares.
Using the script the following will be updated:
* apt packages
* snap packages
* flatpak packages
* brew taps
* npm version
* yarn version
* pnpm version
* python pip version (python3 and python2)
* cargo version
* rkhunter database
* clamav database
* pihole version
* youtube-dl version
* yt-dlp version
* conda version
* github cli extensions
* flutter version
* AdGuardHome version
* Mojo version
* Pixi version
* Rustup version
* Sdkman version
* Mamba
* Ruby gems From system
* Mise version
## to run
```bash
chmod +x update-all
./update-all
```
you can also set this as an `alias` or `add to PATH` to use in a simple way
example using as alias:
```bash
#BASH
echo "alias update="/path/to/update-all/executable"" >> ~/.bashrc
source ~/.bashrc
#ZSH
echo "alias update="/path/to/update-all/executable"" >> ~/.zshrc
source ~/.zshrc
```
example using PATH:
```bash
#BASH
echo "export PATH=/path/to/update-all/executable:$PATH" >> ~/.bashrc
source ~/.bashrc
#ZSH
echo "export PATH=/path/to/update-all/executable:$PATH" >> ~/.zshrc
source ~/.zshrc
```
You can also add this as a global executable, just moving the `update-all` file to `/usr/bin`. Like this:
```bash
sudo mv ./update-all/update-all /usr/bin
```
Using this approach is the `recommended` here, since with it you can use the cronjob that's set in `job.sh`.
To set it up run:
```bash
chmod +x job.sh
./job.sh
```
So every day at `09:00AM`, the script will run and update everything for you.