How to install multiple packages with pacman?
Hi ,
I guess it's a pretty noobish question but I wonder how to install multiple packages
that have the same prefix with Pacman.
To make myself more clear, I like to install all gstreamer packages and for that I would
like something similar to
pacman -S gstreamer10*
Is there a command that does something like this available? Found nothing in the man pages.
Maybe some tricky stuff with pipes?
sH wrote:Hi ibendiben,
thanks for your help, but I'm afraid, it does not work
I'm so sorry, my fault, I couln't test it, and made some big mistakes.
This time it's working:
pacman -S $(pacman -Ss gstreamer0.10 | sed -n 's#^\([^/]*/gstreamer0.10[^ ]*\) .*$#\1#p')
Similar Messages
-
Installing multiple packages with pkgadd...
hi there,
sorry about this silly question but I am having some problem to install multiple packages with pkgadd. Basically I have packages with this form "apache-2.4.3-sol10-sparc-local" and not with pkg extension. So, checking the man page pkgadd -d /packages/dire/ all suppose to work, but it doesn't.
I am sure I am doing a very simple error but couldn't figure out.
It will be appreciated if someone help.
Cheers!Hi.
pkgadd -d - used for install many packeges from one location.
location may be:
1. Directory
2. Separete file.
You have many files that contetns packages. You can't do it with one commands, or you should previos converst all packages to one file ( man pkgtrans).
You should use command:
pkgadd -d <path>/apache-2.4.3-sol10-sparc-local all
pkgadd -d <path>/gmp-4.2.1-sol10-sparc-local all
pkgadd -d <path>/libtool-2.4.2-sol10-sparc-local all
pkgadd -d <path>/ readline-6.2-sol10-sparc-local all
pkgadd -d <path>/coreutils-8.19-sol10-sparc-local all
pkgadd -d <path>/libgcc-3.4.6-sol10-sparc-local all
pkgadd -d <path>/openldap-2.4.32-sol10-sparc-local all
pkgadd -d <path>/sasl-2.1.25-sol10-sparc-local all
pkgadd -d <path>/db-4.7.25.NC-sol10-sparc-local all
pkgadd -d <path>/libiconv-1.14-sol10-sparc-local all
pkgadd -d <path>/openssl-1.0.1c-sol10-sparc-local all
pkgadd -d <path>/sqlite-3.7.13-sol10-sparc-local all
pkgadd -d <path>/expat-2.0.1-sol10-sparc-local all
pkgadd -d <path>/libintl-3.4.0-sol10-sparc-local all
pkgadd -d <path>/pcre-8.31-sol10-sparc-local all
pkgadd -d <path>/zlib-1.2.7-sol10-sparc-local all
Regards.
Edited by: Nik on 22.10.2012 4:06 -
[SOLVED] How to install AUR packages with patchname.patch
Hi all,
I'm trying to install lottanzb from the AUR and there's are a dependency called par2cmdline 0.4-13 that has a lot of nameofpatch.patch that are included in the AUR par2cmdline 0.4-13 package page that just open up to a url that shows code.
I created patch files from the code displayed in the url with a text editor and added them to the extracted LOTTANZB folder in my build directory but when I go to build the package with PKGBUILD it runs through a check sum while building and the checks don't match.
I'm obviously doing something fundamentally wrong here. Can someone direct me?
Thanks,
Last edited by bennylb0 (2010-05-28 13:30:16)Hi, thanks for reply.
Sorry, my mistake.
I did place patch files inside the par2cmdline-0.4 folder. The only reason I created the .patch files and placed them inside par2cmdline-0.4 folder was because the PKGBUILD as well as the other 5 .patch files didn't exist inside the extracted build folder. They only place I could find them was in AUR par2cmdline-0.4 displayed as a url.
When I copied and created the PKGBUILD as it did not exist inside the extracted folder par2cmdline-0.4 folder I received the following error:-
Error autoconf.patch was not found in the build directory and is not a url. That along with 4 others do not exist in the build directory.
You can see this bellow:-
[ben@ben par2cmdline-0.4]$ makepkg
==> Making package: par2cmdline 0.4-13 i686 (Fri May 28 22:08:21 EST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading par2cmdline-0.4.tar.gz...
--2010-05-28 22:08:23-- http://downloads.sourceforge.net/source … 0.4.tar.gz
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/projec … 0.4.tar.gz [following]
--2010-05-28 22:08:23-- http://downloads.sourceforge.net/projec … 0.4.tar.gz
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://transact.dl.sourceforge.net/proj … 0.4.tar.gz [following]
--2010-05-28 22:08:24-- http://transact.dl.sourceforge.net/proj … 0.4.tar.gz
Resolving transact.dl.sourceforge.net... 202.55.147.10
Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 239312 (234K) [application/x-gzip]
Saving to: "par2cmdline-0.4.tar.gz.part"
100%[===================================================>] 239,312 179K/s in 1.3s
2010-05-28 22:08:26 (179 KB/s) - "par2cmdline-0.4.tar.gz.part" saved [239312/239312]
==> ERROR: par2cmdline-0.4-autoconf.patch was not found in the build directory and is not a URL. -
[Solved]Cannot install any package with pacman
Hi,
today i tried a system update via pacman -Syu and i get these error messages
Konnte Datei 'curl-7.19.6-1-i686.pkg.tar.gz' nicht von ftp.archlinux.org übertragen : File unavailable (e.g., file not found, no access)
so it seems that these files are not on the servers
i have already tried different mirrors even the archlinux.org one
Last edited by kanim (2009-08-18 09:08:19)It is fixed. You just need to be patient and wait for the mirrors to resync. As many mirrors need to resync all the repo packages, there are not enough bandwidth for all the mirrors. So it will take some time. ftp.archlinux.org is a mirror just like the other ones. The only difference is that we are the ones in charge of it.
For details on what happened, see:
http://archlinux.me/brain0/2009/08/16/s … l-scripts/ -
[SOLVED] Cannot install any package thru pacman
I cannot install any package thru pacman
when i try to install the package with pacman -S,
I started getting error when my sytem crashed and i have to forcefully switch off my laptop through power button
after that when i install anything from pacman i got following error:
[tan@ARCH ~]$ sudo pacman -S shotwell
Password:
warning: shotwell-0.9.3-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): shotwell-0.9.3-1
Total Download Size: 0.00 MB
Total Installed Size: 9.12 MB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [##########] 100%
(1/1) checking for file conflicts [##########] 100%
(1/1) upgrading shotwell [##########] 100%
ldconfig: File /usr/lib/libgexiv2.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libgexiv2.so.0 is empty, not checked.
ldconfig: File /usr/lib/libgexiv2.so is empty, not checked.
ldconfig: File /usr/lib/libraw.so is empty, not checked.
ldconfig: File /usr/lib/libraw.so.2 is empty, not checked.
ldconfig: File /usr/lib/libraw_r.so.2 is empty, not checked.
ldconfig: File /usr/lib/libraw.so.2.0.1 is empty, not checked.
ldconfig: File /usr/lib/libraw_r.so is empty, not checked.
ldconfig: File /usr/lib/libraw_r.so.2.0.1 is empty, not checked.
Thanks in advance
Last edited by tan (2011-05-29 05:45:28)Thank God, everything is fixed now:
First, I deleted all these files, then i follows the following procedure
1. For libgexiv2 file i upgraded 'xorg-server, xorg-xinit, xorg-utils, xorg-server-utils' from pacman
# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
2. For libraw file i upgraded 'libraw' from pacman
# pacman -S libraw
There will be some conflicting files
After deleting some conflicting files it solves the problem and restore all the 'lib' file. -
How can I install multiple packages in one time?
I use Software Update on this PowerBook to download, keep the packages and install onto my 3 Mac's.
The question is how can I install multiple packages (update stuff) in one time (as we can do with Remote Desktop)? Just to save my time from retarting the machines for every single (required) packages.
Many thanks, and happy new year.320/2766
Happy New Year Ekapon,
Instead of downloading the packages in advance,
check (Software Update default) every software you need, then choose "Install & Keep Package" from the Install menu.
This will install everything without needing to update prebindings and restart between each installation.
Axl -
Downloading package with pacman, how many threads?
When I download packages with pacman it start at slow speed and then goes up, this produces some kind of delay between downloads, especially for lots of small packages. I know this can feel like not a big problem, but you know, comparing with yum centos it seems kinda slow, seems like pacman download packages 1 thread at a time while yum it is like multi threaded because every package is downloaded consequentially without speed loss. Is there somekind of tweak for this?
Last edited by natostanco (2012-04-28 10:16:13)There's a nice entry in the wiki about this, although I'd use Xyne's pm2ml instead of powerpill-light. https://wiki.archlinux.org/index.php/Im … oad_Speeds http://xyne.archlinux.ca/projects/pm2ml/
-
How To Install Multiple OBIEE Instances On One Linux Machine
Hi,
OS: Red Hat ES 5.2
OBIEE : 10.1.3.4
We one development server(Linux) where one OBIEE 10.1.3.4 was installed with os user as 'ora1a' (Deployed on Oracle Application Server 10.1.3.4)
and now I have installed OBIEE 10.1.3.4 on same Linux Server with different user(ora2b) and different mount point (Deployed on Another Oracle Application Server 10.1.3.4 )
But My OBIEE was not working and I came to know that only one can be working by default.
After following few notes i have update NQSConfig.inc and odbc.ini with different ports ie from 9704 to 9725 and bounced BI server and presentation server
But still its not working can any one tell me what are all needs to update to make it work
Thanks in advance
Regards,
Bhanu Chander
Reference's i used: HOW TO: Install Multiple OBIEE Instances On One UNIX Machine (Doc ID 605582.1)Hi
I was not much clear about what you are telling
See my first OBIEE instance URL is http://hostname18.oracle.com:7777/analytics (As i deployed OBIEE on Application server 10g(OAS1))
and second one is http://hostname18.oracle.com:7778/analytics (As i deployed OBIEE on another Application server 10g(OAS2))
Also My port for first OBIEE instance is 9704 and second one is 9725(Which i changed to this)
Now tell me what are all i should update
Thanks,
Bhanu Chander -
How to install/add packages to org.apache
hi everyone!
i'm pretty new with Java and i wanted to know how to install a package i downloaded from "http://www.apache.org/dist/jakarta/". the package name is poi and i have no clue how to do it so i'll be able to import some classes from it in my code... (i tried to just paste it the file src.zip at the location org/apache but it didn't worked)
thanks for you help,
shimon ;)"install" isn't really the right word. You'll have to learn to think differently about JARs in Java. because you don't "install" them and your apps don't get access to them via the operating system. They're more like dynamic link libraries or DLLs in Windows parlance.
What you should do is figure out what a standard directory structure for all your applications will be, maybe something like this:
application
+
+------source (put your .java source files in their package structure under here)
+------lib (put your 3rd party JAF files under here)
+------classes (compile your .class files to this directory)
So in this case you'd put the POI JAR under /lib for your project. Tell Eclipse that /source is where it should expect to find all the .java file, that /class is the output directory for all compilations. Right click on the project folder, select "Properties", and add all the JARs to the build class path. Then you'll be all set with Eclipse.
Tell Eclipse that application is the root of your project. Tell -
Installing "dummy" packages in pacman
I have an issue, and I've searched around, but found nothing. So here goes
Say a situation where I'd like to (or have to) install a piece of software without going though pacman, but still like it to be implemented in the database of pacman, so other PKGBUILDs will be aware that my dependency actually is there. I've heard about wocka in AUR, but it didn't work/compile on my Arch64 setup. I've made some "emtpy" packages by hand to counter this problem, but that is tedious. What I could use is something like:
pacman -D (dummy package ) mplayer, that simply installs an "empty" mplayer package. If this exists already, in a script or a hidden function in pacman, I'd be happy If it doesn't I could start freshing up my bash-skills >_<
Last edited by Themaister (2008-12-15 15:50:55)Well... I created a script now that covers it pretty much
usage:
dummypkg -S foo version installs a dummy pkg with pkgver=version, a file that resembles the package name and version in /etc/dummy (uses sudo for pacman)
dummypkg -R foo checks if foo has been installed by dummypkg and removes it with pacman
dummypkg -l lists all packages and package versions of all packages installed by dummypkg
temporary building is done in ~/.dummypkg-tmp/
#!/bin/bash
## Dummypkg v0.1
## Script to install dummy packages in pacman
## Use at own risk!
function install(){
if [ -d ~/.dummybuild-tmp/$PACKAGE ]; then
rm -r ~/.dummybuild-tmp/$PACKAGE
fi
mkdir -p ~/.dummybuild-tmp/$PACKAGE
echo "pkgname=$PACKAGE" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgver=$PKGVER" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgrel=1" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "pkgdesc=\"Dummy package created by dummypkg\"" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "arch=('i686' 'x86_64')" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "url=""" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "license=\"GPL\"" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "depends=()" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "source=()" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "build(){" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "mkdir -p ~/.dummybuild-tmp/$PACKAGE/pkg/etc/dummy" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "echo >> \"Installed by dummypkg\" >> ~/.dummybuild-tmp/$PACKAGE/pkg/etc/dummy/$PACKAGE-$PKGVER" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
echo "}" >> ~/.dummybuild-tmp/$PACKAGE/PKGBUILD
cd ~/.dummybuild-tmp/$PACKAGE/
makepkg || exit 1
sudo pacman -U *pkg.tar.gz
cd ~
rm -r .dummybuild-tmp/
exit 0
function remove(){
if [ -e /etc/dummy/$RPACKAGE* ]; then
sudo pacman -R $RPACKAGE
else
echo "This package is not installed by dummypkg ... Exiting"
exit 1
fi
exit 0
function list(){
for file in `ls /etc/dummy -1`
do
echo ">> $file"
done
exit 0
function usage(){
echo "usage: info [[--install] [--list] [--help] [--remove] [--version]]"
exit 0
INSTALL=0
REMOVE=0
LIST=0
if [ "$1" = "" ]; then
usage ; exit 1
fi
while [ "$1" != "" ]; do
case $1 in
-S | --install )
INSTALL=1
PACKAGE="$2"
PKGVER="$3"
if [ "$2" = "" ]; then
echo "--install requires a package name"
exit 1
fi
if [ "$3" = "" ]; then
echo "--install requires a package version"
exit 1
fi
shift
shift
-R | --remove )
REMOVE=1
RPACKAGE="$2"
if [ "$2" = "" ]; then
echo "--remove requires a package name"
exit 1
fi
shift
-h | --help ) usage; exit 0 ;;
-l | --list ) LIST=1 ;;
* ) usage ; exit 1
esac
shift
done
if [ $INSTALL = 1 ]; then
install
fi
if [ $REMOVE = 1 ]; then
remove
fi
if [ $LIST = 1 ]; then
list
fi
Last edited by Themaister (2008-12-15 18:26:26) -
How to install a package from a disc
i have the file sudo-1.7.2p3.tar on a disk and i need to know how to install a package from a cd, what lines do i need to type to install it?:|
If you are running as root, you can execute that command as ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o and there is no need for sudo.
Btw, what wireless card is this? Have you tried searching for a pacman package for it?
To access the cd drive, use the mount command. Enter man mount to read the manual. (I assume you do not have a graphical environment set up yet.)
Last edited by fsckd (2010-05-12 04:37:52) -
How to Install UTL_SMTP Package in Oracle 8.1.5
Hi
We are trying to use UTL_SMTO package to send mail.
Will this package runs in Oracle 8.1.5? Any restriction on using this package?
How to install this package? Where the SQL for this package is residing.
If anyone can answer for this, we will be thankfull to you.
regards
SanthoshHi,
Run d:/oracle/ora81/rdbms/admin/utlsmtp.sql as SYS user. It create the package UTL_SMTP.
Hope this helps.
rukmini -
How to install solaris 8 with a nvidia M64 agp ?
How to install solaris 8 with a nvidia M64 agp ?
Use kdmconfig. Make sure your running MU3 or greater because there are some patches
specific to the M64 cards that are needed to run in the hi res modes.
---Bob -
How to Open multiple form with only one screen painter file
Hi all ,
I want to reopen the form without closing the active form ,i want to use same srf file ..
I have already try it but form already exist error occur .
pl help me , how to do it ?
how to open multiple form with same srf file without closing active forms .
thanks in advance,
msw<?xml version="1.0" encoding="utf-16" ?>
<Application>
<forms>
<action type="add">
<form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
<datasources>
<dbdatasources>
<action type="add">
</action>
</dbdatasources>
<userdatasources>
<action type="add"/>
</userdatasources>
</datasources>
<Menus>
<action type="enable">
<Menu uid="1282"/>
</action>
<action type="disable">
<Menu uid="5890"/>
</action>
</Menus>
<items>
</items>
<ChooseFromListCollection>
<action type="add">
<ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>
</action>
</ChooseFromListCollection>
<DataBrowser/>
<Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
</form>
<form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE1" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
<datasources>
<dbdatasources>
<action type="add">
</action>
</dbdatasources>
<userdatasources>
<action type="add"/>
</userdatasources>
</datasources>
<Menus>
<action type="enable">
<Menu uid="1282"/>
</action>
<action type="disable">
<Menu uid="5890"/>
</action>
</Menus>
<items>
</items>
<ChooseFromListCollection>
<action type="add">
<ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>
</action>
</ChooseFromListCollection>
<DataBrowser/>
<Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
</form>
</action>
</forms>
</Application> -
How to call a package with ADO?
I have designed a package which include a procedure. And I have a program coded in ASP.
How to call this package with ADO. Please give a sample.Hi,
I persume that you are facing this problem when u try to code in VB. If that is the case here comes the code.........
OraDatabase.Parameters.Add "A_NBR_NEWSID", A_NBR_NEWSID, ORAPARM_INPUT, 2
OraDatabase.Parameters.Add "A_NBR_TOPICID", A_NBR_TOPICID, ORAPARM_INPUT, 2
OraDatabase.Parameters.Add "A_NBR_USERID", A_NBR_USERID, ORAPARM_INPUT, 2
OraDatabase.Parameters.Add "result", 0, ORAPARM_OUTPUT
OraDatabase.Parameters("result").serverType = 2
OraDatabase.ExecuteSQL ("declare result Number; Begin :result := PKG_CONTENT_MANAGEMENT.FUN_GET_NEWS_PERM_BY_USERID(:A_NBR_NEWSID, :A_NBR_TOPICID, :A_NBR_USERID); end;")
OraDatabase.Parameters.Remove "A_NBR_NEWSID"
OraDatabase.Parameters.Remove "A_NBR_TOPICID"
OraDatabase.Parameters.Remove "A_NBR_USERID"
FUN_GET_NEWS_PERM_BY_USERID = OraDatabase.Parameters("result").Value
OraDatabase.Parameters.Remove "result"
Hope this clear your doubt..
Raj
Maybe you are looking for
-
How to install ftp service on the system?
OS: SuSE Linux Enterprise Server 8 How to install ftp service on the system? How to check and modify to use it? I am not able to use FTP. Regards, D
-
I upgraded to a Droid Maxx about 2 weeks ago and all seemed well. Last Friday, I started receiving an "Unfortunately, Messaging has stopped" error message randomly--sometimes when I was writing a text, sometimes when I would open other apps, there wa
-
Plz Help me in Image & BufferedImage conversion
Hello Every One, I want to convert a Image object to one of its subclass BufferImage Direct conversion is not allowed. Image i;// BufferedImage bi; bi = (BufferedImage)i; This is run time exception. Please Tell me how can i perform this conversion. T
-
the computer shows grey screen with apple and wheel below when switching on but does not move on from there. Does anybody know the problem?
-
I have elements 9. I received directions and unloaded the Inspiration Browser. Now I cannot download the new browser.