Linux software: Difference between revisions
m (Centralized linux software onto one good starting point.) |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{draft}} |
|||
{{rightTOC}} |
{{rightTOC}} |
||
Users primarily interact with their XO through [[activities]] that follow the [[Sugar]] human interface. |
|||
Linux software typically found on other Linux installations than XO Laptops. |
|||
Since the XO's software is based on the [[Fedora]] Linux distribution, hundreds of other utilities and programs either come as part of the [[OS images|OS image]] or can be installed using tools such as [[yum]]. |
|||
This page lists a small fraction of them. |
|||
===Basic commands=== |
===Basic commands=== |
||
You type the commands in a [[Terminal activity]]. |
|||
* cd : change directory (e.g. cd {path to directory} |
* cd : change directory (e.g. cd {path to directory} |
||
⚫ | |||
* pwd : print working directory (tells you what your current directory is) |
|||
* df : display size and available space on each file system. ([[USB drive]]s and [[Secure Digital card|SD card]]s appear as subdirectories of <tt>/media</tt>) |
|||
:*(Note that ''/media'' changes to ''/run/media/olpc'' for Fedora 17 based builds used in 12.1.0 and later). |
|||
* ls : lists all in the directory (similar to "dir/w" on a Windows system) |
* ls : lists all in the directory (similar to "dir/w" on a Windows system) |
||
* ls -al : lists everything in directory, including hidden directories (similar to "dir/ah" on a Windows system) |
* ls -al : lists everything in directory, including hidden directories (similar to "dir/ah" on a Windows system) |
||
* mkdir : make a directory (e.g. mkdir ''path/to/directory''} |
|||
⚫ | |||
* mount : list available file systems; also make a [[USB drive]] available (e.g. <tt>mount /media/''usb_drive_label'</tt>'} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* |
* pwd : print working directory (tells you what your current directory is) |
||
* [[reboot]] : restart the computer |
|||
* mount : mount a usb device (e.g. mount /media/{usb_stick_name} (usb sticks are in the /media directory) |
|||
⚫ | |||
⚫ | |||
* [[su]] : switch user, command. Commonly used to go to/from [[root]] and 'olpc' accounts. |
|||
* unzip : will unzip a file (use with .xo) |
|||
* [[sudo]] : Allows running of commands as [[root]] from the normal olpc account. |
|||
⚫ | |||
* unzip : will unzip or uncompress a file or bundle of files. (useful with <tt>.xo</tt> and <tt>.xol</tt> [[bundles]]) |
|||
Note: the command-line option <tt>-r</tt> (recursive) makes some commands recursive, e.g. cp -r will copy the entire directory. |
|||
You can enter most commands followed by <tt>--help</tt> to get basic help and a list of the command's options. |
|||
=== Advanced commands === |
=== Advanced commands === |
||
Line 23: | Line 34: | ||
=== Expert commands === |
=== Expert commands === |
||
* ifconfig :shows network connections (enter command in root) |
* [[ifconfig]] : reports your IP address, shows network connections (enter command in root) |
||
* telinit 3 : shuts down sugar (the graphical environment), giving you a text-only Linux mode |
* telinit 3 : shuts down sugar (the graphical environment), giving you a text-only Linux mode |
||
* telinit 5 : starts up sugar (the graphical environment) after having done "telinit 3" to stop it |
* telinit 5 : starts up sugar (the graphical environment) after having done "telinit 3" to stop it |
||
* ifconfig : reports your IP address |
|||
* iwconfig : reports wireless network info |
* iwconfig : reports wireless network info |
||
Line 33: | Line 43: | ||
=== Popular packaged software === |
=== Popular packaged software === |
||
* [[ |
* [[firefox]] : Popular web browser |
||
* [[ |
* [[opera]] : Popular web browser |
||
* [[gtkpod]] : Software for connecting to and synchronizing with your Apple iPod. |
|||
* [[Midnight Commander|mc]] : (i.e. Midnight Commander) Command line file/directory manager. |
|||
* [[picasa]] : Picture organizer and uploader for Google's Piscasa online web folders. |
|||
* [[thunar]] : File/directory manager |
|||
* [[XMMS]] : Multi-media viewer/player. |
|||
Many of these are graphical programs that use the [[X Window System]]. |
|||
The XO's [[Sugar]] user interface uses X as well, but presents a different, simpler user interface than traditional programs. |
|||
=== Popular addon/plugin software === |
=== Popular addon/plugin software === |
||
* [[Flash player]] : Able to show |
* [[Flash player]] : Able to show Flash embedded in web pages (if [[Gnash]] cannot). |
||
=== References === |
=== References === |
||
* See also [[:category:linux software]] . |
* See also [[:category:linux software]] . |
||
* [http://www.ss64.com/bash/ A list of common linux commands] |
* [http://www.ss64.com/bash/ A list of common linux commands] |
||
---- |
|||
[[Category:Linux software]] |
Latest revision as of 03:04, 27 March 2012
NOTE: The contents of this page are not set in stone, and are subject to change! This page is a draft in active flux ... |
Users primarily interact with their XO through activities that follow the Sugar human interface.
Since the XO's software is based on the Fedora Linux distribution, hundreds of other utilities and programs either come as part of the OS image or can be installed using tools such as yum. This page lists a small fraction of them.
Basic commands
You type the commands in a Terminal activity.
- cd : change directory (e.g. cd {path to directory}
- cp : copy (e.g. cp {path to file} {path to destination})
- df : display size and available space on each file system. (USB drives and SD cards appear as subdirectories of /media)
- (Note that /media changes to /run/media/olpc for Fedora 17 based builds used in 12.1.0 and later).
- ls : lists all in the directory (similar to "dir/w" on a Windows system)
- ls -al : lists everything in directory, including hidden directories (similar to "dir/ah" on a Windows system)
- mkdir : make a directory (e.g. mkdir path/to/directory}
- mount : list available file systems; also make a USB drive available (e.g. mount /media/usb_drive_label''}
- nano : a simple text editor for changing files (e.g. nano path/to/file}) If the file is in the working directory, then you only need to type the file name.
- pwd : print working directory (tells you what your current directory is)
- reboot : restart the computer
- rm : remove (e.g. rm /path/to/file})
- su : switch user, command. Commonly used to go to/from root and 'olpc' accounts.
- sudo : Allows running of commands as root from the normal olpc account.
- umount : unmount a USB device
- unzip : will unzip or uncompress a file or bundle of files. (useful with .xo and .xol bundles)
Note: the command-line option -r (recursive) makes some commands recursive, e.g. cp -r will copy the entire directory.
You can enter most commands followed by --help to get basic help and a list of the command's options.
Advanced commands
- wget : get file from web (e.g. wget {url_to_file}
- rsync : Advanced remote copy/mirror/update files/directory function
Expert commands
- ifconfig : reports your IP address, shows network connections (enter command in root)
- telinit 3 : shuts down sugar (the graphical environment), giving you a text-only Linux mode
- telinit 5 : starts up sugar (the graphical environment) after having done "telinit 3" to stop it
- iwconfig : reports wireless network info
- halt -p : shutdown
Popular packaged software
- firefox : Popular web browser
- opera : Popular web browser
- gtkpod : Software for connecting to and synchronizing with your Apple iPod.
- mc : (i.e. Midnight Commander) Command line file/directory manager.
- picasa : Picture organizer and uploader for Google's Piscasa online web folders.
- thunar : File/directory manager
- XMMS : Multi-media viewer/player.
Many of these are graphical programs that use the X Window System. The XO's Sugar user interface uses X as well, but presents a different, simpler user interface than traditional programs.
Popular addon/plugin software
- Flash player : Able to show Flash embedded in web pages (if Gnash cannot).