Opensuse Commands
Essential OpenSUSE Commands Cheat Sheet
Whether you are a developer or a casual user, mastering the terminal is key to using OpenSUSE Tumbleweed effectively. Here is a curated list of commands you will use daily.
1. System Updates (The Most Important)
Keeping Tumbleweed up to date requires a specific command. Never use standard update commands used in other distros.
Refresh Repositories
Update the list of available packages from the servers.
Force Refresh
Use this if you get "File not found" errors or if mirrors are out of sync.
Perform System Upgrade
This is the only correct way to update Tumbleweed. It handles kernel updates and library version changes correctly.
2. Package Management
How to install, remove, and find software.
Install a Package
Short version: sudo zypper in [package_name]
Remove a Package
Short version: sudo zypper rm [package_name]
Search for a Package
Not sure of the exact name? Search for it.
Short version: zypper se [keyword]
3. System Health & Snapper (Life Saver)
OpenSUSE uses Btrfs, allowing you to "undo" system changes if something breaks.
List Snapshots
See the list of system backups automatically created before updates.
Rollback System
Did an update break your system? Run this, select the number of a working snapshot, and reboot.
Clean Cache
Free up disk space by removing downloaded installation files.
4. Network Troubleshooting (NMTUI)
If you use KVM or Android Studio, virtual bridges (like br0) might block your USB or Ethernet connection.
nmtui to remove stuck connections.
- Open terminal and run:
sudo nmtui
- Select "Edit a connection".
- Find the problematic profile under Ethernet or Bridge (e.g.,
enp0s20f0u2). - Select <Delete> to remove it.
- Unplug and replug your cable.
Temel ve Önemli OpenSUSE Komutları
İster geliştirici olun ister günlük kullanıcı, OpenSUSE Tumbleweed'i verimli kullanmanın yolu terminale hakim olmaktan geçer. İşte her gün ihtiyacınız olacak komutların listesi.
1. Sistem Güncelleme (En Önemlisi)
Tumbleweed'i güncel tutmak özel bir komut gerektirir. Diğer dağıtımlardaki standart güncelleme komutlarını kullanmayın.
Depoları Yenile (Refresh)
Sunuculardaki paket listesini günceller.
Zorla Yenile (Force Refresh)
"Dosya bulunamadı" hataları alıyorsanız veya yansı sunucuları (mirrors) senkronize değilse bunu kullanın.
Sistemi Yükselt (Upgrade)
Tumbleweed'i güncellemenin tek doğru yolu budur. Çekirdek (kernel) ve kütüphane değişimlerini sorunsuz yönetir.
2. Paket Yönetimi
Program yükleme, kaldırma ve arama işlemleri.
Paket Yükleme
Kısa hali: sudo zypper in [paket_adı]
Paket Kaldırma
Kısa hali: sudo zypper rm [paket_adı]
Paket Arama
Tam adını bilmiyor musunuz? İsmi aratın.
Kısa hali: zypper se [anahtar_kelime]
3. Sistem Sağlığı ve Snapper (Hayat Kurtarıcı)
OpenSUSE Btrfs dosya sistemini kullanır, bu da sistem bozulursa değişiklikleri "geri almanızı" sağlar.
Anlık Görüntüleri Listele (Snapshots)
Güncellemelerden önce otomatik alınan sistem yedeklerini listeler.
Sistemi Geri Yükle (Rollback)
Bir güncelleme sistemi bozdu mu? Bu komutu girin, çalışan bir numara seçin ve bilgisayarı yeniden başlatın.
Önbelleği Temizle
İndirilen kurulum dosyalarını silerek diskte yer açar.
4. Ağ Sorunlarını Giderme (NMTUI)
Eğer KVM veya Android Studio kullanıyorsanız, sanal köprüler (br0 gibi) bazen Ethernet veya USB internetinizi engelleyebilir.
nmtui kullanın.
- Terminali açın ve şunu yazın:
sudo nmtui
- "Bağlantı düzenle" (Edit a connection) seçeneğine gelin.
- Ethernet veya Bridge altındaki sorunlu profili bulun (örn:
enp0s20f0u2). - Sağ taraftan <Delete> (Sil) diyerek kaldırın.
- Kablonuzu çıkarıp tekrar takın.
No comments