2014-03-13

Tiny Core Linux LibreOffice


LOsrc=/mnt/tcz/tool/libre/LibreOffice_4.1.4_Linux_x86_rpm.tar.gz
LOrpm=LibreOffice_4.1.4.2_Linux_x86_rpm
LOhome=libreoffice4.1

        gzip -dc ${LOsrc} | tar xfv - -C /opt
        find /opt/${LOrpm} -name \*.rpm -exec sudo rpm -i \{\} \;
        /bin/rm -rf /opt/${LOrpm}
        ln -s ${LOhome} /opt/libreoffice


No comments:

Post a Comment