Difference between revisions of "Installing locally"

From Applied Optics Wiki
Jump to: navigation, search
m (Added the bit about becoming root)
(Steve's mods... cleared up a few things.)
Line 1: Line 1:
 
Back to [[Linux How-tos]]
 
Back to [[Linux How-tos]]
  
* Steve / Roger - a wiki page for setting up matlab, comsol, cadence etc would be dead handy linked here-- Robs attempt at
+
==Installing /eee packages==
+
 
==== VPM ====
+
With thanks to Rob for the first draft of this.
As of 17/04/2008 the following is availible through VPM:
+
 
*Agilent
+
When you run std_suse_11.0_hacks for the first time, it runs a local script (in /home/share/suse_hacks/11.0) called "install_eee_packages". This sets things up, and offers to run ''VPM'' (Roger's package/version selection utility) and ''update_vlsitree'' (the bit that actually copies the packages over the network from the optik vlsi server onto your local disk, in the /eee/vlsi/ directory). This page gives a bit more information about what goes on.
*Cadence -Multiple versions
+
 
*Comsol
+
===VPM===
*Coventor
+
As of August 2008 the following is available through VPM:
*Design Kits
+
*Agilent ADS
 +
*Cadence - multiple packages and versions
 +
*Comsol - multiple versions
 +
*CoWare - multiple packages
 +
*Coventor - multiple versions
 +
*Design Kits - multiple packages
 
*Eagle
 
*Eagle
*Matlab - Multiple versions
+
*Matlab - multiple versions
*Xilinx ISE -Multiple versions
+
*Xilinx ISE -multiple versions
 +
 
 +
To use VPM:
 +
 
 +
*sudo vpm (type in root password)
 +
*Select software that you want installed by using arrow keys to scroll up/down and [Enter] (or [space]) to select
 +
*Once you have selected all the software you want, press [Tab] to "Save", then press [Enter]
 +
*Press [Enter] again, on "Quit"
 +
 
 +
Note that VPM does not install the packages there and then. It alters a configuration file, which another program uses to actually copy over the packages from the optik server. This is usually done overnight, because as well as slowing your own machine down, it will probably slow the network down for others too (especially those in the VLSI group).
 +
 
 +
If you require the packages urgently, then run:
 +
 
 +
*sudo /eee/vlsi/updating/update_vlsitree.sh (type in root's password)
 +
 
 +
This will install locally all the software you selected. This will take some time so I'd suggest you go make yourself a brew.
  
Once suse hack are installed you should have access to partition /eee/vlsi to install software from VPM, to do this in a console type:
+
Once this is completed everything should be installed and accessible from the applications tab under eee in the menu bar, or by typing the name of the program you want ("eagle" or "matlab" or whatever).
*cd /eee/vlsi
 
*su (type in root password)
 
*vpm
 
*Select software that you want installed by using arrow keys to scroll up/down and [enter] to select
 
*Once you have selected all the software you want [tab] to "Quit", [enter]
 
*./updating/update_vlsitree.sh
 
*If it asks questions such as "cp: overwrite `/usr/share/desktop-directories/uon-ads.directory'?" answer "y"
 
*Once finished, don't forget to "exit" (so you are no longer root)
 
This will install locally all the software you selected. This will take some time so I'd suggest you go make yourself a brew or fix my description of the process.
 
Once this is completed everything should be installed and accessible from the applications tab under eee in the menu bar.
 
  
==== Eagle ====
+
===Individual package quirks===
You can install eagle from the VPM unfortunately its a bit tricky in that the license does not sort itself out automatically (you don't want the freeware license), to fix this once in a console type:
 
*cd /eee/vlsi/eagle/4.16r1/bin
 
*sudo touch eagle.key
 
*sudo chmod a+w eagle.key
 
* cd ..; eagle &
 
  
This will bring up a licensing window. Back in the console type:
+
====Eagle====
*vim install.txt
 
*Highlight and copy the code displayed
 
  
In the licensing window
+
You can install Eagle from the VPM, unfortunately it's a bit tricky in that the license does not sort itself out automatically (you don't want the freeware license). To fix this:
*Set the key location to: /eee/vlsi/eagle/4.16r1/license.key
+
*cd /eee/vlsi/eagle/4.16r1/
*Paste in the installation code from vim
+
*su (type root's password - be careful from here on)
 +
*touch bin/eagle.key
 +
*chmod a+w bin/eagle.key
 +
*cat install.txt
 +
*eagle &
 +
This will bring up a licensing window.
 +
*Cut and paste the installation code (that was revealed above in install.txt) into the bottom box
 +
*Set the license file location to: /eee/vlsi/eagle/4.16r1/license.key
 
*Click Ok
 
*Click Ok
 +
*Click "No" when asked if you want to create the directory "/root/eagle"
 +
*Exit eagle
 +
*Type "exit" (so you are no longer root)
  
 
Eagle should now run as expected.
 
Eagle should now run as expected.

Revision as of 17:19, 1 August 2008

Back to Linux How-tos

Installing /eee packages

With thanks to Rob for the first draft of this.

When you run std_suse_11.0_hacks for the first time, it runs a local script (in /home/share/suse_hacks/11.0) called "install_eee_packages". This sets things up, and offers to run VPM (Roger's package/version selection utility) and update_vlsitree (the bit that actually copies the packages over the network from the optik vlsi server onto your local disk, in the /eee/vlsi/ directory). This page gives a bit more information about what goes on.

VPM

As of August 2008 the following is available through VPM:

  • Agilent ADS
  • Cadence - multiple packages and versions
  • Comsol - multiple versions
  • CoWare - multiple packages
  • Coventor - multiple versions
  • Design Kits - multiple packages
  • Eagle
  • Matlab - multiple versions
  • Xilinx ISE -multiple versions

To use VPM:

  • sudo vpm (type in root password)
  • Select software that you want installed by using arrow keys to scroll up/down and [Enter] (or [space]) to select
  • Once you have selected all the software you want, press [Tab] to "Save", then press [Enter]
  • Press [Enter] again, on "Quit"

Note that VPM does not install the packages there and then. It alters a configuration file, which another program uses to actually copy over the packages from the optik server. This is usually done overnight, because as well as slowing your own machine down, it will probably slow the network down for others too (especially those in the VLSI group).

If you require the packages urgently, then run:

  • sudo /eee/vlsi/updating/update_vlsitree.sh (type in root's password)

This will install locally all the software you selected. This will take some time so I'd suggest you go make yourself a brew.

Once this is completed everything should be installed and accessible from the applications tab under eee in the menu bar, or by typing the name of the program you want ("eagle" or "matlab" or whatever).

Individual package quirks

Eagle

You can install Eagle from the VPM, unfortunately it's a bit tricky in that the license does not sort itself out automatically (you don't want the freeware license). To fix this:

  • cd /eee/vlsi/eagle/4.16r1/
  • su (type root's password - be careful from here on)
  • touch bin/eagle.key
  • chmod a+w bin/eagle.key
  • cat install.txt
  • eagle &

This will bring up a licensing window.

  • Cut and paste the installation code (that was revealed above in install.txt) into the bottom box
  • Set the license file location to: /eee/vlsi/eagle/4.16r1/license.key
  • Click Ok
  • Click "No" when asked if you want to create the directory "/root/eagle"
  • Exit eagle
  • Type "exit" (so you are no longer root)

Eagle should now run as expected.

Experimental software

See Extra stuff for Experimental PCs