this post was submitted on 16 Feb 2024
110 points (89.3% liked)

Linux

46751 readers
1974 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
 

I had been waiting for a really long time for that video by the Linux Experiment (really good Linux youtuber) which is also available there: https://tilvids.com/w/bLPmGvqHd69ANdPdhRZXWV .

Sadly, as I'm on Fedora, there are a few differences from Ubuntu (DNF instead of APT) and I can't use the PPA from the github links ( https://github.com/quickemu-project/quickgui/releases?page=1 , https://github.com/quickemu-project/quickemu?tab=readme-ov-file ).

I'm sure it's easy once you get to the beginning of the video but since I can't install quickgui and I'm stuck.

It would be really nice if I could get some help as I'm sure it's fairly easy for someone more knowleadgable than me.

I should just add that I don't even really know what DNF, APT and PPA are. I just know it's related to my problem.

Edit: Basically I’m stuck at the part where you have to use the terminal to install quickgui with these lines

sudo add-apt-repository ppa:yannick-mauray/quickgui sudo apt update sudo apt install quickgui

all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 6 months ago (1 children)

The missing graphics acceleration is annoying. It is really sluggish and not fun to use.

[–] [email protected] 4 points 6 months ago (1 children)

Even if it’s slow, it’s fine by me. As long as it works 😅

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago)

Yeah, being that sluggish won't do it for me. And supposedly there are other solutions that can pull it off(?!)

I tried quickemu last week. And it was really easy. However, the fact that it doesn't support the latest version of MacOS (there's an PR for that) and that it felt way slower than anticipated made me stop. Maybe I'll explore other solutions to get MacOS virtualized.

[–] [email protected] 29 points 6 months ago* (last edited 6 months ago)

This video was all cool until he said "using spicy remote desktop protocol". That's when I knew it was all the typical bs guide that results in a slow system not usable for anything remotely close to real time. Also the guy is running without any GPU acceleration making things very bad.

[–] [email protected] 17 points 6 months ago (1 children)

What's the advantage of this vs running it in a container? https://github.com/sickcodes/Docker-OSX

[–] [email protected] 9 points 6 months ago* (last edited 6 months ago) (1 children)

I wasn't aware this existed, neat

[–] [email protected] 4 points 6 months ago

I used this one or a similar one a while back. Pure magic. It started downloading a ton of stuff, and half an hour later I was greated by a (slow) macOS, good enough to do some tests of my webapp on Safari.

[–] [email protected] 9 points 6 months ago (2 children)

I haven't watched that video, but I just followed the instructions on OSX-KVM and it was a breeze, took a few hours to install though.

[–] [email protected] 2 points 6 months ago (1 children)

I’ve tried it a while ago and I couldn’t get to the end of the installation process as it was saying « internet connection required » (when clearly I had one outside of the VM)

[–] [email protected] 3 points 6 months ago (2 children)

I had that problem with some versions of macOS, but not Big Sur

[–] [email protected] 2 points 6 months ago (1 children)

Well I tried and managed to install Big Sur but it’s not displaying my iPhone (for backups).

Since it was my main purpose for getting MacOs, it’s a bit useless.

[–] [email protected] 1 points 6 months ago

Yeah, logging into iCloud is a whole nother thing, you have to spoof an Apple device and it's really complicated. I just wanted it for Safari though, so it worked for me.

[–] [email protected] 1 points 6 months ago (1 children)

How can an OS take so long to install?

[–] [email protected] 6 points 6 months ago

It's relatively recent that OS can be installed in such a short time. MacOS isn't officially supported for installing on these systems so there process used here isn't going to be well optimised. Apple only care about installing MacOS on their own hardware, which is likely quick when they do it in production and slow elsewhere.

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago) (1 children)

I’m currently installing MacOS using this guide to be able to use XCode for school and it seems to be working so far (with monterey). It’s a bit sluggish but it’s either this or buying/renting a macbook.

[–] [email protected] 1 points 6 months ago (1 children)

On Fedora? Then please tell me what are the lines you’re using 🙏

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

quickemu actually has installation instructions for Fedora. I'm using OpenSUSE, which unlike Fedora doesn't have installation instructions at all, that's why I ended up using Distrobox. I looked at my command history and I think this is what I did.

  1. distrobox create --image ubuntu macos-vm-box
  2. distrobox enter macos-vm-box
  3. sudo apt update && sudo apt upgrade
  4. sudo apt install software-properties-common
  5. sudo add-apt-repository ppa:yannick-mauray/quickgui
  6. sudo apt update
  7. sudo apt install quickgui
  8. Use quickgui

It should also work on Fedora, but I may have missed some commands.

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)
[–] [email protected] 4 points 6 months ago (1 children)

dnf and apt are both package managers, they function a bit different. The ppa is a personal repository set up for apt, so it qon't work in combination with dnf. You could try and set up quickgui through the build instructions with the tarball on their github page, but as far as I can read right now quickemu does work on fedora through dnf

[–] [email protected] 1 points 6 months ago (1 children)

Yeah I really have to learn RPM and make a COPR.

[–] [email protected] 2 points 6 months ago

Googled around a bit, seems like this is the official guide

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

You are running fedora which is using the dnf package manager. The commands you mentioned (apt/ppa) are part of the apt (aptitude) package manager which is comes with Ubuntu.

Apt is the command to install/manage packages on Ubuntu (and other distros that use apt). A ppa is a special way to tell apt where it can download packages from. It lets you a install 3rd party packages not provided by your distros default selection. It is specific to apt and will not work for dnf.

This isn't the end of the world and you can still install the package. Because these packages are open source, you can build the package from source. The instructions for which can be found on the github readme. Hopefully this cleared some things up!

[Edit] done some poking around, and I managed to get it running on fedora. I had weird issues building it from scratch, so I did it in a janky way by downloading and extracting the deb (it had precompiled bin inside). Looks to be working tho I couldn't test it because no qemu

[–] [email protected] -1 points 6 months ago

Well I guess that’s too complicated for me but thanks for the answer.

I’ll probably just reinstall a windows VM, maybe even Windows XP instead of 10 for the nostalgia trip 😅

[–] [email protected] 2 points 6 months ago

Here is an alternative Piped link(s):

https://piped.video/watch?v=Qa6y_CiyAMA

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] [email protected] 0 points 6 months ago

Yeah quickemu is great. I am using it to run a Windows 11 machine to run a .NET 4 backend with all routing and proxying setup perfectly so it all seamlessly points to localhost from Fedora. I also have a Mac OS VM to test all the Safari bs, but as mentioned the lack of GPU acceleration on osx is annoying.

[–] [email protected] -1 points 6 months ago* (last edited 6 months ago)

Linux fragmenting Ike this between distros is a major problem for the future.