Skip to content

Commit

Permalink
Add mac instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonatan6 authored Feb 19, 2021
1 parent a822a66 commit 505121a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ Fake-pacman is a program that will make it look like you are installing a pacman
Just run the executable by running `./fake-pacman`, then type any package name and watch it "install" the package.

## Compiling
This program is written in C with the ncurses library. So to compile it you will need ncurses, and a C compiler like gcc.

### Linux
To install ncurses run `sudo pacman -S ncurses` on Arch, or `sudo apt install libncurses-dev` on Debian.

Then to compile it you need to run: `gcc -lncurses fake-pacman.c -o fake-pacman`, or using the included makefile just run: `make`
### Mac
Install Xcode Command Line Tools by running `xcode-select --install`, and install the ncurses libraby by running `brew install ncurses`.

Then to compile using the included Makefile, run `make mac`.
## License
Fake-pacman is free and open source, it's distributed under the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html).

0 comments on commit 505121a

Please sign in to comment.