Platform Team/Guide/Sweets Usage: Difference between revisions
No edit summary |
|||
| Line 2: | Line 2: | ||
== Requirements == | == Requirements == | ||
* Install PackageKit and PackageKit authentication agent from native packages. On Debian-based systems, these packages are {{Code|packagekit}} and {{Code|packagekit-gnome}} (for Gnome Desktop Environment). For Fedora, {{code|PackageKit}} and {{Code|gnome-packagekit}}. | * Install PackageKit and PackageKit authentication agent from native packages. On Debian-based systems, these packages are {{Code|packagekit}} and {{Code|packagekit-gnome}} (for Gnome Desktop Environment). For Fedora, {{code|PackageKit}} and {{Code|gnome-packagekit}}. | ||
* PackageKit authentication agent should be launched to let the {{Code|sweets}} command install dependencies. Usually it is started after being logged into a Desktop Environment session (it isn't for Sugar session). | * PackageKit authentication agent should be launched to let the {{Code|sweets}} command install dependencies. Usually it is started after being logged into a Desktop Environment session (it isn't for Sugar session). | ||
* Download and launch our [http://download.sugarlabs.org/packages/0sugar/sweets.sh self-extracted installer]. | * Download and launch our [http://download.sugarlabs.org/packages/0sugar/sweets.sh self-extracted installer]. Note, sweets is not intended to be installed from {{Code|root}} user, use your current system user all time. | ||
* Installer will add {{Code|~/.local/bin}} directory to the {{Code|PATH}}. So, re-login from an X session to take into account the new {{Code|PATH}}. | * Installer will add {{Code|~/.local/bin}} directory to the {{Code|PATH}}. So, re-login from an X session to take into account the new {{Code|PATH}}. | ||
| Line 74: | Line 72: | ||
echo 'PATH=~/.local/bin:$PATH' >> ~/.bashrc | echo 'PATH=~/.local/bin:$PATH' >> ~/.bashrc | ||
mkdir -p ~/.local/bin | mkdir -p ~/.local/bin | ||
ln -fs ''<install-path>''/0run ~/.local/bin/0run | ln -fs ''<full-install-path>''/0run ~/.local/bin/0run | ||
ln -fs 0run ~/.local/bin/sweets | ln -fs 0run ~/.local/bin/sweets | ||
ln -fs 0run ~/.local/bin/0launch | ln -fs 0run ~/.local/bin/0launch | ||
cd ''<install-path>'' | |||
git submodule init | |||
git submodule update | |||
== Current limitations == | == Current limitations == | ||