# Update/Remove .rpm

**URL:** <https://universal-blue.discourse.group/t/update-remove-rpm/4939>\
**Category:** Bazzite\
**Created:** [November 6, 2024, 5:28pm UTC](https://universal-blue.discourse.group/t/update-remove-rpm/4939 "2024-11-06T17:28:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SkatorGaytor](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/skatorgaytor/32/3760_2.png) [@SkatorGaytor](https://universal-blue.discourse.group/u/SkatorGaytor)\
**Post date:** [November 7, 2024, 11:08am UTC](https://universal-blue.discourse.group/t/update-remove-rpm/4939/2 "2024-11-07T11:08:55Z")

</div>

If you downloaded and installed the .rpm directly then it will not receive automatic updates, you’d have to keep an eye on their website and manually install new updates. You should avoid installing software like this wherever possible.

To install it properly, you’ll need to add the mullvad repository and then layer the mullvad-vpn package via rpm-ostree, this way it will be updated automatically along with the rest of your system. Because bazzite is based on fedora-atomic, adding repositories and installing system packages is different to regular fedora, therefore the [fedora installation instructions](https://mullvad.net/en/download/vpn/linux) on mullvad’s site need some tweaking to work on fedora-atomic based systems.  
Installing system level packages is done via “layering” them on-top of the system image. Layering packages should be a last resort where installing via flatpak, brew, or distrobox is not an option, however it is appropriate in this situation.

First, you’ll want to remove the mullvad-vpn package you manually installed with `rpm-ostree uninstall mullvad-vpn` then reboot.

Now we’ll install the mullvad repository and mullvad-vpn package:

1. Download the mullvad repository file (mullvad.repo)

```auto
wget https://repository.mullvad.net/rpm/stable/mullvad.repo

```

1. copy it into /etc/yum.repos.d/ (this is where .repo files live)

```auto
sudo cp mullvad.repo /etc/yum.repos.d/

```

1. Refresh package metadata so rpm-ostree knows there’s a new repository

```auto
rpm-ostree refresh-md

```

1. Install the mullvad-vpn package

```auto
rpm-ostree install mullvad-vpn

```

1. Reboot your computer

2. Start and enable the mullvad vpn background service

```auto
sudo systemctl enable --now mullvad-daemon

```

You should now have mullvad installed correctly so that it receives automatic updates!

**A word of caution** , layering packages like VPNs can cause issues on fedora atomic systems. You may find you need to remove it and the mullvad repository at some point if it causes breakages, especially during major version updates (e.g. fedora 41\>42), so be mindful of this if you run into issues updating in future!

---

_[View the full topic](https://universal-blue.discourse.group/t/update-remove-rpm/4939)._
