![]() ![]() The directories that represent them are in In Gentoo, runlevels have the same names, but these are mapped to more self explanatory ones (in /etc/inittab): "boot", "default", "nonetwork", with the option to add more. They are represented by directories in /etc/ called rc*.d (when the default sysv-rc boot loader package is installed file-rc can be installed instead, and then the relevant file is nf). In Debian, runlevels are named conventionally (0-6 and S). It might continuously be valuable in reference to non-systemd Devuan, for example … concerning mainstream Debian, that now relies on systemd. On Alpine and Gentoo, they are a bit different. Runlevels work pretty conventionally on Debian (see details: systemd ). Reverse dependencies are taken care of by dpkg. Portage will notify you to runĮmerge help rebuild binaries that might otherwise become broken. Recent versions of portage include library tracking and preservation with the preserved-libs feature. To only remove outdated packages you will need to install the gentoolkit package and use eclean:Ĭleaning temporary files from emerging packages:Īpk-tools will take care of reverse dependencies. The following command will leave /var/cache/distfiles/ folder intact, while deleting all children.įind /var/cache/distfiles/ -mindepth 1 -delete Gentoo emerge -fetchonly package1 package2ĭebian apt-get install -download-only package1 package2Ĭompressed packages that were downloaded for installation can easily consume gigabytes of storage space.Īlpine will clean up packages automatically. ![]() if you're on a dial-up connection and want to download everything first and install later. Or to remove along with all configuration files In case you know what you're doing, you may skip dependency checks and potentiality leave your system in broken state. The correct way to remove packages on gentoo. To see if package is required by other packages (is a dependency for another packages), use: You will mostly like to take a quick look at the dependencies before you remove packages recursively. Make sure you have backups of your configuration files. To get the long package information on Debian (searching only in package names):Īpt-cache search -full -names-only searchwordĪpk del will remove configuration files when the -purge flag is used. You use them like this:īoth emerge and apt-cache search support regular expressions. Note: On Gentoo, it's actually much better to install and use the eix package to do a search. To search the package names and descriptions: Note: You rarely need to reinstall a package on Debian Gentoo emerge -oneshot package1 package2ĭebian apt-get install -reinstall package1 package2 This is explored further in the "Architectures and repositories" section below.Īlpine apk del package1 package2 & apk add package1 package2 Note: This process can be used to backport packages from testing and unstable by simply adding their respective source repositories to sources.list, which is similar to adding ~x86 to package.keywords in Gentoo. (the packages are automatically generated using the -b switch above) (note that this will make your bug reports invalid to the maintainer) (or set environmental variables like DEB_BUILD_OPTIONS) (optional: customize the build by modifying the debian/rules makefile) Gentoo emerge -deep -update -pretend apt list -upgradableįor source compile, see the Aports tree and the abuild tool. Show which packages have an update available: Gentoo will update the build-from-source scripts and the updating of the database takes much more time than updating the database for Debian or Alpine. This section compares how apk-tools is used, in comparison to apt and emerge. Where Gentoo has portage and emerge Debian has, among others, apt Alpine uses apk-tools. Note: The page was originally copied from: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |