Software projects/OS/Slackware: Difference between revisions
From Pandora Wiki
Jump to navigationJump to search
Linux-SWAT (talk | contribs) No edit summary |
Linux-SWAT (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
= Installation = | = Installation = | ||
* | * Format a 8G or more SD card with the Ext2 filesystem. To make explanations clear, name it SLACK. | ||
* It's highly recommended to have a second partition formated as a swap. 256M or more is a good choice. | |||
* Grab the latest rootfs here : http:// | |||
* Uncompress the rootfs on your SD. Be root, using su -, or sudo : | |||
sudo tar -xpjvf myrootfs.tar.bz2 -C /media/SLACK/ --numeric-owner | |||
= First run = | = First run = | ||
* Be sure your Pandora's clock is set. Otherwise, your filesystem will be checked. | |||
* Power down your Pandora, insert the SD card in slot 1, and power on your unit. | |||
* Login : op Password : op | |||
= Basic usage = | |||
* In order to type commands as root, you have to type su -. You can use just su, but i don't recommend it because you won't have the full root environment. | |||
= Basic tools = | = Basic tools = | ||
* To upgrade, become root, then use slackpkg update, followed by slackpkg upgrade-all. | |||
* To enable or disable services at boot, become root, then type pkgtool, then go in setup -> services, check the option with space then push enter. | |||
= Installing a program = | = Installing a program = | ||
* Slackware archives are .tgz or .txz | |||
* Slackware uses three powerful tools : installpkg, removepkg and upgradepkg. | |||
= Build system = | |||
Revision as of 10:03, 18 March 2012
Installation
- Format a 8G or more SD card with the Ext2 filesystem. To make explanations clear, name it SLACK.
- It's highly recommended to have a second partition formated as a swap. 256M or more is a good choice.
- Grab the latest rootfs here : http://
- Uncompress the rootfs on your SD. Be root, using su -, or sudo :
sudo tar -xpjvf myrootfs.tar.bz2 -C /media/SLACK/ --numeric-owner
First run
- Be sure your Pandora's clock is set. Otherwise, your filesystem will be checked.
- Power down your Pandora, insert the SD card in slot 1, and power on your unit.
- Login : op Password : op
Basic usage
- In order to type commands as root, you have to type su -. You can use just su, but i don't recommend it because you won't have the full root environment.
Basic tools
- To upgrade, become root, then use slackpkg update, followed by slackpkg upgrade-all.
- To enable or disable services at boot, become root, then type pkgtool, then go in setup -> services, check the option with space then push enter.
Installing a program
- Slackware archives are .tgz or .txz
- Slackware uses three powerful tools : installpkg, removepkg and upgradepkg.