Rasperry Pi: Difference between revisions

653 bytes added ,  28 September 2021
The size of the package is no longer only 27MB, I checked 28/09/21 and it occupies 157MB
(created octave on Raspbian page)
 
(The size of the package is no longer only 27MB, I checked 28/09/21 and it occupies 157MB)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Warning|This article is outdated as of 2020-06-10; see [[:Category:Installation]] for latest information.}}
[[File:Raspbian_wheezy_running_octave.png|500px]]
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])


Line 16: Line 20:
  $ sudo apt-get update
  $ sudo apt-get update
  $ sudo apt-get install octave
  $ sudo apt-get install octave
This will take some time to download (approx. 29MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu.
This will take some time to download (approx. 157MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu.




Line 27: Line 31:
Just install it with apt-get:
Just install it with apt-get:
  $ sudo apt-get install octave-control
  $ sudo apt-get install octave-control
== build your own .oct files ==
sudo apt-get install liboctave-dev
After that you can compile your programs using "mkoctfile". See [http://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html#Oct_002dFiles GNU octave manual: A.1 Oct-Files] for how to write them.
== libbcm2835 wrapper for GPIO ==
* Write a simple example which read/writes the GPIO ports from within octave. Here is a stub to start: https://github.com/octave-de/octave-rpi-gpio
[[Category:Outdated pages]]
Anonymous user