Question about Computers & Internet

1 Answer

How to install package manager in ubuntu? - Computers & Internet

Posted by on

Ad

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Expert
  • 128 Answers

A package manager is a program that installs and uninstalls software, and keeps track of all the components each piece of software needs.

Dpkg is the Ubuntu package manager dpkg is a medium-level tool to install, build, remove and manage Ubuntu packages. The primary and more user-friendly front-end for dpkg is dselect.dpkg itself is controlled entirely via command line parameters,which consist of exactly one action and zero or more options. The action-parameter tells dpkg what to do and options control the behavior of the action in some way.
Now we will see all the available commands for dpkg with examples
1) Install a package
Syntax
dpkg -i <.deb file name>
Example
dpkg -i avg71flm_r28-1_i386.deb
2) Install all packages recursively from a directory
Syntax
dpkg -R
Example
dpkg -R /usr/local/src
3) Unpack the package, but don’t configure it.
Syntax
dpkg --unpack package_file
If you use -R option is specified, package_file must refer to a directory instead.
Example
dpkg --unpack avg71flm_r28-1_i386.deb
4) Reconfigure an unpacked package
Syntax
dpkg --configure package
If -a is given instead of package, all unpacked but uncon-figured packages are configured.
Example
dpkg --configure avg71flm_r28-1_i386.deb
5) Remove an installed package except configuration files
Syntax
dpkg -r
Example
dpkg -r avg71flm_r28-1_i386.deb
6) Remove an installed package including configuration files
Syntax
dpkg -P
If you use -a is given instead of a package name, then all packages unpacked, but marked to be removed or purged in file /var/lib/dpkg/status, are removed or purged, respectively.
Example
dpkg -P avg71flm
7) Replace available packages info
Syntax
dpkg --update-avail <Packages-file>
With this option old information is replaced with the information in the Packages-file.
how to install package manager in ubuntu? - icon_cool.gif Merge with info from file
Syntax
dpkg --merge-avail <Packages-file>
With this option old informa-tion is combined with information from Packages-file.
The Packages-file distributed with Debian is simply named Packages.dpkg keeps its record of available packages in /var/lib/dpkg/available.
9) Update dpkg and dselect’s idea of which packages are available with information from the package pack-age_file.
Syntax
dpkg -A package_file
10) Forget about uninstalled unavailable packages.
Syntax
dpkg --forget-old-unavail
11) Erase the existing information about what packages are available.
Syntax
dpkg --clear-avail
12) Searches for packages that have been installed only partially on your system.
Syntax
dpkg -C
13) Compare Package versions version numbers
Syntax
dpkg --compare-versions ver1 op ver2
14) Display a brief help message.
Syntax
dpkg --help
15) Display dpkg licence.
Syntax
dpkg --licence (or) dpkg --license
16) Display dpkg version information.
Syntax
dpkg --version
17) Build a deb package.
Syntax
dpkg -b directory [filename]
18) List contents of a deb package.
Syntax
dpkg -c filename
19) Show information about a package.
Syntax
dpkg -I filename [control-file]
20) List packages matching given pattern.
Syntax
dpkg -l package-name-pattern
Example
dpkg -l vim
21) List all installed packages, along with package version and short description
Syntax
dpkg -l
22) Report status of specified package.
Syntax
dpkg -s package-name
Example
dpkg -s ssh
23) List files installed to your system from package.
Syntax
dpkg -L package-Name
Example
dpkg -L nagios2
24) Search for a filename from installed packages.
Syntax
dpkg -S filename-search-pattern
Example
dpkg -S /sbin/ifconfig
25) Display details about package
Syntax
dpkg -p package-name
Example
dpkg -p nagios2

Please check if this is any help for you.

Regards.

Posted on Jun 04, 2010

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of.(from cars to computers, handyman, and even drones)
click here to download the app (for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Can I get My Computer icon in Ubuntu 11.10


There is no My computer icon in KDE.
On the task bar click the K with the Gear. Explore the Favorites menu. Make sure that the Dolphin file explorer is there. By clicking Dolphin your Home folder will open.
You can also add a widget on the desktop. Point to some empty space on the desktop. Right click the mouse button then select Add widgets. At the bottom of the screen some windows open. In the categories, look for file sytem. Choose and enter. A widget of your home will be displayed.

One advice. I think you should run the Synaptic Package. Manager to make sure you get all necessary packages for KDE. In the QuickFilter text area enter KDE. All packages that relate to KDE will be displayed. Explore to see if there is something you need that was not installed.
Select all the packages you want. Any package required for the one you selected will be chosen for installation.

Dec 14, 2012 | Canonical Ltd. Ubuntu

Tip

1) Are there any programs for Ubuntu (type: DAEMON Tools, Alcohol or Virtual...


1) Are there any programs for Ubuntu
(type: DAEMON Tools, Alcohol or Virtual Disk in Windows)
that will allow me to easily handle my: ISO, IMG, BIN, MDF,NRG , Image files?

2) I want easy to install such a program and immediately using it?

3) Gmount-iso and Furius ISO Mount provide everything we need.
We'll add it to Ubuntu in the following way:

(1.A)Gmount-iso:


b3e3685.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
gmountiso

2) Run Gmount-iso
Applications-> System Tools> Gmount-iso

(1.B) Furius ISO Mount:

c8fda3a.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
furiusisomount

2) Run Furius ISO Mount
Applications-> System Tools> Furius ISO Mount

4)You can start using your image files in a simple manner.

on Jan 14, 2010 | Computers & Internet

Tip

Mount CD DVD images - Ubuntu


1) Are there any programs for Ubuntu
(type: DAEMON Tools, Alcohol or Virtual Disk in Windows)
that will allow me to easily handle my: ISO, IMG, BIN, MDF,NRG , Image files?

2) I want easy to install such a program and immediately using it?

3) Gmount-iso and Furius ISO Mount provide everything we need.
We'll add it to Ubuntu in the following way:

(1.A)Gmount-iso:


b3e3685.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
gmountiso

2) Run Gmount-iso
Applications-> System Tools> Gmount-iso

(1.B) Furius ISO Mount:

c8fda3a.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
furiusisomount

2) Run Furius ISO Mount
Applications-> System Tools> Furius ISO Mount

(1.C)You can start using your image files in a simple manner.

on Jan 13, 2010 | Computers & Internet

1 Answer

How do you operate Verbiste software from Ubuntu Linux


you need the Linux version first.
http://pkgs.org/ubuntu-12.04/ubuntu-universe-i386/verbiste-gnome_0.1.33-3_i386.deb.html
this is a 386 package or (32bit) download and install with Software manager. It will tell you if anything is needed to install. Look for it in your menu Enjoy

Dec 06, 2012 | Canonical Ltd. Ubuntu

1 Answer

Cannot down load antivirus does not have control panel ubuntu linux model xg843


For Ubuntu on PC's with Gdm running, Click the System menu, then Administration, Synaptic Package Manager.
When Synaptic opens, type Anti virus in the quick search field and press Enter. If there is an antivirus for the distribution, you will see it in the list (clamav). Right click the name, select mark for installation and click Apply in the tool bar. It will be downloaded and installed.

If you are running Kdm, look for Synaptic or package manager (kpackage) and do with it as with Synaptic in GDM.

Feb 20, 2010 | HP Computers & Internet

1 Answer

How do i upgrade the OS of eee PC 900A to a netbook ubuntu 9.10?


download the image of ubuntu put it on a stick here you have two option uninstal the old OS or update if you want to update:
To upgrade from Ubuntu 9.04 on a desktop system, press Alt+F2 and type in "update-manager -d" (without the quotes) into the command box. Update Manager should open up and tell you: New distribution release '9.10' is available. Click Upgrade and follow the on-screen instructions.

To upgrade from Ubuntu 9.04 on a server system: install the update-manager-core package if it is not already installed; edit /etc/update-manager/release-upgrades and set Prompt=normal; launch the upgrade tool with the command sudo do-release-upgrade; and follow the on-screen instructions.more info on:http://www.ubuntu.com/testing/karmic/alpha1

Nov 23, 2009 | ASUS Eee Netbook

1 Answer

E: system-tools-backends: subprocess post-installation script returned error exit status 1 this is ma error where i m not able to updatee my packages


You can try this:
System-->Administration-->Synaptic Package Manager-->Edit-->Fix Broken Packages

If that doesn't work try reinstalling the package from this webpage:
http://seclists.org/bugtraq/2008/Nov/0037.html

Mar 26, 2009 | Canonical Ltd. Ubuntu

3 Answers

Ubuntu Flash Problem


Actually, ubuntu does have flash. You need to just open mozilla firefox, and then go to a site that requires flash like deezer.com or shockwave.com, then click on the yellow bar that appears on top that says "Install additional plugins", and a prompt will appear that will guide you to install flash. After the install, you can try to restart firefox and flash should be working well and good. Or you can open up synaptic package manager and enable the nonfree repository, then download the flashplugin-nonfree package.

Sep 09, 2008 | Canonical Ltd. Ubuntu

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

124 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...