Platform Team/Guide/Sweets Usage: Difference between revisions
→Current limitations: PK on Gentoo is mostly uselss dueto USE flags |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 12: | Line 12: | ||
sudo yum install gnome-packagekit | sudo yum install gnome-packagekit | ||
Debian and Ubuntu specific | Debian and Ubuntu (starting from 11.10) based distributions specific instructions: | ||
sudo apt-get install gnome-packagekit | |||
Ubuntu (before 11.10) based distributions specific instructions: | |||
sudo apt-get install packagekit-gnome | sudo apt-get install packagekit-gnome | ||
| Line 19: | Line 24: | ||
=== Install === | === Install === | ||
Enter in Terminal activity, or any other terminal: | Enter in the Terminal activity, or any other terminal: | ||
wget http://download.sugarlabs.org/sweets/sweets/installer.sh | wget http://download.sugarlabs.org/sweets/sweets/installer.sh | ||
| Line 26: | Line 31: | ||
Relogin from X session to take into account the new PATH environment variable value. | Relogin from X session to take into account the new PATH environment variable value. | ||
Alternatively, {{Code|sweets}} might be run from the [[Platform_Team/Guide/Sweets_Packaging#Run_Sweets_from_sources|sources]]. | |||
=== Upgrade === | === Upgrade === | ||
Enter in Terminal activity, or any other terminal: | Enter in the Terminal activity, or any other terminal: | ||
sweets upgrade | sweets upgrade | ||
| Line 42: | Line 47: | ||
* {{Code|''VERSION''}}, ''sweet'''s version | * {{Code|''VERSION''}}, ''sweet'''s version | ||
See the [[ | See the [[Platform_Team/Guide/Sugar_via_Sweets|Sugar via Sweets]] guide for real examples of how to use ''Sweets'' to run Sugar Shell. | ||
=== Launch === | === Launch === | ||
| Line 115: | Line 120: | ||
{{Code|sweets}} support additional notation for exact searching in the form of {{Code|''prefix''<nowiki>:=</nowiki>''string''}}. For example the query {{Code|name<nowiki>:=</nowiki>sugar}} will find ''sweet''s only with exactly {{Code|sugar}} as a name and omit names like {{Code|sugar-base}}. If the search string contains spaces, wrap it within double quotes, {{Code|name<nowiki>:=</nowiki>"Sugar Commander"}}. Note, wildcards do not work in the exact search case where asterisks will be treated literally. | {{Code|sweets}} support additional notation for exact searching in the form of {{Code|''prefix''<nowiki>:=</nowiki>''string''}}. For example the query {{Code|name<nowiki>:=</nowiki>sugar}} will find ''sweet''s only with exactly {{Code|sugar}} as a name and omit names like {{Code|sugar-base}}. If the search string contains spaces, wrap it within double quotes, {{Code|name<nowiki>:=</nowiki>"Sugar Commander"}}. Note, wildcards do not work in the exact search case where asterisks will be treated literally. | ||
== Current limitations == | == Current limitations == | ||
* For now, {{Code|sweets}} knows only enough about the glucose dependencies to install them from native packages in Debian, Ubuntu, Fedora, Mandriva, openSUSE | * For now, {{Code|sweets}} knows only enough about the glucose dependencies to install them from native packages in Debian, Ubuntu, Fedora, Mandriva, openSUSE. | ||
* Activities can't reuse sweets benefits. | * Activities can't reuse sweets benefits. | ||