Skip to content

Instantly share code, notes, and snippets.

@asolkar
Created December 16, 2011 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asolkar/1484599 to your computer and use it in GitHub Desktop.
Save asolkar/1484599 to your computer and use it in GitHub Desktop.
Chrome and LibreOffice on RHEL 6.1
% cd /one/of/my/dirs
% mkdir sys
% cd sys
% rpm2cpio ~/Downloads/google-chrome-beta_current_x86_64.rpm | cpio -idmv --no-absolute-filenames
#!/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
#!/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