opensuse Tumbleweed 风滚草安装必备操作

安装过程中不要配置网络,有更新的在安装完成后再更新
如果你的硬盘型号参数不一致,安装时不要勾选多盘LVM
如对桌面没要求,opensuse首选KDE

0)为避免更新或升级过程太慢,先换成国内源
禁用官方软件源

sudo zypper mr -da

添加镜像源

sudo zypper ar -cfg 'https://mirrors.tuna.tsinghua.edu.cn/opensuse/tumbleweed/repo/oss/' mirror-oss
sudo zypper ar -cfg 'https://mirrors.tuna.tsinghua.edu.cn/opensuse/tumbleweed/repo/non-oss/' mirror-non-oss

刷新软件源

sudo zypper ref

1)升级
先检查一下当前版本

kingsy@localhost:~> hostnamectl
   Static hostname: (unset)                            
Transient hostname: localhost
         Icon name: computer-desktop
           Chassis: desktop 🖥
        Machine ID: 53f5c30fe17644fa8cd1a2936ca7622b
           Boot ID: 427130d5b5e04f09b3db77af0d0d76cf
  Operating System: openSUSE Tumbleweed                
       CPE OS Name: cpe:/o:opensuse:tumbleweed:20230731
            Kernel: Linux 6.4.4-1-default
      Architecture: x86-64
   Hardware Vendor: BIOSTAR Group
    Hardware Model: H110MLC
  Firmware Version: 5.12
     Firmware Date: Fri 2018-05-04

这里看到是20230731,内核6.4.6,已是当前最新版本,如果不是最新版本,或与当前日期相差一个星期以上,就更新

sudo zypper dup --no-allow-vendor-change

升级过程输出太多,此处贴一点点

dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: Stored kernel commandline:
dracut[I]:  rd.driver.pre=btrfs
dracut[I]:  resume=UUID=594f4b16-1367-4f44-adc1-231d998ef6f7
dracut[I]:  root=UUID=f4843bde-c75d-4793-a958-0b0e90d6c5ba rootfstype=btrfs rootflags=rw,relatime,ssd,discard=async,space_cache=v2,subvolid=266,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-6.4.6-1-default' ***
dracut[I]: *** Creating initramfs image file '/boot/initrd-6.4.6-1-default' done ***
正在执行 %p osttrans 脚本 ....................................................................................[完毕]
某些运行中的程序仍在使用被最近升级所删除或更新的文件和函数库。应重启它们使其也能从最新更新中获益。运行 ‘zypper ps -s’ 列出这些程序。 
核心函数库或服务已被更新。
这些更新需要重启您的计算机后才会生效。

如果是最新版本,则输出

kingsy@localhost:~> sudo zypper dup --no-allow-vendor-change
[sudo] root 的密码:
正在加载软件源数据...
正在读取已安装的软件包...
警告: 您正要使用全部已启用软件源进行发行版升级。继续前请确保这些源之间相互兼容。参考 'man zypper' 获知更多关于此命令的信息。
正在计算发行版升级...
无事可做。

2)更换flatpak国内源

wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg
sudo flatpak remote-modify --gpg-import=flathub.gpg flathub
sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

flatpak能做什么?
类似腾讯会议那些软件只要deb安装包,而opensuse安装dpkg再安装deb,又不能自动解决依赖问题。用flatpak就完美了,但默认的flatpak 10KB/S的下载,接受唔到囉。

flatpak install flathub com.tencent.wemeet

3)安装虚拟化软件qemu kvm
https://blog.csdn.net/a506681571/article/details/132052516?spm=1001.2014.3001.5502
持续更改。。。。。。

  • 2
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值