linux

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

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

It’s less complicated than it looks like. The text is just a poorly written mess, full of options (Fedora vs. Ubuntu, repo vs. no repo, stable vs. beta), and they’re explaining how to do this through the terminal alone because the interface that you have might be different from what they expect. And because copy-pasting commands is faster.

Can’t I just download a file and install it? I’m on Ubuntu.

Yes, you can! In fact, the instructions include this option; it’s under “Installing the app without the Mullvad repository”. It’s a bad idea though; then you don’t get automatic updates.

A better way to do this is to tell your system “I want software from this repository”, so each time that they make a new version of the program, yours get updated.

but I have no idea what I’m doing here.

I’ll copy-paste their commands to do so, and explain what each does.


<span style="color:#323232;">sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
</span><span style="color:#323232;">echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
</span><span style="color:#323232;">sudo apt update
</span><span style="color:#323232;">sudo apt install mullvad-vpn
</span>

The first command boils down to “download this keyring from the internet”. The keyring is a necessary file to know if you’re actually getting your software from Mullvad instead of PoopySoxHaxxor69. If you wanted, you could do it manually, and then move to the /usr/share/keyrings directory, but… it’s more work, come on.

The second command tells your system that you want software from repository.mullvad.net. I don’t use Ubuntu but there’s probably some GUI to do it for you.

The third command boils down to “hey, Ubuntu, update the list of packages for me”.

The fourth one installs the software.

Critical_Insight,

Thanks for the explanation. However trying to run the first command gives me sudo: curl: command not found

So I’m stuck right there in the first step lol

Ludrol,
@Ludrol@szmer.info avatar

<span style="color:#323232;">sudo apt install curl
</span>
Oha,

sudo apt install curl

SpicySquid,

That should be easily solved with: sudo apt install curl

pmk,

curl is a good tool to have in general, you can install it with sudo apt install curl

TrickDacy,
@TrickDacy@lemmy.world avatar

Wow, interesting. You may be able to install curl to fix that like this:


<span style="color:#323232;">sudo apt-get update
</span><span style="color:#323232;">sudo apt-get install curl
</span>

Can’t hurt to try

NekkoDroid,
@NekkoDroid@programming.dev avatar

I would have guessed that Ubuntu would install it by default since its a very common way to get stuff from the internet (when in the terminal), but apparently not (the other option is wget which is most likely installed, but that uses a different way to get the stuff).

You should be able to install curl with sudo apt install curl

drctrl,

My fresh Debian install didn’t have that too and I thought it came with the installation

ikidd,
@ikidd@lemmy.world avatar

Debian doesn’t even come with sudo, git or curl by default. It’s kind of minimal on purpose.

apprehensively_human,

It always throws me off on a fresh install when I can’t sudo

Matriks404,

I didn’t know that any distribution comes with git preinstalled.

intensely_human,

sudo apt install curl

user224,
@user224@lemmy.sdf.org avatar

Hmm… ProtonVPN team solved this in better way. They put the repo configuration stuff into DEB file, so it’s just a matter of double clicking it and clicking install on Debian-based and Ubuntu-based (I know Ubuntu is Debian-based) distros and then installing the ProtonVPN client through either GUI or CLI package manager, whichever you wish to use. More newbie-friendly.

Unfortunately, I also just learned they dropped support for Arch Linux :(

We’d love to support the new app for arch Linux but honestly we’re understaffed and don’t have the bandwidth to be supporting the same distros that we did before with the previous client (4 packages before vs 10 packages now). If anyone from the community is willing to make AUR packages for themselves and publish/maintain them we’re totally fine with that, as long as people keep in mind that it would be an unofficial version because we currently don’t support arch Linux with the new v4 app.

Also if anyone’s interested: boards.eu.greenhouse.io/proton/jobs/4140067101

0xtero,

Hmm… ProtonVPN team solved this in better way. They put the repo configuration stuff into DEB file, so it’s just a matter of double clicking it and clicking install

I was wondering how they’d solve signature checking and key installation - and looking at their page they seem to recommend skipping checking package signatures which, to be honest, isn’t a super good practice - especially if you’re installing privacy software.

Please don’t try to check the GPG signature of this release package (dpkg-sig –verify). Our internal release process is split into several part and the release package is signed with a GPG key, and the repo is signed with another GPG key. So the keys don’t match.

I get it’s more userfriendly - and they provide checksums, so not a huge deal, especially since these are not official Debian packages, but the package signing has been around since 2000, so it’s pretty well established procedure at this point.

XTL,

Any instructions that say sudo curl should be thrown out immediately.

bjorney,

Is curl so untrusted that you would prefer to use 3 commands (one which still needs root permissions) instead?

XTL, (edited )

The point is that an HTTPS request does not need root permissions. Other steps might, and that’s indeed high risk.

bjorney,

The curl that ships with apt is ubiquitous enough that I trust doing sudo curl xxx yyy more than enough if it means avoiding typing curl xxx /tmp/yyy && sudo mv /tmp/yyy yyy

governorkeagan,

I love this community because of responses like this.

umbrella,
@umbrella@lemmy.ml avatar

to be fair all of that should be a flatpak you click once to install

lvxferre,
@lvxferre@lemmy.ml avatar

Frankly in this case even a simple bash script would do the trick. Have it check your distro, version, and architecture; if you got curl and stuff like this; then ask you if you want the stable or beta version of the software. Then based on this info it adds Mullvad to your repositories and automatically install it.

umbrella,
@umbrella@lemmy.ml avatar

nowadays they always come across as lazy to me, when a bunch of options are available to make installing software on linux painless.

lvxferre, (edited )
@lvxferre@lemmy.ml avatar

I like them, even for software installation. Partially because they’re lazy - it takes almost no effort to write a bash script that will solve a problem like this.

That said a flatpak (like you proposed) would look far more polished, indeed.

umbrella, (edited )
@umbrella@lemmy.ml avatar

oh i meant devs who provide packages but don’t bother with install scripts.

bash scripts are fine when they exist.

lvxferre,
@lvxferre@lemmy.ml avatar

Ah, got it. My bad. Yeah, not providing anything is even lazier, and unlike “lazy” bash scripts it leaves the user clueless.

lemmyvore, in Is it actually dangerous to run Firefox as root?

You seriously need to stop what you’re doing. Log in with ssh only. If you need multiple terminals use multiple ssh sessions, or screen/tmux. If you need to search something do it on your desktop system.

The server should not have Firefox installed, or KDE, or anything related to desktop apps. There’s no point and nothing good can come of it.

Dirk,
@Dirk@lemmy.ml avatar

This. Thread should have officially ended here.

Falcon,

Yeah there’s a bit of scope to review what op is doing here.

Why is there even a DE on a server if it’s headless. If it’s not headless why not write up some Dockerfiles and manage it from a non-root account?

Are the services running as root?

Also, is it being accessed via wireguard/ovpn? It would be unwise to run a server as root with an open port.

desmosthenes,
@desmosthenes@lemmy.world avatar

came to say this

BetaDoggo_, in The Linux Kernel Preparing To Drop Infrastructure For Old &amp; Obsolete Graphics Drivers - Phoronix

Dropping support after only 25 years? I can’t believe Linux is contributing to planned obsolescence.

ArmoredThirteen, in Unity’s Open-Source Double Standard: the ban of VLC

Unity employee here, idk anything specific about the departments that handle this I wouldn’t even know what their name is. With that caveat, I will say that all the layoffs last year going into this year, changing CEOs, and the competition between big company beurocracy and the dying breath of small company culture, a lot of departments are behaving erratically. I wouldn’t be surprised if nobody internally has a clear answer why this was banned but others aren’t. Some workers may legit be trying to help but their hands are tied for corporate or maybe even legal reasons, it could be people trying to keep their heads down and close tickets quickly to keep metrics up in the hopes they’re less likely to be fired. I think you all know this already but please don’t be too hard on the workers we’re doing what we can but it’s a corporate mess right now

Secret300,

Wow I never knew it was that bad. I hope you have something else lined up it sounds like everyone’s employment is shaky

ArmoredThirteen,

Yeah it’s a bit of a shit show for sure. Unfortunately I do not have anything else lined up right now, I know that’s an unsafe decision. My life has been a mess lately I can only handle so much at once and finding different work is exhausting

Secret300,

I can understand that. I wish you the best

Tyfud,

If you’re a software engineer, and you’re in the unity Austin area, lmk. Assuming you would be open to writing b2b software, the company i work for is huge, and still hiring devs.

ArmoredThirteen,

I appreciate this, I’m not in that area though. I also plan on migrating back into making games for my next job because I’m a slut for corporate abuse

astraeus,
@astraeus@programming.dev avatar

A friend of mine worked in a position I would have assumed was considered vital to one of Unity’s products, in fact to my knowledge they were the only one keeping that part running. Apparently the higher-ups were able to lay them off without much hesitation this time around. The company seems to be leaking hard.

KingThrillgore,
@KingThrillgore@lemmy.ml avatar

I feel like more than anything right now, you need a hug. 🤗

ArmoredThirteen,

I appreciate you

Feidry,

As a long time Unity user, thanks for your hard work. It’s appreciated more than you could ever know.

SRo,

Stop making excuses for your fuck ups and start fix things.

MrRawRats, (edited )

It’s not his fault that his bosses and their bosses are fuckwits. Don’t blame the common worker for the shit the company board does

TopRamenBinLaden, (edited )

You don’t understand how development works, at all. The developers themselves don’t make these kind of decisions at these companies. They just do what they are told to do by their higher-ups. The higher-ups happen to be corporate businesspeople that don’t really know much about tech, and only care about profits.

The blame for Unity’s failures belongs to the executives and businesspeople, not the developers.

ArmoredThirteen,

Amazing lol. Yeah I’ll get right on that maybe I can talk some sense into the CEO during my daily morning cocktails with him

Reddfugee42,

THAT’S BETTER GOSH

Tyfud,

Written by someone who has never beena cog in the machine at a company like this.

There’s nothing he can do to affect things there. Nothing. Not even quitting will change anything.

ArmoredThirteen,

Quitting would probably be doing them a favor tbh they’re already trying to fire everyone

Yoz,

Can you prove that unity’s employee?

taanegl, (edited )

Look, it’s a low level employee of a faceless corporation!

GET 'IM!

Jokes aside, thanks for the transparency, and salute to you and your coworkers for trying to weather the storm caused by “shifting paradigms”… that’s what they call it, right? I know the execs can shift my paradigm, that’s for sure.

Peace and love.

ArmoredThirteen,

Tech in general but especially the game industry desperately needs to unionize. If the last couple years doesn’t convince tech bros they’re just as expendable as all the other working class out there, idk what will. Got to do something to insulate us from “restructures”, “rightsizing”, and “company resets”

hperrin, in Amazon Building its Own Linux-Based OS to Replace Android

Cool. Another OS to avoid.

Cyberbatman,

This is the best description for everyone

franklin, (edited )
@franklin@lemmy.world avatar

Agreed. If it was any company at all except Amazon there would be hope but come on. We’ve all seen what they did to the fire sticks

AbidanYre,

If it was any company at all except Amazon there would be hope

You won’t be saying that in a couple months when Facebook makes their own announcement.

franklin,
@franklin@lemmy.world avatar

Yeah fair, not ANY company

GustavoM, in Based KDE 🗿
@GustavoM@lemmy.world avatar

“But can Linux install things via a single .exe file? HAHAH EAT IT NERD!”

  • 10’ish years ago past me, before discovering the magical wonders of the package manager
embed_me,
@embed_me@programming.dev avatar

With app images it’s easier than installing. Although the chmod step will deter the typical windows user

theshatterstone54,

With file managers, for example in thunar, you can select Properties -> Permissions -> Allow this file to run as a program

cerement,
@cerement@slrpnk.net avatar

also for non-KDE, non-Gnome systems, there’s appimaged – requires a little more setup, but handles the set executable, automates the AppImage integration (.desktop files and menus), keeps a watch on specific folders for new AppImages, and provides a way to check for updates

theshatterstone54,

I’m saving this. I don’t use any appimages (except a cracked Minecraft bedrock launcher but we dont talk about that one), but I’m still going to save this.

Kierunkowy74,
@Kierunkowy74@kbin.social avatar

What chmod step?

When I clicked on new app image, the OS told me, that program /name of app/ will be launched, I clicked "Continue" and it runs! No meddling with "chmod" or anything like that.

user224,
@user224@lemmy.sdf.org avatar

Same, I love AppImages for that. I just wish they also had way to contain configurations instead of putting it on the system. That would make it even more portable.

Damage, (edited )

ELF and .sh files need to be set executable, chmod +x file, before they can be run, unless your DE does that for you

Dunno about appimages

Kierunkowy74,
@Kierunkowy74@kbin.social avatar

KDE does exactly like that
(I am using MX Linux)

droans,

At least for Ubuntu, you do need to set the permissions of the AppImage before it’ll launch.

I still haven’t figured out how to make .desktop files work yet.

ziixe,
@ziixe@lemmy.dbzer0.com avatar

I installed Linux a few weeks ago and it was on Tuesday I wanted to add some programs I had installed (it was mGBA and melonDS) to my steam launcher, I went through the hassle of making a . desktop file for both of them (I was dumb and used a Ubuntu based distro, so it installed as a snap, which sucks hard on a hdd) and then it wouldn’t launch, I searched up again (I was using chatGPT for all of this, I asked it a lot how to do stuff, it’s like this was it’s purpose beacuse it always worked first try), did the chmod x+ command and then I was done

Just to see it not launch :/

cows_are_underrated,

How do you actually install an AppImage? I figured out how to use them, but not how to install them.

embed_me,
@embed_me@programming.dev avatar

You don’t install them. You just give them the permission to run and then run them.

woobie,

There is no install needed, you can just edit permissions and make the file executable and then when you open it or click it the app runs.

What won’t be created by default is an application menu to run it from whatever desktop environment you use. You can create those if you wish. You can create a launcher in the menu manually, or you can use a tool called AppImageLauncher to create these for you.

There’s a pretty good explanation here: askubuntu.com/…/add-an-appimage-application-to-th…

jayandp,

Not to mention Flatpaks.

DoucheBagMcSwag,

I still am intimidated by the terminal as I’ve only had slight experience with CMD

bellsDoSing,

Honestly, if all you’ve ever experienced in regards to terminals is windows CMD, then you really haven’t seen much. I mean that possitively. Actually, it will give you a far worse impression on what using a Linux / Unix terminal can be like (speaking as someone who spent what feel’s like years in terminals, of which the least amount in windows CMD).

I suggest to simply play around with a Linux terminal (e.g. install VirtualBox,.then use it to install e.g. Ubuntu, then follow some simple random “Linux terminal beginner tutorial” you can find online).

cows_are_underrated,

The Windows Terminal is absolute Garbage. I tried to use it for some very simple stuff and it was such a trash experience. It just feels wrong.

psud, (edited )

Don’t worry about the terminal until or unless you have something to do that needs it, then follow a guide

Incidentally if a guide tells you to run a program in terminal, you can check what that program is supposed to do

  • man command (eg. man mount) gives you the manual, if it has a manual
  • command -h or --help gives you the command’s help page - pipe it through “less” if it’s more than a single screen eg: ls -h | less
RQG,
@RQG@lemmy.world avatar

I found since people are used to app stores, I’ve had a much easier time convincing people to try out Linux. My mom even said that she always wished her windows PC had a proper app store.

Tavarin,
@Tavarin@lemmy.ca avatar

But Windows does have an app store, and has for ages now.

savedbythezsh,

Yeah but it’s awful, and can only install UWP apps which are just plain bad

Tavarin,
@Tavarin@lemmy.ca avatar

Sure, but pretty much every common application most people use is available, which is fine for the majority of people such as OPs mom.

aniki,

deleted_by_author

  • Loading...
  • Tavarin,
    @Tavarin@lemmy.ca avatar

    I don’t think getting instagram, or photoshop off the microsoft store is giving anyone a virus. And I’ve never gotten a virus from it in the few times I’ve used it.

    AeroLemming,

    I can’t even get the fuckin’ thing to open half the time. There’s no way in hell I’m using that buggy piece of shit to install important software.

    Tavarin,
    @Tavarin@lemmy.ca avatar

    What crap machine are you running? I can open the store on my Surface 3 I’ve had for nearly a decade.

    alsimoneau,

    It can break if you disable telemetry.

    AeroLemming,

    I suspect that’s what happened to me.

    numanair,

    Most of them are, but there are non UWP apps on there too.

    Jayayess1190,
    @Jayayess1190@lemmy.world avatar

    When is the last time you’ve used it? Microsoft opened it up and now you can find all types of non UWP apps in it.

    flontlocs,

    Still ass though.

    Just install/update App Installer and use winget.

    Cannacheques,

    Windows has also had a variety of freeware since before there was never an app store

    Tavarin,
    @Tavarin@lemmy.ca avatar

    Of course, and much of it is on the app store now (which I rarely use myself), but for someone like OPs mom who just wants an easy app store, well there is one.

    FangedWyvern42,
    @FangedWyvern42@lemmy.world avatar

    It’s not that good. It’s ok (especially now that it’s been unshackled from the hell of UWP), but it’s not as good as most Linux options.

    Tavarin,
    @Tavarin@lemmy.ca avatar

    For someone like OPs mom it would be more than good enough is my point. She’s saying she wished something existed that does indeed exist.

    grue, (edited )

    I think it’s still important to explain the key difference between an “app store” and a package repository: the latter isn’t a “store” because everything is free.

    RQG,
    @RQG@lemmy.world avatar

    True but it helps get the concept across so much.

    Zamundaaa,

    Thst might change with Flathub’s ambitions to become an actual app store though

    cows_are_underrated,

    Did I just heard that right? Flathub wants to charge for software?

    Zamundaaa,

    Yes. Flathub wants to become a platform where people and companies can sell their software

    AbouBenAdhem, (edited ) in SSH protects the world’s most sensitive networks. It just got a lot weaker

    Interpreting “a previously-unrecognized weakness in X was just found” as “X just got weaker” is dangerously bad tech writing.

    conciselyverbose,

    I get your point that the exploit existed before it was identified, but an unmitigated exploit that people are aware of is worse than an unmitigated exploit people aren't aware of. Security through obscurity isn't security, of course, but exploiting a vulnerability is easier than finding, then exploiting a vulnerability. There is a reason that notifying the company before publicizing an exploit is the standard for security researchers.

    You're right that it's never an OK title, because fuck clickbait, but until it's patched and said patch propagates into the real world, more people being aware of the hole does increase the risk (though it doesn't sound like it's actually a huge show stopper, either).

    wewbull,

    Also, finding an exploit means the system will get stronger very shortly.

    AbouBenAdhem, (edited )

    Weakness and risk are distinct things, though—and while security-through-obscurity is dubious, “strength-through-obscurity” is outright false.

    Conflating the two implies that software weaknesses are caused by attackers instead of just exploited by them, and suggests they can be addressed by restricting the external environment rather than by better software audits.

    Kid_Thunder,

    In my opinion Dan Goodin always reports as an alarmist and rarely gives mitigation much focus or in one case I recall, he didn't even mention the vulnerable code never made it to the release branch since they found the vulnerability during testing, until the second to last paragraph (and pretended that paragraph didn't exist in the last paragraph). I can't say in that one case, it wasn't strategic but it sure seemed that way.

    For example, he failed to note that the openssh 9.6 patch was released Monday to fix this attack. It would have went perfectly in the section called "Risk assessment" or perhaps in "So what now?" mentioned that people should, I don't know, apply the patch that fixes it.

    Another example where he tries scare the reading stating that "researchers found that 77 percent of SSH servers exposed to the Internet support at least one of the vulnerable encryption modes, while 57 percent of them list a vulnerable encryption mode as the preferred choice." which is fine to show how prevalent the algorithms are used but does not mention that the attack would have to be complicated and at both end points to be effective on the Internet or that the attack is defeated with a secure tunnel (IPSec or IKE for example) if still supporting the vulnerable key exchange methods.

    He also seems to love to bash FOSS anything as hard as possible, in what to me, feels like a quest to prove proprietary software is more secure than FOSS. When I see his name as an author, I immediately take it with a grain of salt and look for another source of the same information.

    Kit, in When Windows 10 dies, I am going to jump ship over to Linux. Which version would you recommend for someone with zero prior experience with Linux? **Edit: Linux Mint it shall be.**

    Linux Mint

    Zorcron,

    I recently jumped to mint, and I have to say I’m very happy with it. I struggled with like two things but the OS is popular enough that there are walkthroughs for nearly everything. And I was able to get Linux-based or browser-based software for everything I did on my windows computer

    Mikina,

    How does Mint compares to Fedora? I decided to finally switch almost a month ago, and went with Fedora because it seemed like the best solution for general development, and I really like their Toolbox. However, I’ve been running into some issues mostly regarding gaming and NVIDIA drivers, and in general getting some applications to work on Fedora was more painful than apparently in most of the other systems.

    So, should I switch, or will the Wine/Steam/Lutris experience be mostly the same on Mint as it is on Fedora?

    icydefiance, (edited )

    Most problems I’ve seen between Nvidia and Linux were caused by Wayland. If you’re using Fedora with Gnome (the default) then you can try hitting the gear icon when logging in and choosing “gnome on xorg” (screenshot). That might help with the drivers.

    For any other issues, Mint might be easier just because it’s based on Debian, which is immensely popular. It’s more of a well beaten path, and there’s probably more help online for any issues you run into.

    NotATurtle,

    It’s great for beginners and has many guides online.

    helenslunch,
    @helenslunch@feddit.nl avatar

    Debian Edition*

    mex,

    What are its advantages compared to the regular one? Genuinely interested

    helenslunch,
    @helenslunch@feddit.nl avatar

    Lack of corporate cronyism

    RmDebArc_5,
    @RmDebArc_5@lemmy.ml avatar

    Debian is Debian based and regular Mint is Ubuntu LTS based and use theirs respective repos (not a big difference for the average user). While currently the non Debian version is the main and recommended version, due some controversial changes in Ubuntu people want to move away from Ubuntu and the devs have considered making the Debian edition the main one.

    Eldritch,

    Ubuntu is Debian based as well. But yes, it’s 100% about avoiding the shoehorned in canonical shenanigans.

    jsh,

    To each their own, but Ubuntu’s repos are a bit fuller than Debian’s.

    superweeniehutjrs,

    Mint is great. It also works well out of the box in virtual machines. I like the MATE versions for my older machines.

    There is a major shift happening right now, and mint is slower than many to adopt changes. I’d argue that’s good for mint users, but it may be bad for you personally if you plan to learn about modern linux. Idgaf personally about X11 vs Wayland, because I just need to be able to use my programs.

    ekky,

    +1

    I personally started by playing around with Ubuntu, but it just didn’t feel intuitive coming from windows.

    Went over to Mint, and was very happy,especially with drivers and gaming. I even fully removed my windows installation during this period. Having gained a better understanding of Linux, I have now moved on again.

    The only real drawback of Mint is not natively supporting KDE Plasma (as they did before). And yes, you can just install it yourself, but I wouldn’t recommend a beginner who barely knows how to install Linux to attempt such an endevour.

    One word of advice to OP: don’t wait till you can’t use Windows anymore. Start by dual booting and getting a hang of Linux, but with windows at the ready for any tasks you cannot yet do/feel comfortable doing on Linux. As you get a better hold of Linux, you should naturally begin to use Windows less.

    The worst thing someone can do, is to jump OS without any backup or safety net. Learning to use Windows took a long time, getting a hang of new concepts and getting used to an alien environment. Now, already having a hang of “computers” (Windows), we have digital needs and expectations (E-Mail, gaming, etc.) which will need fulfilling, but many seem to forget that a different OS means different ways of doing our daily tasks and different challenges to handle.

    And yes, “different”, because Windows definitely also comes with it’s own unique challenges, you just don’t see them as much when having gotten used to them.

    pfaca,

    One word of advice to OP: don’t wait till you can’t use Windows anymore. Start by dual booting and getting a hang of Linux, but with windows at the ready for any tasks you cannot yet do/feel comfortable doing on Linux. As you get a better hold of Linux, you should naturally begin to use Windows less.

    Good advice here OP.

    pingveno, in Linux reaches new high 3.82%

    Okay, I guess I’ll say it. Year of Linux Desktop!

    bigkahuna1986,

    Next year is the year of IPv6!

    misophist,

    I wish! I’ve got the hardware to support it, but neither of the two ISPs available at my house support IPv6.

    henfredemars,

    Could be worse. My ISP has a broken implementation.

    vox,
    @vox@sopuli.xyz avatar

    my isp supports ipv6 but disables it in openwrt config.
    i found a way to get root access to it and re-enabled it, seems to work just fine. the configuration is kinda fucked up but kinda works (dhcpv6, no slaac)

    NegativeInf,

    Every year from now until the end of time.

    PenguinLover,
    @PenguinLover@lemmy.ml avatar

    So every year till 2038. XD

    explanation

    pingveno,

    I will never get tired of Year of Linux Desktopping!

    simple,
    @simple@lemmy.world avatar

    Whew, I was getting worried we were one day into 2024 and nobody said this yet.

    HouseWolf,

    Gotta keep the party going!

    Ibaudia, in Why more PC gaming handhelds should ditch Windows for SteamOS
    @Ibaudia@lemmy.world avatar

    Of course Linux is better for custom, purpose-built hardware. That’s like, its main advantage for the commercial sector.

    fidodo,

    Also, single purpose use cases. Servers don’t necessarily run on custom hardware, but they do only one type of thing.

    zelifcam, (edited )

    deleted_by_author

  • Loading...
  • GTG3000,

    Yeah, the sole reason I don’t have linux on my old laptop is that lenovo has completely proprietary video drivers for it. I’m talking “manufacturer’s installers don’t think there’s a video card there” proprietary.

    Ottomateeverything,

    Now we just need that GFX software from intel / amd / nvidia that is available on windows, taking advantage of that newly supported hardware

    Stop, you’re making me too hard. I might be able to like, ditch Windows if that happens.

    woelkchen, (edited )
    @woelkchen@lemmy.world avatar

    Edit. By software I’m talking about in game features.

    Like FSR and such? That’s available on Linux (FSR 1.x is integrated into SteamOS for compositor-level upscaling). AFAIK AMD does not officially support FSR on Linux but it’s written in a way that it should work with minor integration work. It’s written with cross-platform support in mind, given that it’s targeting PlayStation etc. als well.

    IHeartBadCode, in Sell Me on Linux
    @IHeartBadCode@kbin.social avatar

    I’m also nervous about using an OS I’m not familiar with for business purposes right away

    Absolutely STOP. Do not go with Linux, go with what you are comfortable with. If this is business, you do not have time to be uncomfortable and the learning curve to ramp up to ANY new OS and be productive is something that's just a non-negotiable kind of thing.

    If you've never used Linux, play with Linux first on personal time. For business time, use what you know works first and foremost.

    All OSes are tools. You do not just learn a tool when your job is waiting for a bed frame to be made or whatever.

    TL;DR

    If you are not comfortable with Linux, do NOT use it for business.

    cmg,

    Agree here.

    Spend your time making sure you are protected against ransomware with good offline backups and able to recover your practice. Keep your payments separate from your comms machine.

    Your job is going to have lots of shady things to click on/invoice/etc

    Plan for it so a malicious client/infected evidence/mistaken click doesn’t take down your practice.

    I’m 25y into this as a technologist and still make mistakes on “oh this will be quick”. Make sure your time sinks are 100% aligned with your business. Think of automation / value and you’ll have the right mindset.

    If you find the tech side fascinating, there’s always demand for good tech lawyers and lawyer comms are entryways into technology management.

    mayoi,

    If you don’t have a cheap throwaway laptop to try doing business with Linux, you have no business doing any business.

    mateomaui,

    🏆 for the dumbest comment, congrats

    mayoi,

    If you’re really this poor, give me your address and I will mail you a thinkpad that noone will buy from me for more than $20.

    Isoprenoid,

    My brother in Christ, this isn’t about the money. This is about meeting business deadlines. OP can’t be using time trying to figure out something on Linux when his clients are waiting.

    His first clients are also going to be where his solo practice either sinks or swims.

    Seasoned_Greetings,

    This guy is a troll. He spends his time picking fights and deflecting anything that conflicts with his fragile world view. Check his profile.

    Just thought you should know. He doesn’t really care about dispensing advice, he just likes feeling superior

    Sage_the_Lawyer,

    This is good advice, I appreciate it. But I should clarify, I definitely won’t be launching my practice before I’m comfortable with the OS. I’m probably going to take some other user’s suggestions and do some test runs on my home machine to figure things out. I’m not launching tomorrow, there’s no real rush. My current contract runs until May 2024. So I’ve got 6 months ahead of me to figure things out.

    hillbicks,

    My advice is try using existing documents with Libre office. You can install it on windows as well.

    I use Linux for over twenty years now and installed windows on a vm last week to Wirte my resume. Libre office is fine, you run into problems when opening and editing existing ms office documents. At least that is my experience.

    But give Libre office on windows a shot, see if you like it.

    fushuan,

    I’m going to nitpick your comment because we are Linux users and it’s in our blood.

    Heard about LaTex? You don’t really need to use Word to write resumes. In fact, I’d advise you against it. It’s easier to go to overleaf, download an existing template and generate a usable pdf that won’t break.

    grue,

    Switch to Linux at home now. In six months, you’ll have a much better idea if you want to use it at work.

    d3Xt3r,

    In addition to the other comment re. LibreOffice, I’d also recommend trying out OnlyOffice - generally, it has better compatibility with MS Office formats compared to LO, and the UI is very similar to MSO which may make it easier to use.

    constantokra,

    PDFs might be your sticking point. I’ve not found any software that will handle all the different things you can do with acrobat in an easy way. But I have to heavily modify PDFs from time to time, and you may not have nearly the needs I do.

    I’d suggest checking out libre office, and see if you can find a PDF application that satisfies you. The app store on pop os is really good, as is the interface, and if you don’t like tiling window managers, you can turn it off.

    Another suggestion is to recognize you’re a novice. If you read something that sounds like a perfect setup, but it’s a little complicated, put it off. You don’t want to get in over your head, because linux distros will not keep you from breaking things. The defaults of any large distribution are a pretty safe bet.

    db2, in Some of y'all need to see this and drop the superiority complex...

    I use Mint 21. Checkmate.

    SpeakinTelnet,

    Fedora 39

    finestnothing,

    Windows 98 has entered the chat.

    milicent_bystandr,

    They really went downhill after that.

    redcalcium,

    Me with my Windows 2000 😏

    tate,
    @tate@lemmy.sdf.org avatar

    This is a rare case where it matters that Linux is not an operating system.

    fl42v, (edited )

    Nixos is at 23.11 :) Also, rolling releases are kinda fun: the latest commit so far is 46ae0210ce163b3cba6c7da08840c1d63de9c701 which roughly translates to nixos-unstable 403509863565239228514588166489915404446713104129 :D

    Atemu, (edited )
    @Atemu@lemmy.ml avatar

    You could take the revision number. nixos-unstable has 567011 commits currently.

    d3Xt3r,

    Laughs in Fedora 39

    Stillhart,

    Windows 98 enters the chat

    packetloss,
    @packetloss@lemmy.world avatar

    Windows 2000 says hi to Windows 98

    BunnyKnuckles,
    @BunnyKnuckles@startrek.website avatar

    Windows Server 2022 kicks 2000 in the balls, does a line of coke, and crashes.

    danielf,

    Are we forgetting Windows 2000?

    Redjard,
    @Redjard@lemmy.dbzer0.com avatar

    OpenSUSE 42.3 standing tall

    Valmond,

    Integer override, result -6279532

    _edge, in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    There are several ways to exploit LogoFAIL. Remote attacks work by first exploiting an unpatched vulnerability in a browser, media player, or other app and using the administrative control gained to replace the legitimate logo image processed early in the boot process with an identical-looking one that exploits a parser flaw. The other way is to gain brief access to a vulnerable device while it’s unlocked and replace the legitimate image file with a malicious one.

    In short, the adversary requires elevated access to replace a file on the EFI partition. In this case, you should consider the machine compromised with or without this flaw.

    You weren’t hoping that Secure Boot saves your ass, were you?

    blindsight, (edited )

    The idea is also that a compromised system will remains compromised after all storage drives are removed.

    Ithorian,
    @Ithorian@hexbear.net avatar

    So if I have my computer set that it needs a sudo password for most changes am I good?

    fl42v,

    Unless they find another way to escalate privileges… A bug, a random binary with suid, etc

    _edge,

    Yes, that’s my understanding. A normal user cannot do this. (And of course, an attacker shouldn’t not control a local user in the first place.)

    Physical access is also a risk, but physical access trumps everything.

    Ithorian,
    @Ithorian@hexbear.net avatar

    Thanks for the answer. Unless my dog learns how to code I think I’m safe from anyone getting physical access

    PhatInferno,
    @PhatInferno@midwest.social avatar

    As a hacker imma start teaching dogs to code as part of my breakin process, sorry bud

    FigMcLargeHuge,

    Introduce him or her to FidoNet.

    Murdoc,

    Ah, so the next Air Bud movie will be what, Hack Bud?
    “There’s nothing in the specifications that says that a dog can’t have admin access.”
    “Nothing but 'net!”

    timicin,

    You weren’t hoping that Secure Boot saves your ass, were you?

    i wonder if containerized firefox (eg snap/flatpak) will

    InnerScientist,

    replace a file on the EFI partition.

    Doesn’t this mean that secure boot would save your ass? If you verify that the boot files are signed (secure boot) then you can’t boot these modified files or am I missing something?

    hottari,

    If I can replace a file in your EFI, how hard would it be to sign the same file.

    InnerScientist,

    Well, it rules out an evil maid attack and maybe jumping over a dual boot setup.

    fl42v, (edited )

    If it can execute in ram (as far as I understand, they’ve been talking about fileless attacks, so… Possible?), it can just inject whatever

    Addit: also, sucure boot on most systems, well, sucks, unless you remove m$ keys and flash yours, at least. The thing is, they signed shim and whatever was the alternative chainable bootloader (mako or smth?) effectively rendering the whole thing useless; also there was a grub binary distributed as part of some kaspersky’s livecd-s with unlocked config, so, yet again, load whatever tf you want

    InnerScientist,

    Last time I enabled secure boot it was with a unified kernel image, there was nothing on the EFI partition that was unsigned.

    Idk about the default shim setup but using dracut with uki, rolled keys and luks it’d be secure.

    After this you’re protected from offline attacks only though, unless you sign the UKI on a different device any program with root could still sign the modified images itself but no one could do an Evil Maid Attack or similar.

    fl42v,

    The point with m$ keys was that you should delete them as they’re used to sign stuff that loads literally anything given your maid is insistent enough.

    [note: it was mentioned in the arch wiki that sometimes removing m$ keys bricks some (which exactly wasn’t mentioned) devices]

    _edge,

    Well, not an expert. We learned now that logos are not signed. I’m not sure the boot menu config file is not either. So on a typical linux setup you can inject a command there.

    peopleproblems,

    See, I knew there were other reasons I wouldn’t touch secure boot lol

    falsem,

    Yeah, if someone has write access to your boot partition then you're kind of already screwed.

    plinky,
    @plinky@hexbear.net avatar

    The worst part it persists through reinstalls (if i understood correctly)

    _edge,

    This is also my understanding, at least of you keep the EFI partition.

    Bitrot, (edited )
    @Bitrot@lemmy.sdf.org avatar

    It can outlast those too.

    In many of these cases, however, it’s still possible to run a software tool freely available from the IBV or device vendor website that reflashes the firmware from the OS. To pass security checks, the tool installs the same cryptographically signed UEFI firmware already in use, with only the logo image, which doesn’t require a valid digital signature, changed.

    Bipta,

    Boy do I love the future.

    Bitrot,
    @Bitrot@lemmy.sdf.org avatar

    It’s reminiscent of boot sector viruses in the DOS days.

    bizdelnick, (edited ) in Reminder to clear your ~/.cache folder every now and then

    You don’t have to clean your ~/.cache every now and then. You have to figure out which program eats so much space there, ensure that it is not misconfigured and file a bugreport.

    redd,
    @redd@discuss.tchncs.de avatar

    So OP’s headline should be saying instead: Reminder to CHECK your ~/.cache folder every now and then

    cupcakezealot,
    @cupcakezealot@lemmy.blahaj.zone avatar

    just symlink ~/.cache to /dev/null

    Amends1782,

    Lmao some malicious ass advise here

    KSPAtlas,
    @KSPAtlas@sopuli.xyz avatar

    Cache exists for a reason, that sounds like itd break programs, a safer method is probably having it be a ramdisk

    qaz,
    bizdelnick,

    Check? Why?

    
    <span style="color:#323232;">% du -sh ~/.cache
    </span><span style="color:#323232;">1,6G    /home/bizdelnick/.cache
    </span>
    

    I don’t remember if I ever cleaned it up. Probably a couple years ago when I moved my old HDD to new PC with freshly installed OS. It does not grow accidentally. Only in some very rare cases. As well as some other dirs under ~ and var. If it is a critical system, set up monitoring of free filesystem space. If not, you will notice if it becomes full (I can’t remember when this happened to me last time, maybe ~15 years ago when some log file started to grow because of endless error messages).

    redd, (edited )
    @redd@discuss.tchncs.de avatar

    Because some users experienced accidential grows like OP had 160 Gbyte. So general advice for linux users can be stated as: Check your ~/.cache every now and then

    Critical systems/servers shall better be monitored as you suggest.

    bizdelnick,

    Some users experienced accidential growth of /var/log. Some users experienced accidential growth of /var/cache. Some users experienced accidential growth of /var/lib. Some users experienced accidential growth of ~/.xsession-errors. Shall I continue?

    Does every user need to begin his day checking all that places? No, he does not. It is waste of time. Such situations are extremely rare. If you are paranoid, check df to see if you have enough free space, and only if it unpredictably shrinked begin to ivestigate which directory has grown.

    redd,
    @redd@discuss.tchncs.de avatar

    I don’t get your point. Why should somebody do this every day?

    As the experience from other users in this thread, it seems not extremely rare to have an overgrown ~/.cache/ folder. So checking it from time to time is a good advice. If we all do this for a time, and create bug tickets for software which is not cleaning up. Then this problem will hopefully go away with future software releases.

    Gork, in on arch btw.

    I remember being endlessly entertained by the rotating cube animation between workspaces in the old Beryl implementation.

    I told my wife, “but does your Windows do this?” Followed by rotating the cube. She was like, “I don’t care.” And that was that.

    I shall tell this story to my grandkids.

    JoeBidet,
    @JoeBidet@lemmy.ml avatar

    check wayfire :)

    github.com/WayfireWM/wayfire

    crackdroid,

    Oh yeah! That’s ticking a few boxes for when I eventually switch from X(11).

    sxan,
    @sxan@midwest.social avatar
    PoisonedPrisonPanda,

    I wonder if thats based on a real story…

    SayJess,
    @SayJess@lemmy.blahaj.zone avatar

    There was a jailbreak tweak for iOS that mimicked Beryl, it was so cool.

    rudyharrelson, (edited )
    @rudyharrelson@kbin.social avatar

    I think I accomplished a similar effect on my first linux distro a long time ago with a program called "compiz" (iirc). "I'm so frickin 1337," I whispered under my breath. Nobody cared except me, though, lol.

    PoisonedPrisonPanda,

    Nobody cared except me, though, lol.

    Life in a nutshell…

    be_excellent_to_each_other,
    @be_excellent_to_each_other@kbin.social avatar

    IIRC Compiz was a fork of Beryl or the other way around. I could be wrong though.

    Last I checked you can still do the cube in kwin under plasma.

    russjr08,
    @russjr08@outpost.zeuslink.net avatar

    It was gone from Plasma for a bit, however it’ll be back in the next upcoming Plasma 6 release!

    vardogor,
    @vardogor@mander.xyz avatar

    at least wobbly windows stuck around though. i’ve had that on for like 10 years

    russjr08,
    @russjr08@outpost.zeuslink.net avatar

    Yep, same! Some of my friends have told me it’s a bit “silly” for me to have it enabled - but there’s plenty of bad things that occur on a daily basis in my life, I do not think there’s a single problem with having some wobbly windows as a small vice to enjoy haha.

    be_excellent_to_each_other,
    @be_excellent_to_each_other@kbin.social avatar

    Woohoo!

    simple,

    “but does your Windows do this?” Followed by rotating the cube. She was like, “I don’t care.”

    Wow, that sums up my Linux life pretty well actually

    30p87,

    Does your Windows do this? doesn’t crash

    But seriously, yesterday I cloned my main partition to a new laptop into an LVM volume on LUKS. Because I did not have any way of putting the new NVMe and old SATA SSD into one machine, I just used netcat over an ad hoc network.

    
    <span style="color:#323232;">nc -l 10000 > /dev/main/root
    </span>
    

    on the new Laptop and

    
    <span style="color:#323232;">cat /dev/sda3 | nc 10.31.69.1 10000 -q 0
    </span>
    

    on the old one. Worked perfectly. Now do that on Windows with builtin tools in live boots.

    simple,

    Last time I tried to mess with Windows partition I tried to expand it to merge free space in my C:\ drive, but I couldn’t do that because Windows put the recovery partition in the middle, with no permission to remove it. Had to jump through a million hoops to get Windows to remove it.

    I mean sure, Windows is easier in many ways. Not partition management. Anything but that. What a pain.

    lightnsfw,

    Ran into that a few years ago. I think I ended up fixing it by booting linux off a flash drive and moving the partitions around in that. It wasn’t to difficult after I just gave up trying to do it in Windows. Such a stupid problem.

    Hamartiogonic,
    @Hamartiogonic@sopuli.xyz avatar

    I think I see a theme here. Doing fun normie stuff on iOS/ipadOS is easy. Doing technical stuff is usually completely impossible.

    Doing technical stuff on Linux is easy as long as you know what you’re doing. Doing popular normie things on Linux is a bit hit-or-miss. Some things work perfectly, but other things are a royal pita.

    Windows seems to be in between the two extremes in more than one regard. Microsoft seems to be working to find some sort of compromise in these things.

    andrew,
    @andrew@lemmy.stuart.fun avatar

    Next time you could even add gzip or some other compression and save yourself a bit of time and bandwidth.

    30p87,

    The rate was around 100MB/s. So I think the bottleneck was probably the read/write speeds of the SSDs, considering I have ~900Mbit/s down from speedtest.net, and this setup removed every hop except the old and new Laptops Gigabit Lan Port and the Gigabit patch cable between them. But with larger files/partitions over the internet this would probably help

    crispy_kilt,

    Now do that on Windows with builtin tools in live boots

    More like do that in Windows with any tools. It doesn’t like being moved to different hardware one bit.

    30p87,

    The only problems with my Arch install were

    • /etc/fstab, which I forgot about because I didn’t read the whole install article again
    • custom configs (notable conky) because i8k is not available and all interfaces changed
    crispy_kilt,

    Btw detected

    30p87,

    I’d guess many distros would’ve had errors with preinstalled and configured helpers. Debugging them would be a pain

    Gentoo, LFS, Arch etc. are installed manually, so one typically knows their system very well, including packages and configs they might have to hard configure interfaces etc. in

    30p87, (edited )

    I just noticed I did not fully expand the fs on the target machine after shrinking it on the source machine to be sure it fits. No problem, growing ext4 file systems with resize2fs (indirect dependency of linux and base) works on mounted fs’ too, the Kernel just needs to be newer than 2.6 (so since 2003).
    Took less than 1 second and works flawlessly, live. Conkys fs_free just jumped from 20 to 76. Still time to clear my caches.

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

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/kbin/kbin/vendor/symfony/var-dumper/Cloner/VarCloner.php on line 205

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/kbin/kbin/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php on line 299