Updated BSD (markdown)

Lauri Ojansivu 2023-02-09 08:19:57 +02:00
parent 30cb4be5ea
commit 9778880a4f

34
BSD.md

@ -27,6 +27,10 @@ sudo apt -y dist-upgrade
sudo snap refresh
flatpak update
```
search.sh
```
sudo apt-cache search $1
```
clean.sh
```
sudo apt clean
@ -40,7 +44,11 @@ sudo apt -y install $1
uninstall.sh
```
sudo apt remove $1
# more dangerous, all configs and data: sudo apt --purge remove $1
```
uninstall-all.sh
```
# more dangerous, all configs and data:
sudo apt --purge remove $1
```
shutdown.sh
```
@ -53,6 +61,8 @@ sudo shutdown --reboot now
## FreeDOS
https://www.freedos.org
When installing to VirtualBox, set harddisk .vdi growable max size to 4000 MB / 4 GB, because LiveCD + BonusCD could take nearly 2 GB total disk space.
1. Install from LiveCD
@ -60,10 +70,20 @@ When installing to VirtualBox, set harddisk .vdi growable max size to 4000 MB /
3. Insert BonusCD
4. Update and install software
https://fdnpkg.sourceforge.net
update.bat
```
fdnpkg update
```
search.bat
```
fdnpkg search $1
```
install.bat
```
fdnpkg install $1
```
reboot.bat
```
reboot
@ -75,6 +95,8 @@ shutdown
## NetBSD
Package management: https://www.netbsd.org/docs/pkgsrc/using.html
Before these, change to root:
```
su
@ -83,6 +105,10 @@ update.sh
```
pkgin upgrade
```
search.sh
```
pkgin search $1
```
install.sh
```
pkgin install $1
@ -102,6 +128,8 @@ shutdown -r now
## OpenBSD
Package management: https://www.openbsd.org/faq/faq15.html
Before these, change to root:
```
su
@ -110,6 +138,10 @@ update.sh
```
pkg_add -u
```
search.sh
```
pkg_info -Q $1
```
install.sh
```
pkg_add $1