linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

pelya, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

That’s not how you do it.

Click ‘Downloads’ on the Mullvad website.

Scroll to the bottom section ‘Unable to use the app’

Click ‘OpenVPN’.

Download OpenVPN config.

You already have OpenVPN installed, skip all fancy installation steps.

Click network settings in the taskbar, ‘New connection’, ‘OpenVPN’, ‘Import configuration’.

Turn on your new VPN connection. Done.

where_am_i,

why tf wouldn’t OP be better served by a provided repo? Literally a add it to the sources.list and never think about updates again.

pelya,

Because installing some random app is worse than simply using pre-installed system service.

Both are security audited, but I’d still rather trust OpenVPN.

eah,

It seems Mullvad has the OpenVPN option tucked away as the very last option even though OpenVPN seems to be the easiest method. Why is that?

Divine_Confetti,
@Divine_Confetti@sh.itjust.works avatar

As I’ve heard it, wireguard is much more secure.

library_napper,
@library_napper@monyet.cc avatar

More Performant, yes. More Secure? Not sure about that

pelya,

I went with OpenVPN because it’s installed on Ubuntu by default. Wireguard needs one extra apt-get command.

I don’t think that Wireguard is more secure, its’s simpler and thus easier to audit, but OpenVPN was audited to the gills already.

amju_wolf,
@amju_wolf@pawb.social avatar

Because they want to lock you into their app and make you think VPNs are complicated so you actually pay for the service.

pelya,

Because OpenVPN lacks the most important feature of them all - it will not remind you to top up your account balance.

reallyzen,
@reallyzen@lemmy.ml avatar

THIS!

Not one more repository to add, sign, reload at each update. And can get compromised.

Not one more piece of software to run that may, or may not, run properly (looking at you ProtonVPN)

Just download the wireguard or openvpn configs to some desired exit points, load them into NetworkManager as described, and BINGO you have an integrated way of switching desired location, a visual icon in the taskbar confirming your status, and no extra hassle.

Did you know that qbittorrent can be told to only work if the VPN is on? There are places where it matters.

And to answer your question, no, that is not normal. If a piece of software isn’t available for your distribution, then consider finding another. Like, here, using NetworkManager to do the job!

http_418, in Terminal Utility Mega list!
@http_418@lemmy.world avatar

Very well done list … Thx fellow penguin

urfavlaura, in What are your opinions of Guix?

It’s like Nix but has some extra features and uses Scheme instead of a custom language.

CanadaPlus, (edited )

That’s barely an opinion, haha! That’s pretty much just what it is.

Kierunkowy74, in New Linux user here. Is this really how I'm supposed to install apps on Linux?
@Kierunkowy74@kbin.social avatar

Change your distribution to MX Linux and use MX Package Installer there. Select Mullvad VPN from "Popular Apps" tab there and MXPI will do all these steps for you.

fckgwrhqq2yxrkt,

Probably easier to learn a few commands than it is to switch distros though.

wuphysics87, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Not at my computer, but you might check if there is a snap or flatpak

Darkpepito_tux,
@Darkpepito_tux@lemmy.world avatar

(flatpak only :p )

where_am_i,

snap yourself in half

Ramin_HAL9001, (edited ) in New Linux user here. Is this really how I'm supposed to install apps on Linux?

So usually people do install Linux software from trusted software repositories. Linux practically invented the idea of the app store a full ten years before the first iPhone came out and popularized the term “app.”

The problem with the Mullvad VPN is that their app is not in the trusted software repositories of most Linux distributions. So you are required to go through a few extra steps to first trust the Mullvad software repositories, and then install their VPN app the usual way using apt install or from the software center.

You could just download the “.deb” file and double click on it, but you will have to download and install all software security updates by hand. By going through the extra steps to add Mullvad to your trusted software repository list, you will get software security updates automatically whenever you install all other software updates on your computer.

Most Linux distros don’t bother to make it easy for you to add other trusted software repositories because it can be a major security risk if you trust the wrong people. So I suppose it is for the best that the easiest way to install third-party software is to follow the steps you saw on the website.

narc0tic_bird,

Some .deb packages actually include their repository and they can then be updated via the package manager. An example for this is the Vivaldi .deb.

Vincent, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

Also note that Mullvad has a pretty technical user base and target audience, and thus their documentation is likely geared towards them. You could also consider using Mozilla VPN, which offers pretty much the same advantages (they use Mullvad’s servers), at the same price if you pay annually, and is easier to use.

Critical_Insight,

I’m already paying for Mullvad

Vincent,

Heh, that’s another reason not to switch - never mind then!

Vincent, (edited )

Oh actually, looking at the Ubuntu installation docs, that doesn’t really seem to be much easier - that’s a disappointment :/

Although if you don’t mind running one terminal command (specifically, sudo add-apt-repository ppa:mozillacorp/mozillavpn), I think after that you should just be able to use the Ubuntu App Center to install software - which usually is the way to install software in Ubuntu, and works similar to app stores on phones.

where_am_i,

it’s just a fuckin step by step guide on how to add their repo to the sources.list

What’s so technical about it? It’s how you install everything on Ubuntu.

No knowing how apt works, is equivalent to not understanding why grandma_pics.zip.exe is probably a virus. If you’re that uninformed, we can’t help you.

thanksforallthefish, in New Linux user here. Is this really how I'm supposed to install apps on Linux?

While lvxferre’s instructions are the ideal, there’s a simpler option

Download the mullvad.deb file.

Doubleclick on it from your file manager and it should automatically instsll

Every time you start mullvad it will check if the version is current and prompt you (with a link to click on) to upgrade if it’s not.

Note that works on mint, should work on ubuntu unless they’ve disabled dpkg

where_am_i,

No, don’t. Bad advise. Use repos that are provided.

library_napper,
@library_napper@monyet.cc avatar

You might want to say why or you’ll get downvoted. Spoiler: its not safe and this is how you get malicious software on your computer

loo, in Wifi stopped showing in linux mint
@loo@lemmy.world avatar

I have the exact same issue atm. After a new Windows update, I have to disable Wifi on Windows for it to work on Linux. It sounds bizarre, but try disabling Wifi on Windows.

onlinepersona, in Happy new year of the Linux Desktop!

Here’s to another year of the Linux Desktop! (been ~15 years for me) 🎉

CC BY-NC-SA 4.0

curator93,

What is the purpose of these copyright lines on comments?

onlinepersona,

Think AI training. I might write a blurb somewhere that I can link to someday, but that’s the gist of it.

CC BY-NC-SA 4.0

curator93, (edited )

Do you have any evidence that writing that line actually works to keep AI from using your comment? If some of the biggest authors alive can’t keep their words out of the algorithm, I’m not convinced that a Lemmy comment stands a chance.

onlinepersona, (edited )

No I don’t.

CC BY-NC-SA 4.0

0xtero, in Happy new year of the Linux Desktop!

Maybe we’ll climb to 4% marketshare!

rufus, (edited ) in New Linux user here. Is this really how I'm supposed to install apps on Linux?

More or less: yes.

It’s copy and pasting 5 lines into the terminal and hitting enter. It’s not that hard. If it’s not worth the 15 seconds of ‘work’ you probably don’t need the software that badly.

And it’s not the default. Usually you shouldn’t add random software sources and download software from some websites. Your Linux package manager should be the source for software. (Software Manager / Store / Synaptics, … whatever Ubuntu calls it) It installs software with one or two clicks with the mouse, the software there is tested and tied into the rest of the systems and tens of thousands of packages are available. No malware guaranteed, and updates are handled automatically.

And with other Operating systems it’s also ridiculous: You need to find the website of some software, avoid malware and copycats that advertise similar software with ads, click download, click ‘yes’ I accept a download with a harmful extension. Then you need to open the file manager and double click on it. Then a window opens and you need to click ‘next’. Accept the terms. Give permission to install and maybe remove a few ticks and choose a location. I’d say it’s about the same amount of work and the downside is it doesn’t necessarily handle updates and security fixes.

I think Ubuntu doesn’t have Mullvad available in their own repository. I took another approach and imported their settings/profile into the VPN/network manager that is available per default on many Linux distributions. No install required at all. But importing the settings isn’t easier, so YMMV here. And I think you have to create a profile for each and every country/endpoint which is a bit cumbersome, depending on what you’re trying to do with the VPN.

Critical_Insight,

It’s copy and pasting 5 lines into the terminal and hitting enter. It’s not that hard. If it’s not worth the 15 seconds of ‘work’ you probably don’t need the software that badly.

Telling people to just run random code they found on the internet and don’t understand is really bad advice.

rufus,

That statement is certainly true.

But how do you think you install software on Windows? You download a random installer from the internet and double-click it. The installer is an executable file and runs some code on your computer to set up the software. I’d argue it’s exactly the same.

In the one instance you copy and paste code and run it. In the other instance you execute an installer that also contains the random code. And you can’t even have a look what happens.

The real issue is: You have to trust the vendor. If you don’t trust Mullvad, don’t run their 5 lines of code. But you then also shouldn’t install their software and not run their windows installer. I don’t see a way around this ‘trust’ issue.

The proper way of course would be a standardised process that also confines the software into containers with minimal permissions. Something like Android Apps. In theory you could add a default update process so the vendor just needs to define an update server in the (apk) installer file. Google didn’t do this, but they want people to use their Play Store. And I don’t think we have a permission system that is actively used on any of the major desktop operating systems, anyways.

0xtero, (edited ) in New Linux user here. Is this really how I'm supposed to install apps on Linux?

As others have already pointed out, a lot of Linux software is installed from repositories in a standard way, and once you do that, it updates automatically.

However, as you’ve already discovered, there’s more than one way to install Linux software. Repositories are still the most common way, but installing single .deb’s (Debian based distributions) or .rpms (RedHat packaging format) is still there and there are more like Snap, Flatpak and Appimage. You can also often just download the source and compile it yourself. It’s a very diverse ecosystem, not like the controlled worlds of WIndows and Mac.

In this case you can download the .deb file, and pretty sure you can even install it through the file manager, just like in Windows (I don’t use Ubuntu, but I think it will just start GUI installation if you double-click on a .deb file).

But lot of things in Linux are still done through the terminal, like changing configurations and, yes, installing things.

Getting used to it takes a while, especially if you’re not used to modern Windows administration through PowerShell.

The important part is trying to figure out what each of the commands do and that the output actually means. Software that supports Linux normally has very clear instructions (like in this case), but it does require willingness to change habits, technical curiosity and some trial and error (patience). It’s not quite as polished experience as the commercial OS’s. There’s still a lot of rough edges for the user.

Good luck on your Linux journey!

techognito, (edited ) in New Linux user here. Is this really how I'm supposed to install apps on Linux?
@techognito@lemmy.world avatar

If you go to: 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.

where_am_i,

No, you don’t. Bad advise. Use repos.

Adanisi, (edited )
@Adanisi@lemmy.zip avatar

And please explain how using the .deb from Mullvad, is worse than using a repo (also from Mullvad) which provides you that same .deb??

techognito,
@techognito@lemmy.world avatar

Only thing I can think of is by adding the repo you get updates with your system. This makes it more secure by having patched software.

Adanisi,
@Adanisi@lemmy.zip avatar

You’d be right, but this program has an auto-update mechanism anyways.

techognito,
@techognito@lemmy.world avatar

It might not be good advice, but that was not what OP asked for.

My comment was meant as a beginner-friendly way to install Mullvad VPN on Ubuntu, and not unsolicited advice telling them to learn something that should not be needed for daily computer usage. And while adding the repo might be the better solution, that would require the use of the terminal, and as multiple people have proven to me, that wouldn’t be a friendly way to introduce Linux to someone just starting out.

You don’t teach someone to swim, by dropping them in the middle of the pacific.

woelkchen, in New Linux user here. Is this really how I'm supposed to install apps on Linux?
@woelkchen@lemmy.world avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #