Advertisement
0x2264773426

Fedora First Time Config

Oct 28th, 2022 (edited)
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. Fedora First Time Config:
  2.  
  3. To be a root/admin user:
  4. sudo su
  5.  
  6. To configure DNF of Fedora:
  7. echo "#Added for Speed:" | sudo tee -a /etc/dnf/dnf.conf
  8. echo "fastestmirror=True" | sudo tee -a /etc/dnf/dnf.conf
  9. echo "max_parallel_downloads=10" | sudo tee -a /etc/dnf/dnf.conf
  10. echo "defaultyes=True" | sudo tee -a /etc/dnf/dnf.conf
  11. echo "keepcache=True" | sudo tee -a /etc/dnf/dnf.conf
  12. echo "deltarpm=true" | sudo tee -a /etc/dnf/dnf.conf
  13.  
  14. To remove extra Flatpak repositories made by Fedora
  15. sudo flatpak remote-delete fedora
  16.  
  17. To remove extra Flatpak beta repositories made by Fedora
  18. sudo flatpak remote-delete fedora-testing
  19.  
  20. To install RPM Fusion free repositories (To unlock other best repo):
  21. sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
  22.  
  23. To install RPM Fusion non-free repositories (Optional):
  24. sudo dnf install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  25.  
  26. To install Dash to Dock extension (Dynamic dock like MacOS):
  27. sudo dnf install gnome-shell-extension-dash-to-dock
  28.  
  29. To install GSConnect/KDE Connect (For better connectivity to mobile phones):
  30. sudo dnf install gnome-shell-extension-gsconnect
  31.  
  32. To install AppIndicator (For tray icons/Background apps):
  33. sudo dnf install gnome-shell-extension-appindicator
  34.  
  35. To install Android-Tools-ADB (For better connectivity to Android phones):
  36. sudo dnf install android-tools
  37.  
  38. To install python-psutil (To get information on running processes and system utilization):
  39. sudo dnf install python-psutil
  40.  
  41. To install openssl (To generate private keys):
  42. sudo dnf install openssl
  43.  
  44. To install 3rd party codecs like H264 (For audio and videos):
  45. sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
  46. sudo dnf install lame\* --exclude=lame-devel
  47. sudo dnf group upgrade --with-optional Multimedia --allowerasing
  48. sudo dnf install libdca svt-hevc-libs mjpegtools-libs librtmp faad2-libs gstreamer1-plugins-bad-freeworld
  49. sudo dnf install gstreamer1-plugins-ugly
  50. sudo dnf install x264-libs
  51.  
  52. To install eSpeak (text-to-speech synthesizer for English and other languages):
  53. sudo dnf install gstreamer-plugins-espeak
  54.  
  55. To install another native video player (This video player already have all types of video and audio codec inbuilt):
  56. sudo dnf install clapper
  57.  
  58. To install File Roller/Archive Manager (To compress/extract files):
  59. sudo dnf install file-roller
  60.  
  61. To install GNOME Tweak Tool (For customizations/tweaks in Linux):
  62. sudo dnf install gnome-tweaks
  63.  
  64. To install Flatseal (To manage flatpak permissions):
  65. sudo dnf install flatseal
  66.  
  67. To install GNOME Web/Epiphany (Internet browser client):
  68. sudo dnf install epiphany
  69.  
  70. To install Dconf editor (A graphical tool for editing the dconf database):
  71. sudo dnf install dconf-editor
  72.  
  73. To enable extension support in GNOME Web (Epiphany):
  74. gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ enable-webextensions true
  75.  
  76. To increase the size of the smaller text in GNOME Web (Epiphany):
  77. gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ min-font-size 13
  78.  
  79. To install Sound Recorder (To record voice or audio):
  80. sudo dnf install gnome-sound-recorder
  81.  
  82. To install Music (To play a music):
  83. sudo dnf install gnome-music
  84.  
  85. To install AppImageLauncher (To show portable applications in an app-drawer):
  86. sudo dnf install libQt5DBus.so.5
  87. sudo dnf install qt5-qtbase
  88. sudo dnf install https://github.com/TheAssassin/AppImageLauncher/releases/download/continuous/appimagelauncher-2.2.0-gha111.d9d4c73.x86_64.rpm
  89.  
  90. To install GnomePackageKit Native package organizer):
  91. sudo dnf install gnome-packagekit-installer
  92.  
  93. To install Bleachbit (Cleaner):
  94. sudo dnf install bleachbit
  95.  
  96. To install GRUB-Customizer (To customize the boot menu/GRUB menu):
  97. sudo dnf install grub-customizer
  98.  
  99.  
  100. To install Desktop Switcher (To switch between a graphical interface from an installed desktop environment):
  101. sudo dnf install switchdesk-gui
  102.  
  103. To install Extension Manager (To manage and install various types of extensions/tweaks)
  104. flatpak install com.mattjakeman.ExtensionManager
  105.  
  106. To install Scrcpy (ScreenCopy) (To mirror an Android phone):
  107. sudo dnf copr enable zeno/scrcpy
  108. sudo dnf install scrcpy
  109.  
  110. To install GUI SCRCPY (Graphical user interface ScreenCopy) (To control Scrcpy (ScreenCopy) graphically):
  111. flatpak install flathub in.srev.guiscrcpy
  112.  
  113. To install Adwaita GTK 3 theme for Legacy apps (Updated theme for unsupported apps):
  114. sudo dnf copr enable nickavem/adw-gtk3
  115. sudo dnf install adw-gtk3-theme
  116. flatpak install org.gtk.Gtk3theme.adw-gtk3
  117. flatpak install org.gtk.Gtk3theme.adw-gtk3-dark
  118. gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark'
  119. gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
  120.  
  121. To install Hardinfo (System profiler and benchmark/Device manager for Linux):
  122. sudo dnf copr enable fernando-debian/hardinfo
  123. sudo dnf install hardinfo
  124.  
  125. To install WineHQ (To run Windows applications):
  126. sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/$(rpm -E %fedora)/winehq.repo
  127. sudo dnf install winehq-stable
  128.  
  129. To install WineGUI (To manage WineHQ graphically):
  130. sudo dnf install https://winegui.melroy.org/downloads/WineGUI-v1.10.1.rpm
  131.  
  132. To install Waydroid (To run Android applications):
  133. sudo dnf install waydroid
  134. sudo systemctl enable --now waydroid-container
  135.  
  136. After installing, launch Waydroid from the applications menu and proceed with the initialization by pasting these URLs in the OTA fields then select the variant and download:
  137. System OTA: https://ota.waydro.id/system
  138. Vendor OTA: https://ota.waydro.id/vendor
  139.  
  140. To install Distrobox (To run multiple Linux applications):
  141. sudo dnf install podman
  142. sudo dnf install distrobox
  143.  
  144. To install ChatGPT on your Linux terminal:
  145. curl -sSL https://raw.githubusercontent.com/aandrew-me/tgpt/main/install | bash
  146. tgpt -h
  147.  
  148. To check Updates:
  149. sudo dnf check-update
  150.  
  151. To install updates:
  152. sudo dnf update
  153.  
  154. To remove useless dependencies:
  155. sudo dnf autoremove
  156.  
  157. To view installed packages on Fedora:
  158. sudo dnf history userinstalled
  159.  
  160. To uninstall a particular package:
  161. sudo dnf remove [PACKAGE_NAME]
  162.  
  163. To uninstall a package with its dependencies:
  164. sudo dnf autoremove [PACKAGE_NAME]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement