首页 > 其他分享 >安装完Fedora后的一点设置

安装完Fedora后的一点设置

时间:2023-12-05 18:57:16浏览次数:50  
标签:dnf Fedora -- sudo 设置 flatpak https 安装 rpmfusion

Flatpak

Remove Fedora Repository

flatpak remote-modify fedora --disable

Add Flathub Repository

flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

SJTU Flathub Mirror

flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

Add My Flatpak Repository

flatpak remote-add --no-gpg-verify --user madoka773 https://madoka773.github.io/flatpak/master

Add Fcitx-Unstable Repository

flatpak remote-add --user --if-not-exists fcitx5-unstable https://flatpak.fcitx-im.org/unstable-repo/fcitx5-unstable.flatpakrepo

Replace Fedora repo with Flathub repo(Silverblue Only)

flatpak install --reinstall flathub $(flatpak list --app-runtime=org.fedoraproject.Platform --columns=application | tail -n +1 )

Custom /etc/fstab

UUID=99759784-7c81-495c-817a-2d2e9bbac063 /var/backup             xfs     defaults 0 0`
UUID=0d0b3488-315e-4037-965a-be597d1d90dc /var/home/five/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps         xfs     defaults 0 0

Fedora RPM Repos Mirror

sudo sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download.example/pub/|baseurl=https://mirror.sjtu.edu.cn/|g' -i.bak /etc/yum.repos.d/fedora*

RPMFUSION Repos

sudo dnf install --nogpgcheck https://mirror.sjtu.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirror.sjtu.edu.cn/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted
sudo sed -e 's/^metalink=/#metalink=/g' -e 's|^#baseurl=http://download1.rpmfusion.org/|baseurl=https://mirror.sjtu.edu.cn/rpmfusion/|g' -i.bak /etc/yum.repos.d/rpmfusion*
sudo dnf groupupdate core
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
sudo dnf install libdvdcss
sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"

标签:dnf,Fedora,--,sudo,设置,flatpak,https,安装,rpmfusion
From: https://www.cnblogs.com/madoka773/p/17877909.html

相关文章

  • hadoop大数据安装
    一、hadoop的安装1、hadoop的安装wgethttps://archive.apache.org/dist/hadoop/common/hadoop-3.1.3/hadoop-3.1.3.tar.gz2、解压tar-zxvfhadoop-3.1.3.tar.gz-C/opt/module/3、查看是否解压成功  ls/opt/module/ 4、将 Hadoop添加到环境变量        (1)打开/......
  • dhango要迁移时mysql安装及配置
    一、apt安装MySQLsudoapt-getupdate#更新源sudoapt-getinstallmysql-server#安装sudoaptinstallnet-tools二、MySQL服务管理sudoservicemysqlstatus#查看服务状态sudoservicemysqlstart#启动服务sudoservicemysqlstop#停止服务sudoservice......
  • 源码编译安装mysql8.0
    下载源码源码下载地址:https://dev.mysql.com/downloads/mysql/找到对应版本进行下载上传至服务器编译安装使用cmake命令进行安装cdmysql-8.0.35mkdirbldcdbldcmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DDOWNLOAD_BOOST=1-DWITH_BOOST=/usr/local/boost..安......
  • 交叉编译工具链的安装
    交叉编译工具链的安装交叉编译工具链的下载安装和配置及使用教程1.树莓派交叉编译工具链下载https://github.com/raspberrypi/tools将下载的文件放入虚拟机共享文件夹中,在Linux中建立一个文件夹复制进来共享文件夹路径在/mnt/hgfs/下拷贝刀新建文件夹并解压(unziptools-ma......
  • windows 文件夹共享 设置免密共享
    https://jingyan.baidu.com/article/86f4a73ea60a6f37d6526985.html https://blog.csdn.net/lipengfei_1993/article/details/106297073  不要密码共享有些上位机或者AOI相机的data,可以通过共享访问文件进行解析。把每一台aoi的电脑设置共享,然后在在机房的一台工控机安装......
  • vscode 工作区与文件夹设置
    背景:学习vue3的时候发现vue2对应的vetur插件 与vue3的volar插件冲突,于是开始了解vscode怎么实现兼容多项目兼容不用配置。项目设置管理为了适应不同项目的需要不一样的项目设置,vscode推出了文件夹设置(Folder),将差异的配置存放在项目根目录的.vscode/setting.json中,打开项目......
  • 5、半虚拟化驱动--virtio(linux和windows)和安装Windows server虚拟机
    摘自:https://blog.51cto.com/mfc001/6410315KVM的功能主要体现在利用KVM的硬件辅助性虚拟化可以提高处理速度。但在虚拟机中,有些硬件不是KVM来实现加速的,如磁盘、内存、网络的性能,如果更好的提升速度,需要安装半虚拟化驱动1.2.3.  半虚拟化驱动在软......
  • 1、KVM安装部署及virt-manager图形化工具创建安装虚拟机、命令行工具virt-install创建
    摘自:https://blog.51cto.com/mfc001/6408159KVM安装部署KVM做单机管理虚拟机,Openstack集群管理虚拟机docker单机管理容器,k8s集群管理容器宿主机环境准备在vmware安装linux系统,并在设置中开启虚拟化CPU开启虚拟化一:开启虚拟化引擎两项内容二:提高内存和处理......
  • ubuntu 22.04 设置网桥 - netplan
    添加/编辑虚拟网桥/etc/netpaln/br0.yaml ipv4dhcp:network:version:2ethernets:eno8303:#替换为实际网卡dhcp4:falsedhcp6:falsebridges:br0:interfaces:[eno8303]#替换为实际网卡dhcp4:trueparameters:......
  • centos7安装Jenkins
    1、拉取镜像dockerpulljenkinsci/blueocean2、创建目录mkdir-p /home/data/jenkinschmod777 /home/data/jenkins3、启动容器dockerrun-d-p8099:8080-p50099:50000-v/home/data/jenkins:/var/jenkins_home--namemyjenkins--restart=alwaysjenkinsci/blueoce......