this post was submitted on 24 Oct 2024
47 points (98.0% liked)
Linux
5231 readers
233 users here now
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The one-line command I recommend for install Mullvad's RPM repo is as follows:
curl --tlsv1.3 -fsS https://repository.mullvad.net/rpm/stable/mullvad.repo | pkexec tee -a "/etc/yum.repos.d/mullvad.repo"
My explanation: This
curl
command enforces strong TLS encryption and pipes the fetched repo file to thetee
(append) command, which requests to run with root permissions and appends the file to the specified path.pkexec
is useful instead of plainsudo
because if the current user isn't in wheel/sudo groul it requests the local admin account to authenticate.https://github.com/boredsquirrel/MullvadVPN-Tricks/commit/decdb5e0c66406519f0c83827ab9ee508e8ddce6
Thanks! Not sure why you used tee -a, isnt that append?
I used tee -a because that is how I have seen it recommended. If it works without then do that instead.
I checked, -a is append and if that file already exists it would write the stuff to the end of it again.
> is the correct one