Forked from thiagomgo/Install-Redis-Desktop-Manager.sh
Created
June 11, 2018 11:32
-
-
Save alekpopovic/133024f7bfcbf57d665c2aa6c3d74498 to your computer and use it in GitHub Desktop.
Revisions
-
thiagomgo created this gist
Oct 11, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # Clone the repository from GitHub git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.8.0 rdm && cd ./rdm # Compile the source cd src/ ./configure source /opt/qt56/bin/qt56-env.sh && qmake && make sudo checkinstall -D --install sudo gdebi /home/$USER/rdm/src/src_*.deb cd /usr/share/redis-desktop-manager/bin sudo mv qt.conf qt.backup This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ [Desktop Entry] Comment=Redis Desktop Manager Terminal=false Name=Redis Desktop Manager Exec=/usr/share/redis-desktop-manager/bin/rdm.sh Type=Application Icon=/usr/share/redis-desktop-manager/bin/rdm.png This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash source /opt/qt56/bin/qt56-env.sh DIR=$(dirname "$(readlink -f "$0")") export LD_LIBRARY_PATH="$DIR/../lib":$LD_LIBRARY_PATH $DIR/rdm