this post was submitted on 29 Sep 2024
532 points (97.3% liked)

Games

32670 readers
679 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Lost_My_Mind@lemmy.world 4 points 1 month ago (20 children)

The only thing I'm trying to install linux on is my Raspberry Pi. Upon googling Bazzite, it doesn't seem to support Raspberry Pi.

Also, I've been trying to learn terminal off and on for 15ish years, with no luck. I've been trying to get the fan to work, unsucsessfully on my raspberry pi, for 4 years now. Apperently I have to compile some code......I don't know what that means.......

[–] Iapar 1 points 1 month ago* (last edited 1 month ago) (4 children)

Compiling means that you take code then run that code trough a program that checks if the code works like intended. After that it will put out a binary/exe/whatever that you can work with further.

From wiki:

In computing, a compiler is a computer program that translates computer code written in one programming language into another language. The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language to create an executable program. There are many different types of compilers which produce output in different useful forms.

[–] Lost_My_Mind@lemmy.world 2 points 1 month ago (3 children)

And I have no idea what that means.

How do you reboot? You click start>power>reboot.

I know what that means.

Ask me to compile a script? Uhhhhh.......

[–] Iapar 1 points 1 month ago

Open terminal > cd (command to change directory) into the directory where the code is that you want to compile > then run the compiler

In rust I would CD into the directory that I have written my code in. Let's say user/rust/projects/example1 with the command:

cd user/rust/projects/example1

Now every command I type will be executed on that directory. The tool I use is called "cargo" the command to compile is "build".

So with that information I type:

cargo build

While being in user/rust/projects/example1 and when I did everything right my Programm will compile and the result of that can be found in a folder in that project. Something like:

user/rust/projects/example1/build/prod

Hope that helps to give a overview of how the process is supposed to go when everything works without a problem.

load more comments (2 replies)
load more comments (2 replies)
load more comments (17 replies)