mirror of
https://github.com/wekan/wekan.git
synced 2026-01-31 05:35:16 +01:00
Created BSD (markdown)
parent
e08eb18cc1
commit
f3d8c8cba2
1 changed files with 49 additions and 0 deletions
49
BSD.md
Normal file
49
BSD.md
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Package managers for various OS
|
||||
|
||||
1. Edit script: `nano something.sh`
|
||||
2. Save and Exit: Ctrl-o Enter Ctrl-x Enter
|
||||
3. Make executeable: `chmod +x *.sh`
|
||||
|
||||
## Ubuntu
|
||||
|
||||
update.sh
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt -y dist-upgrade
|
||||
sudo snap refresh
|
||||
flatpak update
|
||||
```
|
||||
clean.sh
|
||||
```
|
||||
sudo apt clean
|
||||
sudo apt -y autoclean
|
||||
sudo apt -y autoremove
|
||||
```
|
||||
install.sh
|
||||
```
|
||||
sudo apt -y install $1
|
||||
```
|
||||
uninstall.sh
|
||||
```
|
||||
sudo apt remove $1
|
||||
# more dangerous, all configs and data: sudo apt --purge remove $1
|
||||
```
|
||||
|
||||
## NetBSD
|
||||
|
||||
Before these, change to root:
|
||||
```
|
||||
su
|
||||
```
|
||||
update.sh
|
||||
```
|
||||
pkgin upgrade
|
||||
```
|
||||
install.sh
|
||||
```
|
||||
pkgin install $1
|
||||
```
|
||||
uninstall.sh
|
||||
```
|
||||
pkg_delete $1
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue