Search This Blog

Labels

adobe (1) android (3) apache (3) aviation (1) bash (2) chrome (2) composer (1) cookery (3) dev (2) dodanperks (1) extensions (1) facebook (2) firefox (1) git (2) grafana (1) guzzle (1) headaches (11) htaccess (1) html5 (2) jquery (2) lamp (1) life hacks (10) linux (28) mysqli (2) native (1) opera (2) php (10) railfanning (1) reactjs (3) reactnative (1) servers (11) sinhala (1) smartphones (2) snap (1) sound (1) tech (22) troubleshoots (4) ubuntu (29) unicode (4) virtualbox (1) wamp (2) web (11) windows (4) wordpress (3) youtube (2) කෑම (3)

Tuesday, 15 July 2014

Linux 6: Software Installation

RPM

RPM install
sudo rpm -i [package]

RPM remove
sudo rpm -e [package]

Note: use -v for verbose

YUM (Yellowdog Update Modified)

YUM install
sudo yum install [package]

YUM remove
sudo yum remove [package]

Note: Add repositories
Add repository URL to the end of
/etc/yum.conf
or in a seperate file name
[anyname].repo
in
/etc/yum.repos.d
directory.

APT (Advanced Package Tool)

APT install
sudo apt-get install [package]

APT remove
sudo apt-get remove [package]

Note: Removing softwares
apt-get remove
will 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.list
or in a seperate file name
[anyname].list
in
/etc/apt/sources.list.d
directory.

No comments:

Post a Comment