RPM
RPM installsudo rpm -i [package]
RPM remove
sudo rpm -e [package]
Note: use -v for verbose
YUM (Yellowdog Update Modified)
YUM installsudo yum install [package]
YUM remove
sudo yum remove [package]
Note: Add repositories
Add repository URL to the end of
/etc/yum.confor in a seperate file name
[anyname].repoin
/etc/yum.repos.ddirectory.
APT (Advanced Package Tool)
APT installsudo apt-get install [package]
APT remove
sudo apt-get remove [package]
Note: Removing softwares
apt-get removewill remove the binaries, but not the configuration or data files of the package packagename. It will also leave dependencies installed with it on installation time untouched.
apt-get purge [package], or
apt-get remove --purge [package]will remove about everything regarding the package [packagename], but not the dependencies installed with it on installation. Both commands are equivalent.
Note: Add repositories
Add repository URL to the end of
/etc/apt/sources.listor in a seperate file name
[anyname].listin
/etc/apt/sources.list.ddirectory.
No comments:
Post a Comment