Jump to content

Installing Tekkit Launcher w/ Ubuntu Bash Shell Script


Recommended Posts

Posted

This script will download the Technic Launcher from the techicpack.net mirror, install it into the shared user game directory, download a Tekkit icon, add it to the shared icon directory, and create a desktop icon for unity.

  1. Open terminal by pressing 'ctrl + alt + t' on your keyboard.
  2. type "sudo nano tekkit_launcher_installer" into terminal
  3. type your password for sudo (same as your account password)
  4. copy and paste the entire script bellow by right clicking and pressing paste in the terminal window (pressing 'ctrl + v' does not work in terminal).
  5. press 'ctrl + x' then 'y' and the 'enter' button in terminal to close nano.
  6. now type into terminal 'sudo sh tekkit_launcher_installer'
  7. Type your password for sudo again (same as your account password)

After typing your password for sudo and hitting enter it will download the Technic Launcher, Tekkit Icon and install both into the appropriate share directories. It will also automatically create and install the Tekkit launcher shortcut into unity. The shortcut will show up in your installed applications on Utilities' 'Dash Home'.

Simply drag and drop that shortcut over to your launcher to add the shortcut, like any other program installed in Ubuntu.

Something to Note: One thing that might throw you off is that when entering your password for sudo in terminal, no characters will show up on the screen. This is a safety feature built into terminal to protect your password from being stolen.

Disclaimer: Please note that I am running Ubuntu 12.04.1, this might not work for other Linux installations. This has been tested on my machine and works. I am not responsible for any damage that might result from running or attempting to run this script.


#!/bin/bash

 

## Download & Installs Tekkit Launcher Program

wget http://mirror.technicpack.net/Technic/technic-launcher.jar;

mv ./technic-launcher.jar /usr/games

chmod -x /usr/games/technic-launcher.jar;

chmod 777 /usr/games/technic-launcher.jar;

 

## Download & Installs Tekkit Icon

wget http://rocketdock.com/images/screenshots/Tekkit-Icon.png;

mv ./Tekkit-Icon.png /usr/share/icons;

 

## Builds & Installs Tekkit Launcher Shortcut

touch /usr/share/applications/tekkit_launcher.desktop;

echo "[Desktop Entry]" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Version=1.0" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Name=Tekkit Launcher" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Comment=Tekkit Mod Launcher for Minecraft" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Exec=technic-launcher.jar" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Icon=/usr/share/icons/Tekkit-Icon.png" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Terminal=false" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Type=Application" >> /usr/share/applications/tekkit_launcher.desktop;

echo "Categories=Application" >> /usr/share/applications/tekkit_launcher.desktop;

chmod -x /usr/share/applications/tekkit_launcher.desktop;

chmod 777 /usr/share/applications/tekkit_launcher.desktop;

Posted

So... What is this for? Is this some easier way of installing technic for Linux?

Yes more then likely, because all you do is take this install script and put it in a .sh file on your Linux computer, run it, and it will automate the install of Technic Launcher. It will also place it in the appropriate folder for it to be played from any account, not just the account the client was downloaded to.

Posted

Not bad. It should run on any other distros, not seeing any weird ubuntu or debian specific commands there.

It is specific to Gnome, at least the desktop entry part is.

Just curious about the chmods though... in both cases, that first chmod is a bit redundant is it not, if you're just setting it 777 in the second?

Posted

It is specific to Gnome, at least the desktop entry part is.

Just curious about the chmods though... in both cases, that first chmod is a bit redundant is it not, if you're just setting it 777 in the second?

Specific to GNOME. Gnome can be installed on pretty much any distro. I was more refering to if there was some sort of apt-get or something like that in there.

  • 3 months later...
  • 7 months later...
Posted

This used to work really well and I thank you for it, but for some odd reason its not working for me anymore. I've got to say I'm currently running Ubuntu 13.10, and at the time of install I was using 13.04 . I got rid of that old install and then repeated the process, but its still not working , maybe it just needs a revision.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...