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 7790353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:33:29+00:00 2026-06-01T21:33:29+00:00

so normally in bash, I would manually hit return [archlinux-64 ~]$ sudo pacman -S

  • 0

so normally in bash, I would manually hit return

[archlinux-64 ~]$ sudo pacman -S base-devel
pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.7)
:: There are 12 members in group base-devel:
:: Repository core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) flex  7) gcc  8) libtool
   9) m4  10) make  11) patch  12) pkg-config

Enter a selection (default=all):

and followed by keying in Y and hitting return in the next prompt in stdout:

warning: make-3.82-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (14): gcc-libs-4.7.0-4  libltdl-2.4.2-5  autoconf-2.68-2  automake-1.11.4-1
              binutils-2.22-5  bison-2.5-3  fakeroot-1.18.2-1  flex-2.5.35-5  gcc-4.7.0-4
              libtool-2.4.2-5  m4-1.4.16-2  make-3.82-4  patch-2.6.1-3  pkg-config-0.26-2

Total Download Size:    24.91 MiB
Total Installed Size:   104.95 MiB
Net Upgrade Size:       8.44 MiB

Proceed with installation? [Y/n] 

But having done this arch linux base-devel installation a couple of times, I would like to get straight to the point and execute all of the following with default and Y in one single line of bash command.

How would I write this bash command in one single line?

  • 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-01T21:33:31+00:00Added an answer on June 1, 2026 at 9:33 pm

    You can do this by passing the –noconfirm option:

    pacman -S --noconfirm base-devel
    

    If you want to get rid of the download progressbar, etc you can switch that off too:

    pacman -S --quiet --noprogressbar --noconfirm base-devel
    

    Check out the manpage: http://www.archlinux.org/pacman/pacman.8.html

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

Sidebar

Related Questions

I am using Rscript more and more where I would have normally used bash
The way you would normally include a script is with source eg: main.sh: #!/bin/bash
Normally I would go: bgwExportGrid.RunWorkerCompleted += ReportManager.RunWorkerCompleted; The ReportManager class is a static class
normally I would use Python/Perl for this procedure but I find myself (for political
I have a Bash tab-completion script for Apache's Hadoop. Normally, I use zsh as
Normally I would refrain from asking vague questions but in this case I cannot
I need to set a system environment variable from a Bash script that would
Normally, I would use a callback function passed to the 'jQuery.getJSON' function to do
Normally if you wanted to execute a MySQL command you would just open up
With bash , I can complete a command with TAB. Normally, it should also

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.