top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are virtual packages in Linux?

0 votes
409 views

I am trying to run some example libreoffice python scripts and getting errors.

Google suggests that one possible reason is that libreoffice-script-provider-python is not installed. It is not listed in Synaptic. This page virtual package says that it is a virtual package provided by python-uno. Does this mean?

posted Sep 9, 2014 by Abhay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

A 'virtual package' is a package that does not install any files itself, but instead is dependent on some related 'set' of packages. That is, when you install it, apt-get (or aptitude) installs a group of packages. It is a convience hack. Rather than tell people:

apt-get install foo bar baz whatever mumble liba libb libq

you can instead tell people:

apt-get install interesting-package

'interesting-pacakge' lists foo, bar, baz, whatever, mumble, liba, libb, and libq as packages it depends on.

answer Sep 9, 2014 by Sheetal Chauhan
Similar Questions
+5 votes
+3 votes

I plan to update my web server doing the following:

  • make a snapshot
  • change the linux repositories
  • make the upgrade

once I'm sure all is nice, delete the snapshot

Is it the good way? (I have all the space needed on the disk)

+2 votes

For many years, I used nothing but various flavours of linux (most recently, Linux Mint). I was so used to installing stuff using package managers (apt-get and yum). It was so easy, for example, to get the LAMP stack up and running.

I recently switched to a Mac, and I suddenly miss the familiar apt-get. Some packages come as .pkg, others as .dmg and lots without any package (for example, apache or php). For these, I have to use pseudo package managers such as Macports or Homebrew.

My question is: which is the best way to install various open-source packages on a Mac?

...