diff options
author | Tukusej’s Sirs <tukusejssirs@protonmail.com> | 2020-01-21 16:49:30 +0300 |
---|---|---|
committer | Tukusej’s Sirs <tukusejssirs@protonmail.com> | 2020-01-21 16:49:30 +0300 |
commit | c29aeb013b3258d8117753e38b3debd32ef98935 (patch) | |
tree | 070719aeea822dc070f0ab410715271d52a5b083 /Compilation | |
parent | 681070e783d970946d8d988c5498b5406ef05d62 (diff) |
Fix vte29 installation
Diffstat (limited to 'Compilation')
-rw-r--r-- | Compilation/Compilation-guide-for-CentOS.md | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/Compilation/Compilation-guide-for-CentOS.md b/Compilation/Compilation-guide-for-CentOS.md index 486fa79..2d90fa6 100644 --- a/Compilation/Compilation-guide-for-CentOS.md +++ b/Compilation/Compilation-guide-for-CentOS.md @@ -6,7 +6,7 @@ Note that although on CentOS 8, there is `dnf` package manager, but `yum` is a s If you want to uninstall the program, follow the instructions in the step 0. -**0.** It is important that no other `remmina` or `freerdp` version is installed, therefore we need to remove it. +**0.** It is important that no other Remmina or FreeRDP version is installed, therefore we need to remove it. ```bash # To check if a program is installed, we can use `whereis [program(s)]` whereis freerdp remmina @@ -55,21 +55,9 @@ fi sudo yum -y upgrade ``` -**4.** Install dependencies of `freerdp` and `remmina`. Note that the installation dependencies for FreeRDP and Remmina was merged. If you want to know exactly which program requires which package, see the [Dependencies](#dependencies) section at the end of this document. +**4.** Install dependencies of FreeRDP and Remmina. Note that the installation dependencies for FreeRDP and Remmina was merged. If you want to know exactly which program requires which package, see the [Dependencies](#dependencies) section at the end of this document. ```bash -# Test if `vte3-devel` can be installed -# Note: `vte3*` was decrecated by Red Hat (src: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.6_release_notes/chap-red_hat_enterprise_linux-7.6_release_notes-deprecated_packages) -test_vte=$(yum info vte3-devel &>/dev/null; echo $?) - -if [ $test_vte = 0 ]; then - # On CentOS 7- - vte='vte3 vte3-devel' -else - # On CentOS 8+ - vte='vte291 vte291-devel' -fi - -sudo yum -y install $vte alsa-lib-devel atk-devel avahi-ui-devel avahi-ui-gtk3 cairo-devel \ +sudo yum -y install alsa-lib-devel atk-devel avahi-ui-devel avahi-ui-gtk3 cairo-devel \ cmake3 cups-devel docbook-style-xsl ffmpeg-devel gcc gcc-c++ git glib2-devel gnutls-devel \ gstreamer1-devel gstreamer1-plugins-base-devel gtk3-devel harfbuzz-devel json-glib-devel \ libappindicator-devel libappindicator-gtk3 libappindicator-gtk3-devel libgcrypt-devel \ @@ -77,7 +65,8 @@ sudo yum -y install $vte alsa-lib-devel atk-devel avahi-ui-devel avahi-ui-gtk3 c libssh-devel libusb-devel libvncserver-devel libX11-devel libXcursor-devel libXdamage-devel \ libXext-devel libXi-devel libXinerama-devel libxkbfile-devel libXrandr-devel libxslt \ libxslt-devel libXtst-devel libXv-devel make ninja-build openjpeg2-devel openssl-devel \ - pango-devel pulseaudio-libs-devel webkitgtk4-devel xmlto xorg-x11-server-utils + pango-devel pulseaudio-libs-devel vte291 vte291-devel webkitgtk4-devel xmlto \ + xorg-x11-server-utils ``` **5.** Clone FreeRDP and Remmina repos. You may want to modify the `${HOME}/git/{freerdp,remmina}` paths and the folder names. |