Skip to content

Commit 653fe2c

Browse files
authored
Fix install pkg doc (#89)
* documentation and package requirements update * correct names * add update system before installation
1 parent 105ff06 commit 653fe2c

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

documentation/1.1/content/setup/install.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ description: "Install the WKT UI application and check for updates."
1414

1515
- For RPM-based systems, use either `yum` or `dnf`; for example:
1616
```
17+
yum update
1718
sudo yum -y localinstall wktui_1.0.0_amd64.rpm
1819
```
1920
2021
- For Debian-based systems, use:
2122
```
23+
sudo apt update
24+
sudo apt upgrade
2225
sudo apt install ./wktui_1.0.0_amd64.deb
2326
```
27+
28+
If the installation is on a server machine, you should `logout` from the current terminal session and use X11 forwarding mechanism or any remote desktop application to the remote terminal for launching the WKT UI application.
29+
2430
Alternatively, you can download the `AppImage` file, copy it to your local file system, then either:
2531
- Open a terminal, navigate to the directory where the file exists, and make it executable; for example:
2632

documentation/1.1/content/setup/prerequisites.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,28 @@ with a WebLogic domain that can be used to discover the model from the domain.
4444

4545
https://support.oracle.com/knowledge/Oracle%20Linux%20and%20Virtualization/2717454_1.html
4646

47-
- For storing credentials as an encrypted project file, and for a minimum GUI requirement, make sure the following packages are installed in your system:
47+
- For running the WKT UI on a remote machine without desktop environment and accessing it through X forwarding, you need to ensure X forwarding is working properly. For example,
48+
4849
```
49-
sudo dnf update
50-
sudo dnf install libxshmfence libdrm.x86_64 libgbm alsa-lib xauth atk-devel.x86_64 java-atk-wrapper.x86_64
51-
sudo reboot
50+
sudo dnf install xterm
51+
logout
52+
ssh -X ...
53+
xterm
5254
```
55+
5356
- For Debian-based systems, such as Ubuntu and Debian:
5457
5558
- For storing credentials in the OS native credentials store, you must have a desktop environment. If your system does not have a graphical desktop environment, then you can install one; for example, installing GNOME on Ubuntu 20x:
5659
```
5760
sudo apt install gnome-session gdm3
5861
sudo reboot
5962
```
63+
64+
- For running the WKT UI on a remote machine without desktop environment and accessing it through X forwarding, you need to ensure X forwarding is working properly. For example,
65+
66+
```
67+
sudo apt install xterm
68+
logout
69+
ssh -X ...
70+
xterm
71+
```

electron/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,14 @@
150150
"rpm": {
151151
"depends": [
152152
"libXScrnSaver",
153-
"libsecret-devel"
153+
"libsecret-devel",
154+
"libxshmfence",
155+
"libdrm",
156+
"libgbm",
157+
"alsa-lib",
158+
"xauth",
159+
"atk-devel",
160+
"java-atk-wrapper"
154161
],
155162
"fpm": [
156163
"--rpm-rpmbuild-define",

0 commit comments

Comments
 (0)