You are not logged in.
Yes you do.
Sorry for the dum question,
Do I need to have internet connection to use pacman?
Thanks
The reason I ask is because I need madwifi for my wireless and Arch does not allow me to install this file using pacman -A ......
Last edited by viga (2008-10-29 03:30:58)
Offline
Pacman -A will load any package... (pkg.tar.gz) that you have in your cache or local repo.
It must be identified as .pkg .tar.gz with full version info
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
well, unless you have the full install cd pacman will need to access the internet to pull the file you require.
if you do have the cd, mount the cd, browse for the file you are looking for and run pacman -A and that should give you what you need.
otherwise you will have to find a way to get the file off the internet or other media.
Offline
Use pacman -U. I'm not sure -A is still current.
It's certainly possible to install packages this way without Internet.
Offline
How do I add a package to my cache or local repo? I have the madwifi tar in my home directory, I tried to installed from there and it did not work.
Thanks
Offline
How do I add a package to my cache or local repo? I have the madwifi tar in my home directory, I tried to installed from there and it did not work.
Thanks
Why don't you show us what you typed and what the error was?
Offline
I typed under root pacman -A madwifi.....tar.gz
The error that came back is package name is not valid
Offline
As already stated, the tarball must be a correctly-built Arch package - e.g. madwifi-0.9.3-5.pkg.tar.gz, which is the current madwifi module package for kernel26. You cannot install an upstream source tarball with pacman - if that is what you have, you need to use makepkg to create the Arch package first.
Offline
As I indicated the ID for the package in the ...pacman -A ......command must include the full version info...
This typically .....arts-1.5.7-1.pkg.tar.gz as an example.
AFAIK madwifi is a PKGBUILD and the install is made with ....pacman -A (complete ID for the package as generated from the PKGBUILD).
This will install the pacman package...typically I copy the ID and paste into the command line.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Thanks tomk and lilsirecho,
now I need to figure out how to build the package using PKGBUILD. Any sugestions here?
Thanks again
Offline
A PKGBUILD is build with makepkg, read the man page and if you still have questions about the usage you can ask them here.
The -A switch for pacman is deprecated, as stated in the man page, use -U instead.
Offline
Any particular reason for not using the already built package in extra ?
http://archlinux.org/packages/search/?q=madwifi
You can get it from any mirrors, for example :
ftp://ftp.belnet.be/packages/archlinux/ … pkg.tar.gz
Btw, pacman has a feature which might be useful :
pacman -Sp madwifi ~
resolving dependencies... done.
http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-utils-0.9.3.1-1.pkg.tar.gz
http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-0.9.3.1-1.pkg.tar.gz
madwifi depends on madwifi-utils, so you'll want to download this package too.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline