Linux Commands Examples

A great documentation place for Linux commands


graphical management of software packages


synaptic [options]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



What's the difference between "Mark for Removal" and "Mark for Complete Removal" in Synaptic Package Manager?

The "complete removal" option will also remove global configurations files, e.g. in /etc


How to prevent Ubuntu/Debian users from accessing apt-get or downloading from the web, etc?

I'd say your best bet is to remove the binaries that you don't want your root user to use (wget, apt-get, etc).

However this can break some system fuctionnalities because some applications assume you have a functionnal wget, dpkg, etc. And, well, as long as it's root, and even with no internet connection, he can insert a cd and recopy the binaries...


How do I list all packages from unstable / experimental?

Using aptitude you can do:

$ aptitude versions \
> '~VCURRENT (~Aunstable|~Aexperimental) !~Atesting' --group-by=none

This will list all packages whose currently installed version (~VCURRENT) comes from the unstable or experimental archives (~A) and are not present in the testing archive (!~A). The --group-by=none option serves to produce a more terse output.


Kinetic scrolling in Linux and Synaptics

Is this helpful?


can i cancel Ubuntu Update-Manager in progress?

The package manager first downloads all packages and then installs them. As long as it's downloading you can interrupt it any time without any problems.

Interrupting after the installation started may sometimes break things and you should avoid this if possible.

Usually starting the update process again will continue fine, maybe asking you to run some command from the command line. But you better don't switch off your system before all the updates are completed.


Error removing packages in Ubuntu using Synaptic

Generally you'd want to leave packages like xorg-* and gnome-session alone.

You could probably undo most of the damage by installing the ubuntu-desktop or ubuntu-desktop-minimal meta-package.
To simply get a listing of the missing packages without actually doing anything:

sudo apt-get install -s ubuntu-desktop


Two finger scroll registering as click event with java apps on Macbook 2,1 running Linux

From my experience disabling Horizontal scrolling fixes the issue for vertical scrolling. So you can

synclient HorizEdgeScroll=0 HorizTwoFingerScroll=0

to do this at runtime. Or to have it permanently disabled you can edit


setting options "HorizEdgeScroll" and "HorizTwoFingerScroll" to "off".

By the way, this is not related to particular Java application, it's the same for all of them (at least I assume so, seeing the same issue in jEdit, NetBeans and Moneydance). This is also not MacBook specific. I've had the same issue on my Dell XPS L702x laptop with Synaptics touchpad. JDK 1.6 and 1.7 versions, OS: OpenSUSE 12.1 x86_64.


How to solve the problem of broken package list on Kubuntu?

DO this in a Terminal session:

$ sudo rm /var/lib/apt/lists/*
$ sudo apt-get update

That will get a fresh copy of all the files in there.

Everything should work fine then.


My touchpad is unresponsive; is it dying?

Check to make sure that you drivers are up-to-date. If they are, then uninstall and reinstall the drivers. This may fix everything. Drivers can get corrupted from time to time.

-Good Luck!


Compiling my own python has broken system scripts?

This is normal enough that most people who build their own Python environments use something like virtualenv to manage them. Replacing the system-provided Perl, Python, or Ruby is almost never a good idea, and all three languages provide ways for developers to manage their own private installations (for Perl there is PerlBrew and for Ruby there's RVM).


Synaptic is a frontend for the apt package managent system. It allows you to perform all actions of the command line tool apt-get in a graphical environemnt. This includes installing, upgrading, downgrading and removing of single packages or even upgrading your whole system.

A manual with detailed instructions can be found in the help menu of Synaptic.


Synaptic accepts all of the standard Gtk+ toolkit command line options as well as the following:
, --filter-file=filename

specify an alternative filter settings file

-i, --initial-filter=int

apply the filter with number int at startup

-o, --option=option

set an internal option (experts only)


Copyright (C) 2001-2004 Conectiva S/A

Copyright (C) 2002-2004 Michael Vogt

There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.


Synaptic was originally developed by Alfredo K. Kojima <kojima[:at:][:dot:]br>. His last official release was 0.16. Michael Vogt <mvo[:at:]debian[:dot:]org> took over his CVS version, that already included a nearly complete port to Gtk+. Michael completed the port and added new features. See the NEWS file for the user visible changes from that point on. Conectiva is still involved in the development of synaptic. Gustavo Niemeyer <niemeyer[:at:]conectiva[:dot:]com> is doing a great deal of work.

All development is done at

This manual page was originally written by Wybo Dekker <wybo[:at:]servalys[:dot:]nl> and Michael Vogt <mvo[:at:]debian[:dot:]org> and modified by Sebastian Heinlein <sebastian.heinlein[:at:]campus.lmu[:dot:]de>.

How can this site be more helpful to YOU ?

give  feedback