I have been confused with the a few Debian installers (apt-get, dpkg, aptitude and synaptic) and some people claims that those can be inter-changeable, but it is not the case.
aptitude
It is the new debian-based installer (front-end tool for APT) which can resolve dependencies. Yes, it is not all that new, but it's newer than the old favorite apt-get. Aptitude do more works than apt-get, which means it reduce your works. One of its most appealing features is when removing a package, Aptitude will also removes any unneeded dependencies that were installed with the package. Aptitude uses about the same commands as apt-get. It's not a good idea to use both - either use aptitude or apt-get exclusively, or your dependencies will be mixed and become conflicting.
# aptitude install 'packagename'
# aptitude reinstall 'packagename'
# aptitude remove 'packagename'
# aptitude remove --purge 'packagename'To show the package versions:
# aptitude -V install 'packagename'
Update your package cache list, upgrade your system, upgrade to the next release:
# aptitude update
# aptitude upgrade
# aptitude dist-upgrade
Occasionally, you need to run aptitude update so you always have the latest package lists.
Synaptic
Graphic user interface (GTK+) package manager, it is also a front-end tool for APT, very easy to use. It can manage multiple packages at a time. The source can be mixed multiple repositories such as FTP/HTTP sites, network and local file systems. Besides, it capable to have system-wide upgrade
dpkg
It is similar to RPM, because it operates on individual packages without tracking the dependencies.
No comments:
Post a Comment