Posted in Linux, Tutorials/Tips

Installing software without unneeded dependencies

Sometimes we want to install a small program to out system, but unfortunately it comes with lots of unneeded packages, for example: we are installing screenlets, a desktop gadgets for linux system, during Synaptic installation you are offered to install lots and really lots of gnome dependencies.  But what if we do not need them, maybe program will work without them? Simply type in to terminal:
sudo apt-get install --no-recommends screenlets python-gnomekeyring
and it will install only files of program it self, not the ones it recommends. Program installed and worked as it should, without any unneeded crap it would have been installed with synaptic.

So if you want to install something, without it;s other packages which it might need or mostly might not type:
sudo apt-get install --no-install-recommends PACKAGE

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s