this post was submitted on 11 Mar 2024
28 points (79.2% liked)

Linux

47988 readers
1231 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
28
Help deciding Os (sh.itjust.works)
submitted 7 months ago* (last edited 7 months ago) by utnapishtim@sh.itjust.works to c/linux@lemmy.ml
 

Hi, I'm learning python and I have purchased a 2015 MacBook air. I want to install Linux on it (Ubuntu) but my friend who's a developer told me to leave the MacOs because they are similar as operative systems. What do you think? Should I change the os and switch to Linux? Thanks. Edit: thank you for your replies. There are still so many things I don't understand about programming and os, sorry about that.

you are viewing a single comment's thread
view the rest of the comments
[–] utnapishtim@sh.itjust.works 1 points 7 months ago (1 children)

As I am a beginner do you think it will be difficult to set up? Sorry if this has turned into a conversation.

[–] Pantherina@feddit.de 1 points 7 months ago* (last edited 7 months ago) (1 children)

Dont worry. No the setup is easy, just follow these exact steps:

  • download a silverblue iso from their website
  • flash it to a usb stick using fedora media writer from the same website
  • install it: use recommended partition layout, I recommend to encrypt the disk, set keyboard language etc.
  • the silverblue install has very little steps, reboot after finished and in the GNOME desktop you will finish the setup.
  • directly after finishing, open Ctrl+Alt+T (or the terminal from the app menu) and rebase to ublue
# backup the current version
sudo ostree admin pin 0

# change to ublue but unsigned (temporary)
rpm-ostree rebase --reboot ostree-unverified-registry:ghcr.io/ublue-os/silverblue-main:latest #assuming you dont have nvidia

after reboot, open terminal again and run this

# rebase to the signed image
rpm-ostree rebase --reboot ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-main:latest

Thats it, ublue takes care of all the rest. It adds the Flathub Flatpak repository where you get your apps.

If you want apps that need to by on the system (a vpn app, some terminal tools, a different terminal, editor, filemanager etc) you can install them with rpm-ostree install NAME but note that this will slow down updates. I do this with about 18 packages.

Updates for Flatpak apps and the system are done in the background, install and forget.

If you want to use Ubuntu, Arch, Opensuse, Debian apps safely, without breaking your system, use distrobox.

distrobox create Ubuntu -i #press tab

If you are in the default bash shell, you will get a list of images where you can see all the available container images. This allows you to use apps for any distro on your system, and they are not in a VM and have native performance.

This is typically used for programming (IDE, language, etc.) or compiling, or installing stuff like QGis or RStudio which are not working as Flatpak. I wrote a QGis Distrobox guide on their website, should be merged by now, for RStudio I can write another one (it downloads addons using the dnf package manager which only works on non-atomic fedora and generally is a mess)

Often you will not need Distrobox for regular stuff, if you dont do these things.

Dont install random apps that write to the system, which will not work anyways. Search for RPMs on rpmfusion (already added in ublue), COPR, OpenbuildService etc. You need RPMs for the current fedora version.

You can install GNOME extensions through the firefox addon and the flatpak extension manager.

When there is an update like Fedora 40 coming soon, wait a few weeks or months. Fedora supports 2 versions, the old one (currently 38) and the current one (currently 39). 39 will become the old one and get updates until half a year or so, and it will be more stable. 40 will get the latest stuff like GNOME 46 or Plasma6 (on the Kinoite image) and thus have more breakages.

Ublue cant upgrade for some reason, so if you hear about the new version, wait a bit and run

rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-main:latest

Again. If you want to be sure, this is how you make backups

# show your images
rpm-ostree status

# 0,1,2,3 are from newest to latest, up to down. The image with the • is currently used.

# save the currently used version
sudo ostree admin pin 0

# remove the saved version
sudo ostree admin pin -u 1
[–] utnapishtim@sh.itjust.works 1 points 7 months ago (1 children)

Thank you, I'll follow the instructions. I'll let you know how it goes. Thank you again for your reply.

[–] Pantherina@feddit.de 1 points 7 months ago

No problem.

Also discussion.fedoraproject.org and docs