You are not logged in.

#1 2010-11-17 13:27:24

vonGris
Member
Registered: 2010-11-17
Posts: 8

Install packages from USB? [Solved]

I just installed Arch and haven't used the terminal that much before. I try to install a driver for the wifi and NetworkManager to get internet access.
I have a USB dongle with 3 mobile broadband and a wireless card. I can borrow my neighbours wireless internet.

To the problem:
I have Networkmanager on a USB stick. To install I write:

pacman -U /mnt/sdb1/NetworkManager-0.8.2.tar.gz

I have the USB mounted at sdb1. I get an error "missing meta package".
Is this the right command?

I assume it's a really basic question but I got stuck on this one.:/

Last edited by vonGris (2010-11-17 14:52:39)

Offline

#2 2010-11-17 13:41:25

Halcyon22
Member
Registered: 2010-07-30
Posts: 33

Re: Install packages from USB? [Solved]

is that the source code or a package? Did you download the package from here? http://www.archlinux.org/packages/extra … rkmanager/

Offline

#3 2010-11-17 13:52:26

vonGris
Member
Registered: 2010-11-17
Posts: 8

Re: Install packages from USB? [Solved]

Halcyon22 wrote:

is that the source code or a package? Did you download the package from here? http://www.archlinux.org/packages/extra … rkmanager/

I downloaded from http://projects.gnome.org/NetworkManager/.
NetworkManager-0.8.2.tar.gz is the package.
What I wrote within the code tags is what I wrote at the prompt. (It shouldn't be inside code tags?)

Offline

#4 2010-11-17 14:51:35

vonGris
Member
Registered: 2010-11-17
Posts: 8

Re: Install packages from USB? [Solved]

Thanks Halcyon22
I have tried to install the wrong packages:)

Thought it should be fine with any Linux package.

Offline

#5 2010-11-17 14:53:35

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Install packages from USB? [Solved]

What you downloaded is the source code, you need to download the binary from an arch mirror. (list of mirrors in /etc/pacman.d/mirrorlist)

Last edited by ChoK (2010-11-17 14:53:49)


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#6 2010-11-17 15:00:59

vonGris
Member
Registered: 2010-11-17
Posts: 8

Re: Install packages from USB? [Solved]

ChoK wrote:

What you downloaded is the source code, you need to download the binary from an arch mirror. (list of mirrors in /etc/pacman.d/mirrorlist)

I see, but it I have the source code, is it possible to compile it into a binary file?

Offline

#7 2010-11-17 17:33:06

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Install packages from USB? [Solved]

https://wiki.archlinux.org/index.php/Makepkg
http://wiki.archlinux.org/index.php/Arch_Build_System
http://wiki.archlinux.org/index.php/Arc … Repository

First thing to know about Arch is everything is in the wiki and it should be your primary destination when you encounter a problem.
Also arch packages are pretty much vanilla and are almost always the latest so no need to compile them yourself usually. And if you need to compile in a special feature, most likely you will find a packaging script called PKGBUILD in the aur. Check the link I gave you, they will guide you through compiling source package.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

Board footer

Powered by FluxBB