Created
December 16, 2011 05:15
-
-
Save asolkar/1484599 to your computer and use it in GitHub Desktop.
Chrome and LibreOffice on RHEL 6.1
This file contains 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 characters
% cd /one/of/my/dirs | |
% mkdir sys | |
% cd sys | |
% rpm2cpio ~/Downloads/google-chrome-beta_current_x86_64.rpm | cpio -idmv --no-absolute-filenames |
This file contains 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 characters
#!/bin/csh -f | |
setenv LD_LIBRARY_PATH /one/of/my/dirs/sys/usr/lib:$LD_LIBRARY_PATH | |
/one/of/my/dirs/sys/opt/google/chrome/google-chrome --no-sandbox |
This file contains 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 characters
#!/bin/bash | |
RPM_DIR="~/Downloads/LibO_3.4.4rc2_Linux_x86-64_install-rpm_en-US/RPMS" | |
cd ~/Downloads | |
tar -zxvf LibO_3.4.4_Linux_x86-64_install-rpm_en-US.tar.gz | |
cd /one/of/my/dirs/sys | |
for file in $(/bin/ls -1 $RPM_DIR/*.rpm); do | |
echo "[INFO] inflating $file" | |
rpm2cpio $file | cpio -idmv --no-absolute-filenames | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment