LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2012, 05:33 PM   #1
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,030

Rep: Reputation: 94
how do I install individual packages?


Hello. I am setting up archbang on an old laptop that does not have internet access (the network card is broken on it). So, rather than using its package manager (pacman?) I'm hoping to download packages on another computer, and then save these to a usb-stick, and then transfer these and install them to this old laptop.

On Debian (which I'm familiar with) you use "dpkg -i" rather than synaptic or aptitude or apt-get. On Vector you use "installpkg" rather than Gslapt. What command do you use on Arch (or ArchBang, if it's different)?
 
Old 11-30-2012, 06:09 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I think you can simply tell pacman to use a local disk instead of an online repository. Try the arch wiki for the procedure.
 
Old 11-30-2012, 09:50 PM   #3
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,030

Original Poster
Rep: Reputation: 94
Local disk would be good. On Debian there are disks that one can download, and then add via "apt-cdrom add". It would be good if Arch had a similar option.
 
Old 12-04-2012, 03:42 AM   #4
na12
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
pacman -U /full/path/to/package
 
Old 12-08-2012, 05:09 PM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
pacman -Syu # Synchronize with repositories before upgrading packages that are out of date on the local system.
pacman -S # Install specific package(s) from the repositories
pacman -U # Install specific package not from the repositories but from a file
pacman -Sw # Download a package without installing it
pacman -R # Remove the specified package(s), retaining its configuration(s)and required dependencies
pacman -Rns # Remove the specified package(s), its configuration(s)and unneeded dependencies
pacman -Si # Display information about a given package in the repositories
pacman -Ss # Search for package(s) in the repositories
pacman -Qi # Display information about a given package in the local database
pacman -Qii # Also display the list of backup files and their modification states
pacman -Qs # Search for package(s) in the local database
pacman -Ql # Retrieve a list of the files installed by a package
pacman -Qdt # Show list of packages that are no longer needed
pacman -Qm # Show packages not in repo
pacman -Qo # Query the package which provides FILE
pacman -Sc # clears package cache of uninstalled packages
pacman -Scc # clear the package cache of all packages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squeeze v sid on individual packages, re: bootchart jcress410 Linux - Newbie 2 09-26-2010 12:16 PM
Individual packages hackarre Ubuntu 1 06-26-2007 03:12 AM
How 2 install individual rpm packs? carrie Linux - Newbie 2 10-14-2004 12:07 AM
how to install individual packages in Core 2 Test 3? mbpilot Fedora - Installation 2 05-21-2004 08:21 PM
Install individual packages *after* install jacobly Linux - Newbie 5 05-02-2003 04:25 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration