Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7717185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:49:23+00:00 2026-06-01T02:49:23+00:00

I want to install packages on a ArchLinux machine, which does not have internet

  • 0

I want to install packages on a ArchLinux machine, which does not have internet connection.
I am following the link https://wiki.archlinux.org/index.php/Offline_Installation_of_Packages (section “Normal Method: Pacman”).

The command “pacman -Sp –noconfirm xorg-server” lists the dependency but not the complete
url to download from. Any ideas how to get the list of dependent packages with the url to download from. I am using pacman version 4.0.2-libalpm v7.0.2.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:49:24+00:00Added an answer on June 1, 2026 at 2:49 am

    I reproduced the behavior you describe by disabling all repository mirrors.

    $ pacman -Sp inkscape
    gc-7.1-4-i686.pkg.tar.xz
    gsl-1.15-2-i686.pkg.tar.xz
    libsigc++-2.2.10-2-i686.pkg.tar.xz
    glibmm-2.30.1-1-i686.pkg.tar.xz
    cairomm-1.10.0-2-i686.pkg.tar.xz
    pangomm-2.28.4-1-i686.pkg.tar.xz
    atkmm-2.22.6-1-i686.pkg.tar.xz
    gtkmm-2.24.2-2-i686.pkg.tar.xz
    imagemagick-6.7.6.2-1-i686.pkg.tar.xz
    inkscape-0.48.3.1-2-i686.pkg.tar.xz
    

    When I fix it back, the output looks like:

    $ pacman -Sp inkscape
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/gc-7.1-4-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/gsl-1.15-2-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/libsigc++-2.2.10-2-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/glibmm-2.30.1-1-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/cairomm-1.10.0-2-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/pangomm-2.28.4-1-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/atkmm-2.22.6-1-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/gtkmm-2.24.2-2-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/imagemagick-6.7.6.2-1-i686.pkg.tar.xz
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/inkscape-0.48.3.1-2-i686.pkg.tar.xz
    

    Now to what probably needs to be fixed.

    1) /etc/pacman.conf

    Here’s an excerpt from mine (“Repositories” section):

    # Repository entries are of the format:
    #       [repo-name]
    #       Server = ServerName
    #       Include = IncludePath
    #
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    #
    
    [core]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    
    [extra]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    
    [community]
    #SigLevel = PackageOptional
    Include = /etc/pacman.d/mirrorlist
    

    2) The mirror list (/etc/pacman.d/mirrorlist)

    The mirror list that you include in pacman.conf needs to have some records uncommented.

    $ head /etc/pacman.d/mirrorlist
    ##
    ## Arch Linux repository mirrorlist
    ## Generated on 2011-08-16
    ##
    
    ## Any
    Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
    Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
    
    ## Australia
    

    and so on. Note that the URLs generated by pacman -Sp actually use the first entry in the mirror list.

    3) Another note on the instructions in the ArchWiki article: you don’t actually need to download both .db and .tar.gz files. The .db files actually are tarballs themselves, and contain the very same files and folders. So you can just download core.db, community.db and extra.db and put them in /var/lib/pacman/sync.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to upgrade all packages, not just a specific one with cabal install
I want install Android version 1.6 SDK. I already have Android development setup with
I want to install outlook add-ins (Which is developed by Visual studio 2008) but
I want to install Rad Studio 2010 on a machine that already has installed
I want to install rsync on windows xp. I have searched the web, but
I want to install PyQt for Qt 4.7.4 and i downloaded the packages SIP
I have a script along the lines of: if (!require(tcltk2)) {install.packages('tcltk2', repos=http://cran.us.r-project.org); require(tcltk2)} base
I want to install Apache Solr on my linux machine, and am wondering if
I have python 2.7 installed in /opt/python2.7 . Now i want to install the
I have created a little Python egg (with setuptools) that I want to install

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.