Opensuse notes¶
Installation¶
zypper package manager¶
Useful links¶
- zypper up VS zypper dup - https://it.opensuse.org/Aggiornamenti_di_sistema
- zypper commands - https://ostechnix.com/suse-linux-zypper-command-examples/
- Packman repos - https://en.opensuse.org/Additional_package_repositories
zypper commands¶
zypper <COMMAND> -h # help for specific command
zypper refresh /zypper ref # refresh repo
zypper ref -b # refresh repo and force rebuild
zypper update / zypper up # update packages, not use in Tubleweed
zypper dist-upgrade /zypper dup # upgrade Tumbleweed snapshot
zypper list-updates / zypper lu # list updates
zypper se -si <PACKAGE> # search installed only packages with details
zypper install <PACKAGE> / zypper in <PACKAGE> # install package and dependencies
zypper rm <PACKAGE> # remove single package
zypper rm -u <PACKAGE> # remove package and dependencies
zypper patterns / zypper pt # list available patterns
zypper se --type pattern <PATTERN_NAME>
zypper in -t pattern <PATTERN_NAME>
zypper pa --unneeded / zypper pa -unneeded # list unneeded packages
zypper rm -u $(zypper pa --unneeded | grep "i |" | cut -d"|" -f3)
zypper repos / zypper lr # list repository
opi - Obs Package Installer¶
opi search and install:
- Packman
- Vendor repo (Microsoft, Zoom, Brave…)
- OBS "Opensuse Build Service" software (it's not obs-studio)
How to install opi¶
sudo zypper in opi
How to install codecs¶
sudo opi packman # install necessary codecs
sudo opi codecs # it's the same command
Examples¶
sudo opi obs-studio
sudo opi duckstation
sudo opi snes9x
Tips and tricks¶
set swappiness¶
sudo nano /etc/sysctl.conf
vm.swappiness = 10 # add/edit line
sudo sysctl –p # or reboot
install new fonts¶
sudo zypper in fetchmsttfonts # Microsoft fonts
sudo zypper in ubuntu-fonts # Ubuntu fonts
disable shell bell¶
sudo vim /etc/inputrc
set bell-style none # add/edit line