-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
93 lines (64 loc) · 2.33 KB
/
INSTALL
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
GtkSu Installation Instructions.
Source based distros (slackware etc):
./configure --prefix=/usr
make
sudo make install --prefix=/usr
Or if you have autotools installed:
./autogen.sh
make
sudo make install
Add --prefix=/usr etc to change the default installation from /usr/local
Add --enable-ktsuss-link to create a symlink from ktsuss to gtksu.
******************
Debian install.
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install glib-2.0-dev libgtk2.0-dev
./configure --prefix=/usr
make
sudo make install
Debian install using autotools.
The above +
sudo apt-get install automake
sudo apt-get install autotools-dev
sudo apt-get install aclocal autoheader autoconf
./autogen.sh --prefix=/usr
make
sudo make install
******************
Fedora Install
sudo yum update kernel*
sudo yum install gcc-c++ glib2-devel gtk2-devel gcc
./configure --prefix=/usr
make
sudo make install
Fedora Install using autotools.
The above +
sudo yum install automake autoconf
./autogen.sh --prefix=/usr
make
sudo make install
You may need to adjust package names slightly depending on the version of debian/fedora that you have installed.
You can also choose to build a QT5 version by adding --enable-qt5 to the configure command, the default is to build a gtk GUI.
To install Qt5 go to here:
http://qt-project.org/downloads
Download the required file and then do this:
http://qt-project.org/wiki/Install_Qt_5_on_Ubuntu
If you have installed in /opt/... which is the default for the installer to compile with the --enable-qt5 flag add this line:
/opt/Qt5.2.1/5.2.1/gcc_64/lib
to /etc/ld.so.conf
and do this:
PKG_CONFIG_PATH=/opt/Qt5.2.1/5.2.1/gcc_64/lib/pkgconfig ./configure --prefix=/usr --enable-ktsuss-link --enable-qt5
If you have installed Qt5 elsewhere just adjust the /etc/ld.so.conf and PKG_CONFIG_PATH to suit.
If your distro disables the root account ( I'm looking at you Ubuntu! ) you may have to set a root password like so:
Open a Terminal and type:
sudo su
passwd
Enter a new password for root twice you may also have to run these two commands whilst logged in as root:
pwconv
grpconv
Finally logout
exit
You can now type roots password in to the GtkSu gui and run commands as root.
Bugs and suggestions welcome please email to kdhedger68713@gmail.com
For general info on compiling/installing software on your disro see the relevant forums.