What does | sign mean between two packages? For example, as in:
foomatic-db-compressed-ppds | foomatic-db
wget | curl
Thanks.
packages: what does | sign mean between two packages
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
packages: what does | sign mean between two packages
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: packages: what does | sign mean between two packages
This is called piping and in a script it essentially means you want the result of the preceeding command sent to the next command. Is this what you mean?
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: packages: what does | sign mean between two packages
Thanks brokenman.
In fact, after seing more of these packages on package list files, I have the impression that it means that you could use one or the other packag as equivalents.
But I am not still sure.
In fact, after seing more of these packages on package list files, I have the impression that it means that you could use one or the other packag as equivalents.
But I am not still sure.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: packages: what does | sign mean between two packages
Sorry, i misunderstood your question. The 'pipe' in a package list of dependencies means that the package following the '|' is required for building the preceeding package from source. Thus, in your example:
foomatic-db-compressed-ppds | foomatic-db, foo-client, foo-bar
This would mean that foomatic-db is required to build foomatic-db-compressed-ppds. This may vary from distro to distro but in slackware this is the case.
foomatic-db-compressed-ppds | foomatic-db, foo-client, foo-bar
This would mean that foomatic-db is required to build foomatic-db-compressed-ppds. This may vary from distro to distro but in slackware this is the case.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: packages: what does | sign mean between two packages
If foomatic-db-compressed-ppds is a binary package (.deb), and hence it has already been built, will that mean that foomatic-db, foo-client, foo-bar will be needed to run foomatic-db-compressed-ppd?
Thanks for sharing your knowledge.
Thanks for sharing your knowledge.
Prendre son temps, profiter de celui qui passe.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: packages: what does | sign mean between two packages
Code: Select all
PACKAGE NAME: libmatecomponentui-1.4.0-x86_64-1gv.txz
PACKAGE LOCATION: ./salix/mate
PACKAGE SIZE (compressed): 306 K
PACKAGE SIZE (uncompressed): 1224 K
PACKAGE REQUIRED: alsa-lib,atk,audiofile,bzip2,cairo,cxxlibs|gcc-g++,dbus,dbus-glib,esound,expat,fontconfig,freetype,gcc,gdk-pixbuf2,glib2,gtk+2,libICE,libSM,libX11,libXau,libXcomposite,libXcursor,libXdamage,libXdmcp,libXext,libXfixes,libXi,libXinerama,libXrandr,libXrender,libart_lgpl,libcanberra,libffi,libglade,libmate,libmatecanvas,libmatecomponent,libogg,libpng,libtool,libvorbis,libxcb,libxml2,mate-conf,mate-corba,mate-vfs,openssl-solibs|openssl,pango,pixman,popt,util-linux,xz,zlib
Code: Select all
openssl-solibs|openssl
i would say that in this case '|' means 'or'.
Please add [Solved] to your thread title if the solution was found.