Difference between pages "Emerge" and "Amd64-jaguar"

(Difference between pages)
 
 
Line 1: Line 1:
== Getting started with emerge ==
+
{{Subarch
Emerge is the front-end for funtoo's portage package manager. With emerge it is easy to install, update or remove packages.
+
|CPU Family=64-Bit AMD Processors
 +
|subarch=amd64-jaguar
 +
|CHOST=x86_64-pc-linux-gnu
 +
|CFLAGS=-march=btver2 -O2 -pipe
 +
|USE=mmx sse sse2 sse3 sse4 3dnow 3dnowext
 +
|CPU Features=low-power
 +
|Description=
 +
}}
 +
The '''amd64-jaguar''' (also called AMD Family 16h) subarch supports the  [[Wikipedia:Jaguar (microarchitecture)|AMD jaguar microarchitecture]], which is targeted at low-power devices, including notebooks, tablets and small form-factor desktops and servers. It is perhaps most well-known for being the microarchitecture used for the [[Wikipedia:Playstation 4|Playstation 4]] and [[Wikipedia:Xbox One|Xbox One]], which each use custom 8-core Jaguar APUs.
 +
Socketed Jaguar APUs use the [[Wikipedia:AM1 Socket|AM1 socket]], and  [[Wikipedia:Socket_FT3|FT3 socket]] for mobile devices. G-series [[Wikipedia:System_on_a_chip|"system on a chip" (SoC)]] APUs are available for non-socketed devices such as tablets and embedded system boards.
  
=== Update package database ===
+
Desktop Jaguar APUs include the [[Wikipedia:List_of_AMD_accelerated_processing_unit_microprocessors#.22Kabini.22.2C_.22Temash.22_.282013.2C_28_nm.29|Kabini A-series APUs and Temash E-series APUs]], such as the Athlon 5150 and 5350 APUs, and Sempron 2650 and 3850.
'''Sync local package database. This will update your local Portage tree with the latest Funtoo ebuilds.'''
+
<console>
+
###i## emerge --sync
+
</console>
+
  
=== Search packages ===
+
Amd64-jaguar subarches use the MOVBE instruction which is not available on amd64-bulldozer, amd64-piledriver or amd64-steamroller. They are thus not instruction-compatible with any of these subarches.
'''Search packages by name.'''
+
<console>
+
###i## emerge -s firefox
+
###i## emerge --search firefox
+
</console>
+
 
+
'''Search packages by description.'''
+
<console>
+
###i## emerge -S web browser
+
###i## emerge --searchdesc web browser
+
</console>
+
 
+
=== Install packages ===
+
'''Install package.'''
+
<console>
+
###i## emerge firefox
+
</console>
+
 
+
'''Install multiple packages.'''
+
<console>
+
###i## emerge firefox thunderbird
+
</console>
+
 
+
'''Install package. Ask for confirmation before performing any changes. Show verbose output.'''
+
<console>
+
###i## emerge -av firefox
+
###i## emerge --ask firefox
+
</console>
+
 
+
=== Remove packages ===
+
'''Remove package.'''
+
<console>
+
###i## emerge -C firefox
+
###i## emerge --unmerge firefox
+
</console>
+
 
+
'''Remove package. Ask for confirmation before performing any changes.'''
+
<console>
+
###i## emerge -aC firefox
+
</console>
+
 
+
'''Remove orphaned packages. Ask for confirmation before performing any changes.'''
+
<console>
+
###i## emerge -a --depclean
+
</console>
+
 
+
=== Update packages ===
+
'''Update all packages.'''
+
<console>
+
###i## emerge -uDN @world
+
</console>
+
 
+
'''Update all packages. Ask for confirmation before performing any changes. Show verbose output.'''
+
<console>
+
###i## emerge -uavDN @world
+
</console>
+
 
+
== Emerge options ==
+
 
+
; --sync
+
: Updates the portage tree that is located in /usr/portage by default.
+
 
+
; --search -s
+
: Searches  for  matches  of  the  supplied  string in the portage tree.
+
 
+
; --searchdesc -S
+
: Matches the search string against the description field as well as the package name.
+
 
+
; --ask -a
+
: Ask for confirmation before performing any changes.
+
 
+
; --pretend -p
+
: Instead of actually performing the merge, simply display what *would* have been installed if --pretend weren't used.
+
 
+
; --unmerge -C
+
: Removes all matching packages.
+
 
+
; --update -u
+
: Updates  packages to the best version available, which may not always be the  highest version number due to masking for testing and development.
+
 
+
; --deep [DEPTH] -D
+
: force  emerge  to  consider  the  entire  dependency tree of packages, instead of checking only the immediate dependencies of the packages.
+
 
+
; --newuse -N
+
: Tells emerge to include installed packages where USE flags have changed since compilation.
+
 
+
; --depclean -c
+
: Remove orphaned packages. Cleans the system by removing packages that are not associated with explicitly merged packages.
+
 
+
; --autounmask-write
+
: Automatically write package.use settings as necessary to satisfy dependencies.
+
 
+
; --resume -r
+
: Resumes  the  most recent merge list that has been aborted due to an error.
+
 
+
; --jobs[=JOBS] -j [JOBS]
+
: Specifies the number of packages to build simultaneously.
+
 
+
; --load-average [LOAD]
+
: Specifies  that  no  new  builds should be started if there are other builds running and the load average is at least LOAD (a floating-point number).
+
 
+
== Configuration ==
+
=== make.conf ===
+
Emerge can be configured with <code>/etc/portage/make.conf</code>
+
{{File
+
|/etc/portage/make.conf|<pre>
+
CFLAGS="-march=native -O2 -pipe"
+
CXXFLAGS="-march=native -O2 -pipe"
+
 
+
MAKEOPTS="-j2"
+
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 2"
+
INPUT_DEVICES="evdev synaptics"
+
VIDEO_CARDS="intel i965"
+
LINGUAS="en en_US en_GB"
+
ACCEPT_LICENSE="*"
+
 
+
USE="mmx mmxext sse sse2 sse3 ssse3 threads alsa X gtk xcb dri opengl vaapi udev \
+
    svg x264 xvid gstreamer webm vpx icu bash-completion vim-pager \
+
    -gnome -xscreensaver -cups -fortran -deprecated -iptables -ipv6 -geoloc \
+
    -mta -sendmail -kmod -tiff -live -quicktime -real -gpm -themes"
+
</pre>}}
+
 
+
=== package.use ===
+
Per-package use flags can be configured with <code>/etc/portage/package.use</code>
+
<console>
+
###i## nano /etc/portage/package.use
+
x11-wm/dwm savedconfig
+
media-sound/ncmpcpp visualizer clock taglib
+
</console>
+
 
+
=== package.accept_keywords ===
+
If you want to install a package that has not been tested on your architecture you need to edit <code>/etc/portage/package.accept_keywords</code>:
+
{{File
+
|/etc/portage/package.accept_keywords|<pre>
+
=app-misc/screenfetch-9999 **
+
</pre>}}
+
 
+
== Other Resources ==
+
For more info see the emerge man page.
+
<console>$##i## man emerge</console>
+
 
+
[[Category:Portage]]
+
[[Category:HOWTO]]
+
[[Category:Tutorial]]
+
[[Category:System]]
+

Revision as of 07:03, December 20, 2014

amd64-jaguar (Sub-architecture)

Note

This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.

CPU Family64-Bit AMD Processors
CHOSTx86_64-pc-linux-gnu
CFLAGS-march=btver2 -O2 -pipe
USEmmx sse sse2 sse3 sse4 3dnow 3dnowext


The amd64-jaguar (also called AMD Family 16h) subarch supports the AMD jaguar microarchitecture, which is targeted at low-power devices, including notebooks, tablets and small form-factor desktops and servers. It is perhaps most well-known for being the microarchitecture used for the Playstation 4 and Xbox One, which each use custom 8-core Jaguar APUs. Socketed Jaguar APUs use the AM1 socket, and FT3 socket for mobile devices. G-series "system on a chip" (SoC) APUs are available for non-socketed devices such as tablets and embedded system boards.

Desktop Jaguar APUs include the Kabini A-series APUs and Temash E-series APUs, such as the Athlon 5150 and 5350 APUs, and Sempron 2650 and 3850.

Amd64-jaguar subarches use the MOVBE instruction which is not available on amd64-bulldozer, amd64-piledriver or amd64-steamroller. They are thus not instruction-compatible with any of these subarches.