Ubuntu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
Type the following command: | Type the following command: | ||
$ sudo dpkg -i package.deb | $ sudo dpkg -i package.deb | ||
To run python file | |||
python hello.step.45.py /dev/ttyUSB0 |
Revision as of 09:12, 7 April 2011
Settings for the machines in Ubuntu
- window size: 450
- editor width: 45
- editor height: 45
- camm: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
- rml: 'stty 9600 raw -echo crtscts </dev/ttyS0; cat "file" > /dev/ttyS0'
- epi: 'lpr -Pepilog "file"; sleep 15; lprm -Pepilog -'
- ps: 'lpr "file"'
- demsg
- lsusb
How do I install .deb file?
To install package called package.deb type the following command: Go to directory where package.deb is kept. For example if it is in /tmp directory:
$ cd /tmp
Type the following command:
$ sudo dpkg -i package.deb
To run python file
python hello.step.45.py /dev/ttyUSB0