package operation in Gentoo
search software with keyword:
Gentoo: emerge -s
Debian: apt-cache search
FreeBSD: make search name=
ports_glob
Install software:
Gentoo: emerge
Debian: apt-get install
FreeBSD: portinstall
remove package:
Gentoo: emerge unmerge
Debian: apt-get remove
FreeBSD: pkg_deinstall
Update single package:
Gentoo: emerge -u
Debian: ?
FreeBSD: portupgrade
check what packages will be impacted by updating all installed packages:
Gentoo: emerge -puDv world
Debian: apt-get -u dist-upgrade
FreeBSD: portupgrade -arnv
update the system:
Gentoo: emerge -u --deep world
Debian: apt-get dist-upgrade
FreeBSD: make world ; portupgrade -ar
query installed packages:
Gentoo: emerge -pe world 或 qpkg -I -v
Debian: dpkg --get-selections
FreeBSD: pkg_info
check the dependency of package:
Gentoo: qpkg -f
(need gentoolkit)
Debian: dpkg -S
FreeBSD: pkg_info -W
check the components of a package:
Gentoo: qpkg -l
Debian: ?
FreeBSD: pkg_info -L
check the components of a package with keyword
Gentoo: qpkg -I | grep
Debian:
FreeBSD: pkg_info | grep
query the introduction to package with keyword
Gentoo: emerge -S
Debian: ?
FreeBSD: make search key=
remove package without dependency:
Gentoo: emerge -C
Debian:
FreeBSD: pkg_delete -f
rebuild the system:
Gentoo: emerge -e world
Debian: ?
FreeBSD: make world ; portupgrade -arf

1 Comments:
Just passing through and saw your site. Great Blog! I'll check in occasionally.
I have a computer repair Atlanta site/blog.
Come and check it out if you get time :-)
Post a Comment
Links to this post:
Create a Link
<< Home