this post was submitted on 01 Jan 2024
160 points (81.5% liked)

Linux

48334 readers
596 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

https://mullvad.net/en/help/install-mullvad-app-linux

Trying to install VPN and these are the instructions Mullvad is giving me. This is ridiculous. There must be a more simple way. I know how to follow the instructions but I have no idea what I'm doing here. Can't I just download a file and install it? I'm on Ubuntu.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] jet@hackertalks.com 11 points 10 months ago (1 children)

You can just install wireguard from your distros built in repository. Then use the mullvad wireguard conf downloader.

One time setup, and your wireguard gets updated by your distro update. No need to add a new repository.

load more comments (1 replies)
[–] SmoochyPit@beehaw.org 11 points 10 months ago (1 children)

Asking why something is the way it is makes you more of a “Linux user” than many.

You make a valid criticism; there’s definitely a learning curve to installing software if you choose to do it that way (since it’s not similar to other OSs), and it’s not automatically explained to new users by using the OS.

Here’s the understanding of it I’ve come to, if you’re interested:

Like others have said, the .deb file would be the equivalent of an .exe file on Windows. Like many .exe files, unless they include an auto-updater, they won’t automatically update.

A key difference I would like to point out is that Linux package managers often update and manage parts of the OS in addition to extra software. Windows and macOS both update their OS separately.

“Ubuntu Software Center” is similar to the “Microsoft Store” on Windows and the “App Store” on macOS. Like those, it’s user friendly and provides automatic updates, but it also doesn’t have every app. You can ensure those apps are safe because the company behind the OS verifies them.

“apt-get” is the default package manager for Ubuntu. That is the tool doing the heavy lifting underneath, and what those commands Mullvad gave are for.

Mullvad could have provided a script to download and run that executes those commands for you, but then you wouldn’t know what it’s doing, especially with it needing admin permission. With how security-oriented Mullvad’s brand is, I think that’s one potential reason they explain the steps and have the user do it instead.

load more comments (1 replies)
[–] techognito@lemmy.world 10 points 10 months ago* (last edited 10 months ago) (5 children)

If you go to: https://mullvad.net/en/download/vpn/linux

And click the "download .deb" button (It says underneath "Works on Ubuntu 20.04+, Debian 11+ (64bit only)". As long as your Ubuntu is up-to-date, this will work fine)

you get a file ("MullvadVPN-2023.6_amd64.deb") you can run just like on Windows (similar to MullvadVPN-2023.6.exe)

opening the file should open a GUI for installing the file

Keep in mind, to update Mullvad VPN, you would need to download a newer .deb file (after an update is released). It shows the latest version above the download buttons, below the "Mullvad VPN for Linux text" This is the same as how it is on Windows

Edit: This is not intended as good advice, just a simple way to install Mullvad VPN. The smartest solution would be to add the repo.

2nd Edit: While this is how Mullvad provides their software, it is never ideal to install random .deb packages or add third party repos without being sure that the ones who provided the package/repo is trustworthy.

load more comments (5 replies)
[–] skillful_garbage@beehaw.org 9 points 10 months ago (1 children)

Download the .deb from their downloads page and run it, just like you would either a .exe on Windows. Their instructions list that as an option further down on the page. Should be higher up imo

load more comments (1 replies)
[–] woelkchen@lemmy.world 9 points 10 months ago

Many, perhaps even most, installation guides for software use commands because the graphical alternatives can vary wildly between desktops and distributions. So using commands in guides is usually the more likely to work.

That said, what Mullvad does is stupid. The downloadable deb and rpm files should just initialize the update repository. That is what Google does with their Chrome download. Basically download the file, double click on it, confirm installation. That's it. Users don't need to do that manually for Chrome.

Luckily, there are only a few cases remain for this type of installation. Most regular things should be either in your distribution's regular repository or on Flathub.

[–] MyNameIsRichard@lemmy.ml 9 points 10 months ago

Normally you'd just run sudo apt install ... but in this case you are adding a new repository so you have to follow the extra steps of adding the signing key and so on first.

[–] bbbhltz@beehaw.org 6 points 10 months ago

You can achieve this through graphical utilities.

Self-updating apps aren't a big thing on Linux, so the Windows way isn't an option...

The signing key is important for security reasons, so you definitely need to add that. After adding the repo you can just use Synaptic or whatever app store thingy Ubuntu uses.

Most of the time you shouldn't need to fiddle with the command line and the apps you will need are available through the Software Centre and the entire process will work like on Windows.

For me, Linux was the first operating system I used that had an app store or software centre and I was pretty glad to not need to...

  • open a browser,
  • navigate to a site,
  • (hope it is the right site...)
  • download a binary executable,
  • open a file explorer,
  • launch the binary,
  • click through a list of options and agreements,
  • and finally delete the binary.
[–] baseless_discourse@mander.xyz 6 points 10 months ago* (last edited 10 months ago)

What distro are you running? I think you should be able to just find the app in the app store.

If not, the webside includes the download link literally in the first paragraph: https://mullvad.net/en/download/vpn/linux

Just download and double click the package, that should bring up your app store, and then click install you will be fine.

load more comments
view more: ‹ prev next ›