Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can i only install python-webkit but not other packages? which is showing to install? (no gstreamer*.*, i do not want to have any single files installed in my distro because of GPL license and it slows my machine a lot)

$ sudo apt-get install libwebkitgtk-1.0-0 python-webkit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0
Suggested packages:
  gstreamer-codec-install gnome-codec-install gstreamer0.10-tools gstreamer0.10-plugins-base
The following NEW packages will be installed:
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libwebkitgtk-1.0-0
0 upgraded, 3 newly installed, 0 to remove and 333 not upgraded.
Need to get 8,231 kB of archives.
After this operation, 28.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
share|improve this question

1 Answer 1

up vote 4 down vote accepted

Use sudo apt-get --no-install-recommends install pkg1 pkg2 ....

To disable installing recommends by default, please see: How can I set up aptitude-curses so that it doesn't automatically select *recommended* packages? (applies to apt-get too)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.