← back to the blog


Installing the LC3 Simulator

Posted in New LC3 Simulator

Installation

Ubuntu >14.04 + Windows Bash: QtLC3 and pyLC3

Note: pyLC3 is bundled in the QtLC3 package.

First add the PPA repository


$ sudo apt-add-repository ppa:michael-bartling15+dev/qtlc3 && sudo apt-get update

Next install the python module


$ sudo apt-get install qtlc3

Finally, try playing around with your new toys!

For QtLC3 just run the command!


$ qtlc3

 

For pylc3 just import pylc3 and make sure it works!


$ python2.7

Finally, just import pylc3 and make sure it works!


Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylc3
>>> dir(pylc3)
['__doc__', '__file__', '__name__', '__package__', 'memory', 'simulator']
>>>

Ubuntu >14.04 + Windows Bash: pyLC3 only

First add the PPA repository


$ sudo apt-add-repository ppa:michael-bartling15+dev/pylc3 && sudo apt-get update

Next install the python module


$ sudo apt-get install python2-pylc3

Now open python 


$ python2.7

Finally, just import pylc3 and make sure it works!


Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylc3
>>> dir(pylc3)
['__doc__', '__file__', '__name__', '__package__', 'memory', 'simulator']
>>>