Comparison: Difference between revisions

From Alpine Linux
No edit summary
Line 4: Line 4:
{| border=1
{| border=1
|-
|-
! Action
! Action  
! Alpine 1.9
! Alpine 1.9 ! Alpine 1.8 ! Arch Linux ! Gentoo ! Debian/Ubuntu
! Alpine 1.8
! Arch Linux
! Gentoo
! Debian/Ubuntu
|-
|-
| Update package database
| Update package database
| {{Cmd|apk update}}
| {{Cmd| apk update}}
| {{Cmd|apk_fetch -u}}
| {{Cmd| apk_fetch -u}}
| {{Cmd|pacman -Sy}}
| {{Cmd| pacman -Sy}}
| {{Cmd|emerge --sync}}
| {{Cmd| emerge --sync}}
| {{Cmd|aptitude update}}
| {{Cmd| aptitude update}}
|-
|-
| Showing available updates
| Showing available updates
| {{Cmd| apk version -l '<'}}
| {{Cmd| apk_version -v -l '<'}}
|
| {{Cmd| emerge --deep --update --pretend @world}}
| {{Cmd| aptitude upgrade --simulate}}
|-
|-
| Update a particular package
| Update a particular package

Revision as of 19:33, 1 October 2009

Comparison with other distros

This page shows how some standard things are done in Alpine compared to other distributions.

Action Alpine 1.9 ! Alpine 1.8 ! Arch Linux ! Gentoo ! Debian/Ubuntu
Update package database

apk update

apk_fetch -u

pacman -Sy

emerge --sync

aptitude update

Showing available updates

apk version -l '<'

apk_version -v -l '<'

emerge --deep --update --pretend @world

aptitude upgrade --simulate

Update a particular package
Installing packages
Reinstall a particular package
Searching package database
Removing packages
Only downloading packages
Cleaning up downloaded packages
Reverse dependencies