GPaste icon indicating copy to clipboard operation
GPaste copied to clipboard

Need assistance installing gpaste in RHEL 8

Open mmorgan-tx opened this issue 3 years ago • 9 comments

I am unable to get gpaste v3.38.1 installed on RHEL 8. I downloaded the code from Git. Tried to follow the instructions to compile/build, but I've encountered one dependency issue after another. I am NOT a programmer, so this is all greek to me! I managed to google and find fixes for several issues, but haven't been able to find a way around this one from running ./configure: [snip] checking where the gettext function comes from... libc checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.29... yes checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.64.0 gobject-2.0 >= 2.64.0 gio-2.0 >= 2.64.0) were not met:

Package dependency requirement 'glib-2.0 >= 2.64.0' could not be satisfied. Package 'glib-2.0' has version '2.56.4', required version is '>= 2.64.0' Package dependency requirement 'gobject-2.0 >= 2.64.0' could not be satisfied. Package 'gobject-2.0' has version '2.56.4', required version is '>= 2.64.0' Package dependency requirement 'gio-2.0 >= 2.64.0' could not be satisfied. Package 'gio-2.0' has version '2.56.4', required version is '>= 2.64.0'

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

mmorgan-tx avatar Oct 01 '20 17:10 mmorgan-tx

Hi,

Isn't there an official package available for rhel? Which version of gnome are you running?

Keruspe avatar Oct 03 '20 08:10 Keruspe

Keruspe, I was not able to locate one specific to RHEL. I think I saw one for Ubuntu. The links that I found all pointed to the source in github. It appears that I am at 3.28.3. Thank you for your response.

--Mackey Morgan IBM/Kaiser Permanente UNIX Engineering Services

From: Marc-Antoine Perennou [email protected] To: Keruspe/GPaste [email protected] Cc: Mackey Morgan [email protected], Author [email protected] Date: 10/03/2020 03:32 AM Subject: [EXTERNAL] Re: [Keruspe/GPaste] Need assistance installing gpaste in RHEL 8 (#324)

Hi, Isn't there an official package available for rhel? Which version of gnome are you running? ? You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mmorgan-tx avatar Oct 05 '20 14:10 mmorgan-tx

You should use the tarball linked at https://www.imagination-land.org/posts/2018-11-14-gpaste-3.28.3-released.html

You will need several -devel packages, not sure what the names are for rhel, but you can probably take inspiration from fedora's spec file

Keruspe avatar Oct 05 '20 14:10 Keruspe

This is exactly what I was attempting to do per the README.md page:

Steps to install it after cloning (skip the ./autogen.sh part if you're building it from a tarball):

./autogen.sh
./configure --sysconfdir=/etc
make
sudo make install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

--Mackey Morgan IBM/Kaiser Permanente UNIX Engineering Services

From: Marc-Antoine Perennou [email protected] To: Keruspe/GPaste [email protected] Cc: Mackey Morgan [email protected], Author [email protected] Date: 10/05/2020 09:24 AM Subject: [EXTERNAL] Re: [Keruspe/GPaste] Need assistance installing gpaste in RHEL 8 (#324)

You should use the tarball linked at https://www.imagination-land.org/posts/2018-11-14-gpaste-3.28.3-released.html You will need several -devel packages, not sure what the names are for rhel, but you can probably take inspiration from fedora's spec file ? You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mmorgan-tx avatar Oct 05 '20 14:10 mmorgan-tx

try these:

sudo dnf remove gpaste*

sudo dnf install gpaste*

sudo dnf install gnome-shell-extension*

reboot

MintYale avatar Nov 14 '20 06:11 MintYale

Thank you for your response. Will the shell extensions work without the gpaste packages? Because those did not install.

mmorgan1@once in [~] : @[14:26:46]$ sudo dnf remove gpaste* [sudo] password for mmorgan1: No match for argument: gpaste* No packages marked for removal. resolving Dependencies resolved. Nothing to do. Complete! mmorgan1@once in [~] : @[09:24:29]$ sudo dnf install gpaste* Last metadata expiration check: 0:51:50 ago on Mon 16 Nov 2020 08:33:00 AM CST. No match for argument: gpaste* Error: Unable to find a match: gpaste* mmorgan1@once in [~] : @[09:24:51]$ sudo dnf install gnome-shell-extension* Last metadata expiration check: 0:52:19 ago on Mon 16 Nov 2020 08:33:00 AM CST. Package gnome-shell-extension-apps-menu-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-common-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-dash-to-dock-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-desktop-icons-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-horizontal-workspaces-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-launch-new-instance-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-places-menu-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-top-icons-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-updates-dialog-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-user-theme-3.32.1-10.el8.noarch is already installed. Package gnome-shell-extension-window-list-3.32.1-10.el8.noarch is already installed. resolving Dependencies resolved.

Package Architecture Version Repository Size

Installing: gnome-shell-extension-appindicator noarch
30-7.el8 epel
30 k gnome-shell-extension-auto-move-windows noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 29 k gnome-shell-extension-disable-screenshield noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 25 k gnome-shell-extension-drive-menu noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 26 k gnome-shell-extension-native-window-placement noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 29 k gnome-shell-extension-no-hot-corner noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 25 k gnome-shell-extension-no-topleft-hot-corner noarch
19.0-4.el8 epel
17 k gnome-shell-extension-panel-favorites noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 27 k gnome-shell-extension-screenshot-window-sizer noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 27 k gnome-shell-extension-system-monitor-applet noarch
1:38-8.20200503git7f8f0a7.el8 epel
77 k gnome-shell-extension-systemMonitor noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 28 k gnome-shell-extension-topicons-plus noarch
25-1.el8 epel
29 k gnome-shell-extension-window-grouper noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 28 k gnome-shell-extension-windowoverlay-icons noarch
34-4.el8 epel
30 k gnome-shell-extension-windowsNavigator noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 27 k gnome-shell-extension-workspace-indicator noarch
3.32.1-10.el8 rhel-8-for-x86_64-appstream-rpms 29 k

Transaction Summary

Install 16 Packages

Total download size: 484 k Installed size: 612 k Is this ok [y/N]: y Downloading Packages: (1/16): gnome-shell-extension-appindicator-30-7.el8.noarch.rpm
81 kB/s | 30 kB 00:00 (2/16): gnome-shell-extension-no-topleft-hot-corner-19.0-4.el8.noarch.rpm
46 kB/s | 17 kB 00:00 (3/16): gnome-shell-extension-system-monitor-applet-38-8.20200503git7f8f0a7.el8.noarch.rpm 159 kB/s | 77 kB 00:00 (4/16): gnome-shell-extension-topicons-plus-25-1.el8.noarch.rpm
196 kB/s | 29 kB 00:00 (5/16): gnome-shell-extension-windowoverlay-icons-34-4.el8.noarch.rpm
190 kB/s | 30 kB 00:00 (6/16): gnome-shell-extension-drive-menu-3.32.1-10.el8.noarch.rpm
101 kB/s | 26 kB 00:00 (7/16): gnome-shell-extension-auto-move-windows-3.32.1-10.el8.noarch.rpm
93 kB/s | 29 kB 00:00 (8/16): gnome-shell-extension-disable-screenshield-3.32.1-10.el8.noarch.rpm
91 kB/s | 25 kB 00:00 (9/16): gnome-shell-extension-no-hot-corner-3.32.1-10.el8.noarch.rpm
353 kB/s | 25 kB 00:00 (10/16): gnome-shell-extension-panel-favorites-3.32.1-10.el8.noarch.rpm
378 kB/s | 27 kB 00:00 (11/16): gnome-shell-extension-native-window-placement-3.32.1-10.el8.noarch.rpm
345 kB/s | 29 kB 00:00 (12/16): gnome-shell-extension-screenshot-window-sizer-3.32.1-10.el8.noarch.rpm
405 kB/s | 27 kB 00:00 (13/16): gnome-shell-extension-systemMonitor-3.32.1-10.el8.noarch.rpm
404 kB/s | 28 kB 00:00 (14/16): gnome-shell-extension-window-grouper-3.32.1-10.el8.noarch.rpm
402 kB/s | 28 kB 00:00 (15/16): gnome-shell-extension-windowsNavigator-3.32.1-10.el8.noarch.rpm
397 kB/s | 27 kB 00:00 (16/16): gnome-shell-extension-workspace-indicator-3.32.1-10.el8.noarch.rpm
261 kB/s | 29 kB 00:00

Total 328 kB/s | 484 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : gnome-shell-extension-workspace-indicator-3.32.1-10.el8.noarch
1/16 Installing : gnome-shell-extension-windowsNavigator-3.32.1-10.el8.noarch 2/16 Installing : gnome-shell-extension-window-grouper-3.32.1-10.el8.noarch 3/16 Installing : gnome-shell-extension-systemMonitor-3.32.1-10.el8.noarch 4/16 Installing : gnome-shell-extension-screenshot-window-sizer-3.32.1-10.el8.noarch
5/16 Installing : gnome-shell-extension-panel-favorites-3.32.1-10.el8.noarch 6/16 Installing : gnome-shell-extension-no-hot-corner-3.32.1-10.el8.noarch 7/16 Installing : gnome-shell-extension-native-window-placement-3.32.1-10.el8.noarch
8/16 Installing : gnome-shell-extension-drive-menu-3.32.1-10.el8.noarch 9/16 Installing : gnome-shell-extension-disable-screenshield-3.32.1-10.el8.noarch
10/16 Installing : gnome-shell-extension-auto-move-windows-3.32.1-10.el8.noarch
11/16 Installing : gnome-shell-extension-windowoverlay-icons-34-4.el8.noarch 12/16 Installing : gnome-shell-extension-topicons-plus-25-1.el8.noarch
13/16 Installing : gnome-shell-extension-system-monitor-applet-1:38-8.20200503git7f8f0a7.el8.noarch 14/16 Installing : gnome-shell-extension-no-topleft-hot-corner-19.0-4.el8.noarch
15/16 Installing : gnome-shell-extension-appindicator-30-7.el8.noarch
16/16 Running scriptlet: gnome-shell-extension-appindicator-30-7.el8.noarch
16/16 Verifying : gnome-shell-extension-appindicator-30-7.el8.noarch
1/16 Verifying : gnome-shell-extension-no-topleft-hot-corner-19.0-4.el8.noarch
2/16 Verifying : gnome-shell-extension-system-monitor-applet-1:38-8.20200503git7f8f0a7.el8.noarch 3/16 Verifying : gnome-shell-extension-topicons-plus-25-1.el8.noarch
4/16 Verifying : gnome-shell-extension-windowoverlay-icons-34-4.el8.noarch 5/16 Verifying : gnome-shell-extension-auto-move-windows-3.32.1-10.el8.noarch
6/16 Verifying : gnome-shell-extension-disable-screenshield-3.32.1-10.el8.noarch
7/16 Verifying : gnome-shell-extension-drive-menu-3.32.1-10.el8.noarch 8/16 Verifying : gnome-shell-extension-native-window-placement-3.32.1-10.el8.noarch
9/16 Verifying : gnome-shell-extension-no-hot-corner-3.32.1-10.el8.noarch 10/16 Verifying : gnome-shell-extension-panel-favorites-3.32.1-10.el8.noarch 11/16 Verifying : gnome-shell-extension-screenshot-window-sizer-3.32.1-10.el8.noarch
12/16 Verifying : gnome-shell-extension-systemMonitor-3.32.1-10.el8.noarch 13/16 Verifying : gnome-shell-extension-window-grouper-3.32.1-10.el8.noarch 14/16 Verifying : gnome-shell-extension-windowsNavigator-3.32.1-10.el8.noarch 15/16

Verifying : gnome-shell-extension-workspace-indicator-3.32.1-10.el8.noarch
16/16 Installed products updated.

Installed: gnome-shell-extension-appindicator-30-7.el8.noarch
gnome-shell-extension-auto-move-windows-3.32.1-10.el8.noarch
gnome-shell-extension-disable-screenshield-3.32.1-10.el8.noarch
gnome-shell-extension-drive-menu-3.32.1-10.el8.noarch
gnome-shell-extension-native-window-placement-3.32.1-10.el8.noarch
gnome-shell-extension-no-hot-corner-3.32.1-10.el8.noarch
gnome-shell-extension-no-topleft-hot-corner-19.0-4.el8.noarch
gnome-shell-extension-panel-favorites-3.32.1-10.el8.noarch
gnome-shell-extension-screenshot-window-sizer-3.32.1-10.el8.noarch
gnome-shell-extension-system-monitor-applet-1:38-8.20200503git7f8f0a7.el8.noarch

gnome-shell-extension-systemMonitor-3.32.1-10.el8.noarch
gnome-shell-extension-topicons-plus-25-1.el8.noarch
gnome-shell-extension-window-grouper-3.32.1-10.el8.noarch
gnome-shell-extension-windowoverlay-icons-34-4.el8.noarch
gnome-shell-extension-windowsNavigator-3.32.1-10.el8.noarch
gnome-shell-extension-workspace-indicator-3.32.1-10.el8.noarch

Complete!

--Mackey Morgan IBM/Kaiser Permanente UNIX Engineering Services

From: MintYale [email protected] To: Keruspe/GPaste [email protected] Cc: Mackey Morgan [email protected], Author [email protected] Date: 11/14/2020 12:41 AM Subject: [EXTERNAL] Re: [Keruspe/GPaste] Need assistance installing gpaste in RHEL 8 (#324)

try these: sudo dnf remove gpaste*

sudo dnf install gpaste*

sudo dnf install gnome-shell-extension*

reboot

? You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mmorgan-tx avatar Nov 16 '20 15:11 mmorgan-tx

@mmorgan-tx Since you wanna install gpaste, gpaste pkgs are the primary ones. You can run rpm -aq | grep gpaste to check if you have installed these 5 pkgs:

gpaste-libs-3.38.3-1.fc33.x86_64
gpaste-3.38.3-1.fc33.x86_64
gpaste-ui-3.38.3-1.fc33.x86_64
gpaste-devel-3.38.3-1.fc33.x86_64
gnome-shell-extension-gpaste-3.38.3-1.fc33.noarch

In Fedora/RHEL, these are all gpaste need, I think. If you can't install them by sudo dnf install gpaste* or sudo dnf install {PKG_NAME} then try sudo yum install {PKG_NAME}. If fail, you can try to download these 5 xxx.rpm pkgs(of course you can choose other editions, doesn't have to be V3.38.3-1) in https://pkgs.org/search/?q=gpaste or http://rpmfind.net/linux/RPM/index.html or some other rpm-pkg download websites(since the "r" in "rpm" stands for "RedHat", as far as I know, if there is no column as RHEL, try find them in Fedora column -- these two are both developed by RedHat so they should share the same rpms as possible as they can). Then you can install them by simply double-clicking them or using some rpm commands like rpm –ivh {PKG_NAME}. Wish you success!

MintYale avatar Nov 17 '20 17:11 MintYale

I seem to just be going round and round, here! I've managed to get a couple packages installed, but from there, the compounded requisite difficulties seem to escalate.

Trying to find/download installable rpm packages: mmorgan1@once in [~/Downloads/Utilities/gpaste] : @[17:01:26]$ sudo yum localinstall gnome-shell-extension-gpaste-3.36.4-1.fc32.noarch.rpm gpaste-ui-3.36.4-1.fc32.x86_64.rpm [sudo] password for mmorgan1: Last metadata expiration check: 1:50:45 ago on Tue 17 Nov 2020 03:11:06 PM CST. Error: Problem 1: conflicting requests

  • nothing provides gnome-shell >= 3.33.91 needed by gnome-shell-extension-gpaste-3.36.4-1.fc32.noarch Problem 2: conflicting requests
  • nothing provides gpaste = 3.36.4-1.fc32 needed by gpaste-ui-3.36.4-1.fc32.x86_64
  • nothing provides libgpaste.so.11()(64bit) needed by gpaste-ui-3.36.4-1.fc32.x86_64
  • nothing provides libgpaste.so.11(LIBGPASTE_3_16_0)(64bit) needed by gpaste-ui-3.36.4-1.fc32.x86_64
  • nothing provides libgpaste.so.11(LIBGPASTE_3_18_0)(64bit) needed by gpaste-ui-3.36.4-1.fc32.x86_64
  • nothing provides libgpaste.so.11(LIBGPASTE_3_28_0)(64bit) needed by gpaste-ui-3.36.4-1.fc32.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Here is what I've currently managed to install, so far: mmorgan1@once in [~/Downloads/Utilities/gpaste] : @[17:01:52]$ yum list | grep gpaste gpaste.x86_64 3.38.3-1.fc34
@System gpaste-libs.x86_64 3.38.3-1.fc34
@System

At the very minimum, I'd guess I need to get the gnome-shell-extension-gpaste installed, but that seems like a no go.

--Mackey Morgan IBM/Kaiser Permanente UNIX Engineering Services

From: MintYale [email protected] To: Keruspe/GPaste [email protected] Cc: Mackey Morgan [email protected], Author [email protected] Date: 11/17/2020 11:28 AM Subject: [EXTERNAL] Re: [Keruspe/GPaste] Need assistance installing gpaste in RHEL 8 (#324)

Since you wanna install gpaste, gpaste pkgs are the primary ones. You can run rpm -aq | grep gpaste to check if have installed these 5 pkgs: gpaste-libs-3.38.3-1.fc33.x86_64 gpaste-3.38.3-1.fc33.x86_64 gpaste-ui-3.38.3-1.fc33.x86_64 gpaste-devel-3.38.3-1.fc33.x86_64 gnome-shell-extension-gpaste-3.38.3-1.fc33.noarch

In Fedora/RHEL, these are all gpaste need, I think. If you can't install them by sudo dnf install gpaste* or sudo dnf install {PKG_NAME} then try sudo yum install {PKG_NAME}. If fail, you can try to download these 5 xxx.rpm pkgs(of course you can choose other editions, doesn't have to be V3.38.3-1) in https://pkgs.org/search/?q=gpaste or http://rpmfind.net/linux/RPM/index.html or some other rpm-pkg download websites(since the "r" in "rpm" stands for "RedHat", as far as I know, if there is no column as RHEL, try find them in Fedora column -- these two are both developed by RedHat so they should share the same rpms as possible as they can). Then you can install them by simply double-clicking them or using some rpm commands like rpm ?ivh {PKG_NAME}. Wish you success! ? You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mmorgan-tx avatar Nov 17 '20 23:11 mmorgan-tx

If gnome 3.32 is shipped, you should use GPaste 3.32 and not 3.38

Keruspe avatar Dec 22 '20 21:12 Keruspe