Hacking Help Needed Installing Linux On Switch

  • Thread starter Thread starter Ka_Ninja
  • Start date Start date
  • Views Views 2,587
  • Replies Replies 11

Is installing Linux on Switch even worth it?

  • Definitely!

  • Meh...

  • Hell nah.


Results are only viewable after voting.

Ka_Ninja

Well-Known Member
Member
Joined
Apr 20, 2018
Messages
101
Reaction score
60
Trophies
0
Age
33
XP
390
Country
United States
Okay, so before I begin I want to mention that I am very confused about this process even though I have a background in coding. So I am not an end user, but I still find this hard to grasp as I have 0 experience with Linux or Github unfortunately.

So where my confusion lies is github, I have googled compiling github files but I am a bit worried that I may be looking into the wrong information which may be obsolete or the wrong way of going about things. I don't want to risk doing something incorrect and bricking or messing up my switch. After the github thing, I also need a bit of help knowing where to place these files after they are compiled. The instructions did not state what folder/path the files needed to be located. I'd hate to be running prewritten code with already defined paths and then the code fails to execute because of the files being not present.

I have already downloaded VMWare Workstation and installed Ubuntu on a virtual machine. Also enabled usb 3.0 in VMWare. If one of the more informed minds here could enlighten me, I would be eternally grateful. Otherwise I guess I'll just be waiting until this is more "end user" friendly. However, long that takes... My end goal is to run my video game I created on Linux and showcase it on nintendo switch(maybe even release it for everyone else to play.) I also may tinker around with dolphin or desmume a bit. Thanks(or not) in advance!
 
There's no such thing as a "github file," at least nothing you need to worry about compiling. Github is a source version control system, and is language-agnostic. Many projects on Github can be built with the "make" command from the automake package. If your Linux distro is Debian-based, you'll want to run:
sudo apt-get install automake build-essential

That should get you started with make and a variety of compilers from the GNU project, along with other tools. Aside from that, follow the tutorials here and you should be good.
 
What webserver would you recommend to compile with?


There's no such thing as a "github file," at least nothing you need to worry about compiling. Github is a source version control system, and is language-agnostic. Many projects on Github can be built with the "make" command from the automake package. If your Linux distro is Debian-based, you'll want to run:
sudo apt-get install automake build-essential

That should get you started with make and a variety of compilers from the GNU project, along with other tools. Aside from that, follow the tutorials here and you should be good.
 
As for the paths, a lot of them really don't matter. You just have to know where you put things, the only "hardcoded" path is the fact that the ext4 partition must be your 2nd partition on the SD card, not your first.

--------------------- MERGED ---------------------------

A webserver doesn't "compile" anything (ok, IIS with C# or VB.Net may be an exception...) A webserver does just that, serves pages, generally over HTTP/HTTPS. I usually prefer using Apache in Linux, but for this you don't need a web server at all.

You just need compilers. And make will tell you what you need if you don't already have it.
 
  • Like
Reactions: Ka_Ninja
Bro, I seriously appreciate your help and everything you said made perfect sense... However, this github stuff is far too confusing for me. I have already watched 3 different tutorials on compilers and a noobs intro to github and I just dont seem to get it. Everyone is telling me different information and the tutorials are around 45mins each so I'm beginning to lose patience. Maybe its just best if I wait :(

Downloading a file has never been more confusing than this. I have literally coded multiple video games from scratch as well as the art, music, ect all on my own... and here I am struggling to just download some files to copy paste someone elses code into a cmd prompt.. I must say I really do feel defeated after 3 days of confusion, its actually stressed me out, and I think I'm going to drink a cold one to help relax.

I know this may be a lot to ask, but if someone feels up to helping out a semi popular youtuber get this going, I will thank you by shouting out you or your channel in the tutorial I am planning to make of this for my audience. I need someone to walk me through this step by step, what compiler to download, what to click to compile, and where to place the files. By the way, my name on youtube is the same as it is on here. I will give full credit to whoever helps me get this going.

New
As for the paths, a lot of them really don't matter. You just have to know where you put things, the only "hardcoded" path is the fact that the ext4 partition must be your 2nd partition on the SD card, not your first.

— Posts automatically merged - Please don't double post! —

A webserver doesn't "compile" anything (ok, IIS with C# or VB.Net may be an exception...) A webserver does just that, serves pages, generally over HTTP/HTTPS. I usually prefer using Apache in Linux, but for this you don't need a web server at all.

You just need compilers. And make will tell you what you need if you don't already have it.
 
Last edited by Ka_Ninja,
Dude, just follow the tutorial. The git clone command does just that - it clones a git repo to a folder on your PC. That downloads everything you need. There's nothing complicated about it, just follow the tutorial. If you can code, you should be able to do this. Just type in the git clone commands in the tutorial, you'll see.
https://gbatemp.net/threads/quick-tuto-how-to-boot-linux-on-your-switch.501918/

And the risk of bricking your switch is almost nil. Nothing you're doing (at least currently) affects the Switch's onboard memory in any way. Turn it off and back on, and it's like nothing ever happened.
 
  • Like
Reactions: Ka_Ninja
LOL MY BOY WHERE DO I TYPE THAT, WHAT COMPILER, WHAT PROGRAM???? LIKE THATS THE ISSUE HAHAHA I've seen that there is apparently a web server, then I see there is a github program, ect, ect.. smh *sigh*
 
LOL MY BOY WHERE DO I TYPE THAT, WHAT COMPILER, WHAT PROGRAM???? LIKE THATS THE ISSUE HAHAHA I've seen that there is apparently a web server, then I see there is a github program, ect, ect.. smh *sigh*

In a Terminal window... it's basically the Linux equivalent to Command Prompt in Windows...
 
  • Like
Reactions: Ka_Ninja
Okay, thank you lmao I can't believe it was that simple... overthinking things as usual. I will get right on it and if it indeed does work, I will be shouting you out in my tutorial! (I've got 13k subs so far btw so is there any other social media you would like me to include?)
 
Lol it's really not a problem, if anything promote GBATemp and the people who made the tutorials. I don't have a YouTube channel that needs promotion (yet.)
 

Site & Scene News

Popular threads in this forum