mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
update the doc
This commit is contained in:
parent
c84a2abb14
commit
bd63e00b32
86
README.md
86
README.md
@ -43,54 +43,60 @@ Install the [AppIndicator and KStatusNotifierItem Support](https://extensions.gn
|
|||||||
- Openconnect v8.x
|
- Openconnect v8.x
|
||||||
- Qt5, qt5-webengine, qt5-websockets
|
- Qt5, qt5-webengine, qt5-websockets
|
||||||
|
|
||||||
### Ubuntu
|
## Build & Install
|
||||||
1. Install openconnect v8.x
|
|
||||||
|
|
||||||
```sh
|
Clone this repo with:
|
||||||
sudo apt install openconnect
|
|
||||||
openconnect --version
|
|
||||||
```
|
|
||||||
|
|
||||||
For Ubuntu 18.04, using this [dwmw2/openconnect](https://launchpad.net/~dwmw2/+archive/ubuntu/openconnect) PPA.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo add-apt-repository ppa:dwmw2/openconnect && sudo apt-get update && sudo apt install -y openconnect
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Install the Qt dependencies
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo apt install -y build-essential qtbase5-dev libqt5websockets5-dev qtwebengine5-dev
|
|
||||||
```
|
|
||||||
### openSUSE
|
|
||||||
Install the Qt dependencies
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo zypper install libqt5-qtbase-devel libqt5-qtwebsockets-devel libqt5-qtwebengine-devel
|
|
||||||
```
|
|
||||||
|
|
||||||
### Fedora
|
|
||||||
Install the Qt dependencies:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo dnf install qt5-qtbase-devel qt5-qtwebengine-devel qt5-qtwebsockets-devel
|
|
||||||
```
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
### Install from AUR (Arch/Manjaro)
|
|
||||||
|
|
||||||
Install [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/).
|
|
||||||
|
|
||||||
### Build from source code
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/yuezk/GlobalProtect-openconnect.git
|
git clone https://github.com/yuezk/GlobalProtect-openconnect.git
|
||||||
cd GlobalProtect-openconnect
|
cd GlobalProtect-openconnect
|
||||||
|
```
|
||||||
|
|
||||||
|
### Arch/Manjaro
|
||||||
|
Install from the [globalprotect-openconnect](https://aur.archlinux.org/packages/globalprotect-openconnect/) AUR.
|
||||||
|
### Ubuntu
|
||||||
|
For **Ubuntu 18.04**, add this [dwmw2/openconnect](https://launchpad.net/~dwmw2/+archive/ubuntu/openconnect) PPA to install the latest openconnect.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo add-apt-repository ppa:dwmw2/openconnect
|
||||||
|
sudo apt update
|
||||||
|
```
|
||||||
|
...then build and install with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./scripts/install-ubuntu.sh
|
||||||
|
```
|
||||||
|
### openSUSE
|
||||||
|
|
||||||
|
Build and install with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./scripts/install-opensuse.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Fedora
|
||||||
|
|
||||||
|
Build and install with:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./scripts/install-fedora.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Other Linux
|
||||||
|
|
||||||
|
Install the Qt5 dependencies and OpenConnect:
|
||||||
|
|
||||||
|
- QtCore
|
||||||
|
- QtWebEngine
|
||||||
|
- QtWebSockets
|
||||||
|
- QtDBus
|
||||||
|
- openconnect v8.x
|
||||||
|
|
||||||
|
...then build and install with:
|
||||||
|
|
||||||
|
```sh
|
||||||
./scripts/install.sh
|
./scripts/install.sh
|
||||||
```
|
```
|
||||||
Open `GlobalProtect VPN` in the application dashboard.
|
|
||||||
|
|
||||||
### Debian package
|
### Debian package
|
||||||
|
|
||||||
|
9
scripts/install-fedora.sh
Executable file
9
scripts/install-fedora.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
sudo dnf install -y \
|
||||||
|
qt5-qtbase-devel \
|
||||||
|
qt5-qtwebengine-devel \
|
||||||
|
qt5-qtwebsockets-devel \
|
||||||
|
openconnect
|
||||||
|
|
||||||
|
./install.sh
|
9
scripts/install-opensuse.sh
Executable file
9
scripts/install-opensuse.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
sudo zypper install -y \
|
||||||
|
libqt5-qtbase-devel \
|
||||||
|
libqt5-qtwebsockets-devel \
|
||||||
|
libqt5-qtwebengine-devel \
|
||||||
|
openconnect
|
||||||
|
|
||||||
|
./install.sh
|
11
scripts/install-ubuntu.sh
Executable file
11
scripts/install-ubuntu.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y \
|
||||||
|
build-essential \
|
||||||
|
qtbase5-dev \
|
||||||
|
libqt5websockets5-dev \
|
||||||
|
qtwebengine5-dev \
|
||||||
|
openconnect
|
||||||
|
|
||||||
|
./install.sh
|
@ -3,3 +3,5 @@
|
|||||||
./cmakew -B build
|
./cmakew -B build
|
||||||
./cmakew --build build
|
./cmakew --build build
|
||||||
sudo ./cmakew --install build
|
sudo ./cmakew --install build
|
||||||
|
|
||||||
|
echo "Done. You can open it from the application dashboard.
|
Loading…
Reference in New Issue
Block a user