exe-file that simply begs "click me." But, the first file I tried "soffice" did the trick. Since I had the install path from the script, I went to the proper location to see what I could see - no nice. The next problem was to start the program. I removed the line "su" in the original script and ran the whole thing as root with immediate and stunning success. It ran up to the point where it calls for root privileges and then goes into a new shell after log in. Read -p "Press Enter to exit the script." Sudo sed -i 's/shortcut=\"sktop\"/extraargs=\"\/usr\/bin\/simpress\"/g' /opt/xandros/share/AsusLauncher/simpleui.rc Sudo sed -i 's/shortcut=\"sktop\"/extraargs=\"\/usr\/bin\/scalc\"/g' /opt/xandros/share/AsusLauncher/simpleui.rc Sudo sed -i 's/shortcut=\"sktop\"/extraargs=\"\/usr\/bin\/swriter\"/g' /opt/xandros/share/AsusLauncher/simpleui.rc ![]() Sudo cp /opt/xandros/share/AsusLauncher/simpleui.rc.bak /opt/xandros/share/AsusLauncher/simpleui.rc Sudo ln -s /opt/3/program/smath /usr/bin/ ![]() Sudo ln -s /opt/3/program/soffice /usr/bin/ Sudo ln -s /opt/3/program/sbase /usr/bin/ Sudo ln -s /opt/3/program/simpress /usr/bin/ Sudo ln -s /opt/3/program/scalc /usr/bin/ Sudo ln -s /opt/3/program/swriter /usr/bin/ Rpm -i openoffice.rpmĪnd if you want to install on your ASUS Eee PC netbook, you can use this script: #!/bin/shĮcho "This script dowloads and installs 3.0" Installing on a RPM-based distro like Mandriva or Fedora is also equally easy: wget Note that the script uses a mirror located in Germany, and you might want to change it to another one closer to you. Tar -xvf OOo_3.0.0_LinuxIntel_install_en-US_ ![]() Sudo dpkg -i 3.0-debian-menus_3.0-9354_all.debīetter yet, you can use the following Bash script to automate the entire download and installation process: #!/bin/sh In the terminal, use the following commands to unpack the downloaded archive and install on your machine: tar -xvf OOo_3.0.0_LinuxIntel_install_en-US_ For example, if you want to install 3.0 on Ubuntu, or any other Debian-based distro such as Sidux, download the OOo_3.0.0_LinuxIntel_install_en-US_ package. Download then the latest version for your Linux distro. Want to install the latest and greatest version of on your Linux machine? First of all, use the official list of mirrors to locate the download server closest to you.
0 Comments
Leave a Reply. |