First, download the software package appropriate for your computer from UltraScan website. (Note: I am assuming that the file is downloaded into your home directory). Next, open a Terminal (Applications > Accessories > Terminal) and enter each of these commands one after another. (Replace 'username' in the commands with your username. Some steps require you to enter root password).
A text editor window appears. Scroll down to the end and add these two lines:cd /usr/lib/
sudo tar -xvzf /home/username/ultrascan-9.9-631-qt-3.3.8-ix86-linux.tar.gz
ln -s /usr/lib/ultrascan-9.9 /usr/lib/ultrascan
gedit /home/username/.bashrc
export ULTRASCAN=/usr/lib/ultrascanClose the text editor window and return to the Terminal. Type this in the Terminal:
export PATH=$PATH:$ULTRASCAN/bin
gksu gedit /etc/ld.so.conf.d/ultrascan.confAn empty text editor window appears. Enter this line:
/usr/lib/ultrascan/libHit 'Save' button. Close the text editor window and return to the Terminal. Enter the following commands one after another.
After this, you should be able to run the program by entering 'us' in a Terminal. However, it would be nice to have UltraScan entry in the Applications tree. In order to do that, follow these instructions. Return to the Terminal and enter:source /home/username/.bashrc
sudo ldconfig
gksu gedit /usr/local/bin/usAn empty text editor window appears. Copy and paste the following lines into it.
#! /bin/bashHit 'Save' button and close the text editor window. Now, we will create a launcher in the Applications tree. Go to 'System' > 'Preferences' > 'Main Menu'. Click on 'New Item' and enter as shown:
export ULTRASCAN=/usr/lib/ultrascan
export PATH=$PATH:$ULTRASCAN/bin
/usr/lib/ultrascan/bin/us&
You may not see the UltraScan icon. In order to get that, click on the icon button and enter this path in the location bar: /usr/lib/ultrascan-9.9/etc/ultra.xpm
Happy centrifuging!
No comments:
Post a Comment