A home for our nobara linux guide
Find a file
2024-10-10 17:14:00 +01:00
README.md Package management 2024-10-10 17:14:00 +01:00

Nobara Linux Guide

Updating your system

Okay, this is very important as updating "incorrectly" can and will cause issues.

Only ever update via these methods:

  • The "Update System" application
  • The "Update System" button in the Nobara Package Manger
  • In the terminal by typing "nobara-sync cli"

If for some reason the "Update System App" & "nobara-sync cli" are not working then run the following command exactly as you see it:

sudo dnf update rpmfusion-nonfree-release rpmfusion-free-release fedora-repos nobara-repos --refresh && sudo dnf distro-sync --refresh && sudo dnf update --refresh

Updating via the Nobara Welcome App is also fine but isn't very long term viable and also just opens the Update System App.

Never update via these methods:

  • Running "dnf update" Unless its the above command
  • With Discover

Installing Applications

Firstly there are two types of applications (there are really more but we are going to talk about the main two).

Native Apps

These are applications or programs that are running directly on your system, they will install dependencies is they need them.

Dependencies are other applications, libraries, etc. That the main application you are installing needs in order to run and function correctly.

Sometimes when installing Native apps they will require different versions of dependencies than you have installed and this can become messy to say the least. Also there is the issue of different distributions having different package management systems and there fore sometimes the application wont be able to be installed via this method.

There are ways around dependency hell and different package manager but that's a bit more advanced.

Flatpaks

Flatpaks are a type of application that can run on any distribution and contain all of their dependencies inside of their "box". They by default have less permissions than native apps and their permissions can be fine tuned in the "System Settings" or via a flatpak called "Flatseal"

My best advice is use Native apps when you can but Flatpaks when the developer recommends it or if it is the only option. Also If you don't trust an application then a Flatpak is also best as it has permissions you can tweak.

Installing

GUI

The best gui you can use is the "Nobara Package Manager", its interface is simple and very self explanatory.

If you wish to see and browse what flatpaks are available then visit: https://flathub.org

You can also search for available flatpaks in the flatpak tab in the "Nobara Package Manager" using the search button in the lower middle.

Native apps that are installed are displayed in green in the "Packages" tab, You can search by selecting the search button in the top left.

CLI

To search for an application in the terminal use one of the following:

dnf search appname
flatpak search appname

To install an application use one of the following:

sudo dnf install appname
flatpak install appname

Uninstalling

GUI

Via the "Nobara Package Manager" search in the packages for the application, Tick it and apply. Flatpaks are uninstalled in the flatpak tab by selecting the bin or trash icon,

CLI

To uninstall via the terminal use one of the following:

sudo dnf remove appname
flatpak uninstall appname