File: README.md

package info (click to toggle)
nudoku 2.1.0-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: ansic: 1,159; makefile: 24
file content (124 lines) | stat: -rw-r--r-- 2,552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# nudoku #

nudoku is a ncurses based sudoku game.

## Install ##

### Using package manager ###

#### Arch Linux ####
I heard rumors of nudoku being in the [AUR](https://aur.archlinux.org/packages/nudoku-git/).

#### Debian and derivates ####
Contained in official stable repositories since Debian Stretch.

```
apt-get install nudoku
```

#### EL 7 (CentOS/Oracle Linux/Scientific Linux/RedHat ####
You need to enable the EPEL repository and run:

```
yum install nudoku
```
  
#### Fedora ####
nudoku is in the official Fedora repository since June 2016:

```
dnf install nudoku
```

#### Funtoo/Gentoo ####
Contained in official repo since 2018-02-16. Before that you had to use [strangeland-overlay](https://github.com/jubalh/strangeland-overlay).

```
emerge nudoku -a
```

### NixOS ###
nudoku is [available](https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/nudoku) in the Nix package manager.

### NetBSD ###
nudoku is [available](https://pkgsrc.se/games/nudoku) in the Nix package manager.

### openSUSE ###

Since openSUSE Leap 42.1 (and Tumbleweed) you can find nudoku in the official repository.

```
zypper in nudoku
```

### VoidLinux ###
nudoku is [available](https://github.com/void-linux/void-packages/tree/master/srcpkgs/nudoku) on Void.

### macOS ###

There is a [formula](https://formulae.brew.sh/formula/nudoku) for [Homebrew](https://brew.sh/)

```
brew install nudoku
```

### From Source ###

#### Dependency ####
- ncurses
- cairo (optional: for PDF/PNG output)

#### Compilation ####

Get the latest .tar.xz [release](https://github.com/jubalh/nudoku/releases) and extract it.
Then run:

```
./configure
make
./src/nudoku
```

For the git version you will have to do:

```
git clone https://github.com/jubalh/nudoku
cd nudoku
autoreconf -i
./configure
make
./src/nudoku
```

Add `-DDEBUG` to `make` to have some debug output.

nudoku can also output sudokus in PDF and PNG format (see `man nudoku` -p/-i/-n).
You need to have cairo installed and configure with:

```
./configure --enable-cairo
```

##### Usage #####

For normal interactive GUI run `nudoku`.
To print two PDF pages with 8 hard sudokus run `nudoku -p riddle.pdf -n 8 -d hard`.
To get a PNG with an easy sudoku run `nudoku -i sudoku.png -d easy`.
See `man nudoku` to learn more.

##### I18n #####

For i18n support use `make` like this:

```
make install
LANGUAGE=es
./src/nudoku
```

You can replace `es` with any other language suported (suported languages are listed in `po/LINGUAS` file).

## Bugtracker ##

https://github.com/jubalh/nudoku/issues