Debian Admin - Your way to Debian World

November 16, 2006

Simple Package management with Synaptic Package Manager in Ubuntu

by @ 11:10 am. Filed under Package Mgmt, Other Linux

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Synaptic is a graphical user interface (GUI) for managing software packages on Debian-based distributions. If you are using Debian or Ubuntu you will easily find Synaptic in the System Tools menu or in the Administration menu. Synaptic uses the GTK graphic libraries . So, if you are using GNOME on your debian-based distro you will probably have Synaptic installed as well. Synaptic is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+.

Now we will see how to add repositories,install,remove and update software packages

Adding repositories Using Synaptic

To Open Synaptic Package manager go to System—>Administration—>Synaptic package manager

once it opens you should see the following screen asking for the password for root or equivalent users.To manage package installations you need administration privileges; so you need to either be root or to authenticate as such.

Once it open the Synaptic Package Manager you should see the following screen.The main window is divided into three sections that is a package browser on the left, the package list on the upper right, and package details on the lower right. The status bar shows you the system state at a glance.

Now if you want to add repositories you need to go to settings—>Repositories you can see this in the following screen

Once it opens the Repositories menu you should see the following screen in this screen you can select repositories,internet updates,Third party,Authentication and statistics.Now we will see one by one first tab is ubuntu 6.10 repositories you need to select which one you want to add like main,universe,multiverse,restricted,source code and the name of the server you want to download from

Now we will see each one what it means if you want more information check here

Main Repositories

The main distribution component contains applications that are free software, can freely be redistributed and are fully supported by the Ubuntu team. This includes the most popular and most reliable open source applications available, much of which is installed by default when you install Ubuntu.

Restricted Repositories

The restricted component is reserved for software that is very commonly used, and which is supported by the Ubuntu team even though it is not available under a completely free licence. Please note that it may not be possible to provide complete support for this software since we are unable to fix the software ourselves, but can only forward problem reports to the actual authors.

Universe Repositories

The universe component is a snapshot of the free, open source, and Linux world. In universe you can find almost every piece of open source software, and software available under a variety of less open licences, all built automatically from a variety of public sources. All of this software is compiled against the libraries and using the tools that form part of main, so it should install and work well with the software in main, but it comes with no guarantee of security fixes and support. The universe component includes thousands of pieces of software. Through universe, users are able to have the diversity and flexibility offered by the vast open source world on top of a stable Ubuntu core.

Multiverse Repositories

The “multiverse” component contains software that is “not free”, which means the licensing requirements of this software do not meet the Ubuntu “main” Component Licence Policy.

Now if you click on Internet Updates tab you should see the following screen here you need to select what updates you want to run,when to update these updates and you want to install these updates

Now if you click on Third party tab you can enter third Party repositories and cdrom repositories here

If you want to add new source click on add you should see the following screen here you need to enter your source and click on add source

Next one is if you click on authentication tab here you can import the authentication keys for the packages you can click on import key file to import

Final Tab is Statistics this is only for popularity contest

After finishing all your settings you need to click on close once you click on close.you should see the following screen with the information saying you need to click on reload button to take effects of your new settings

Now you need to click on reload button located at the top panel of Synaptic manager or simply you can press or press Ctrl + R

You can see all the required packages are downloading in progress once it finish the download you are ready with your new Repositories list.


Ubuntu Dapper users

If you are using ubuntu 6.06 (dapper) and other versions when you open settings—>Repositories you can see this in the following screen under installation media tab

If you want to add Repositories you need to click on add you should see the following screen here you can select channel,components and click add

Here you can see the available channels list

If you want to add custom or third party repositories click on custom button you should see the following screen add your repositories click on add channel

Internet updates tab look like below here you can select when do you want to update your repositories

Install a Package Using Synaptic Package Manager

For example you want to install a package called dia-gnome for this you need to select the package and right click on that you should see the following screen here you need to select mark for installation or press Ctrl + I

This will popup a window saying that some of the other packages also required changes click on mark

You can see this package is marked for installation with an arrow mark next to the check box

Now you need to apply these changes by clicking on “Apply” in the toolbar or press Ctrl + P

Now it will show you the packages are going to be installed here you need to click on apply

Downloading all the required packages in progress

Installing the package is in progress

If you want to see the details of the installation package you can see in the following screen

Changes are applied successfully windows and click on close

Remove a Package Using Synaptic Package Manager

Now if you want to remove installed package you need to select that package and right click on that you need to select Mark for removal option

Here you can see the packages are going to be removed and other details here you need to click on apply or press Ctrl + P

Removing package is in progress

Changes are applied successfully windows and click on close

Upgrade a Package Using Synaptic Package Manager

You need to Click Reload or press Ctrl + R to make Synaptic aware of the latest updates.

Now you need to Right-click on the package you want to upgrade and choose Mark for Upgrade from the context menu, or press Ctrl + U.

Once you have finished with your choices, click on Apply in the toolbar or press Ctrl + P.


A dialog box appears with a summary of changes that will be made. Confirm the changes by clicking on Apply.

This will start the download and installation in progress you can see in the following screen

Changes are applied successfully windows and click on close

Search a Package Using Synaptic Package Manager

If you want to search a package you need to click on search option in synaptic tool bar

You should see the following screen asking for package name and select the the option like description or name or both and click on search in this example i am searching for shorewall

You should see the results in the following screen if you want to install these packages you can follow the above procedure

As a front-end to apt,Synaptic uses the system-wide list of software repositories file located at /etc/apt/sources.list file

This tools is very simple to use for new users how to install,remove,upgrade packages

This tutorial is simple tutorial how to use synaptic Package Manager in ubuntu,Debian

Tags: , , , , , , , ,

You may also be interested in...

8 Responses to “Simple Package management with Synaptic Package Manager in Ubuntu”

  1. Dave Whiteman Says:

    I am a 20 year DOS/Windows professional and have only recently loaded Ubuntu as an alternative OS. Your turorials are excellent and have kept me from going back to Win as my main OS.

    Thanks

    Dave

  2. Ken Reed Says:

    Having the screen shots is simple yet brilliant, it made the written instruction even more clear. Well done!

  3. soft Says:

    thanks ,, it`s nice

    thank you very much!!!!

  4. madhu542 Says:

    By giving the images it very easy to use the synatic package manager….thanks a lot….

  5. bisu Says:

    i recently installed ubuntu as an alternative to win.XP but it did not play mp3.
    i was searching for a mediaplayer to run on ubuntu …i did not understand the terminologies used here….-”repositories” bla bla…cant we have a installer pakage like “.exe” instead of all these yada yada..?

  6. Lars Says:

    Thank you very much.
    I am a newbee to Linux, please excuse if the question is silly.
    I installed “Astrolog” for a friend on his Ubuntu.
    Synaptic Package Manager says Status: Installed
    Installed Version 5.40-3
    But I cannot find a shortcut to start the program, searched in all “Applications”, System and so on.

    Thanks!
    Lars

  7. Sandra Says:

    Thanks a bunch from a newbie fleeing Windows

  8. Chris, Hardly a Heron Says:

    Thank you, Logical, clear a masterpiece of Help.
    After 22 years of windows I am a little lost trying to find where everything is. I am now committed to Linux after accidentally destroying my file header tables playing with the Beta iso of Hardy Heron in March! What is overwhelmingly apparent is that Linux devotees have Help files that actually help!!!! so it is a journey of exploration after twenty two years of exploitation. Bless you God is on your side. If you don’t like him you will definitely have the force.
    Now, how the hell does Myth TV work and where the blue blazes am I going to find drivers from for my Olispaghetti Artjet 10? I don’t think.
    Good luck, live long and perspire Chris……Hardly a Heron.

  9. Neelesh Says:

    Thank you

    you screen shots and description about them helps a lot to make things working in Ubuntu for Newbie like me.

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

WidgetBucks - Trend Watch - WidgetBucks.com

Related Links:


WidgetBucks - Trend Watch - WidgetBucks.com

Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.