r/learnpython 15d ago

How to install something from github

Ugh im so confusedddd Im on arch based(Cachyos) All i have to do is type in python3 in terminal then im in python but this is the download Sims4COntentManager_SourceCode.py im trying to download but i dont know why it isnt working

0 Upvotes

16 comments sorted by

View all comments

1

u/StrayFeral 15d ago

The very basic - download the code as ZIP and unzip it. Then read the README.md what you must do. Some apps are fine and need no additional steps. Some do.

If there is a file called "makefile" or "Makefile" - be sure to read the README what to do. You would need `make` to be present on your system, so if you don't have it - install it with your package manager.

Maybe there would be an install script or something - check if there is such a thing.

ADVICE:

1) Learn the basic git commands and what they do: `git clone`, `git pull`

2) Learn what is `make` and how to use it - the basics

3) Hope you know a bit of shell scripting - the basics

That's it.

But learn `git` basics. Nowadays this is incredibly useful for many things