Questions tagged [ar]

ar is the Unix/Linux archiver utility, used primarily for maintaining static libraries and for Debian packages. Do not use this tag for questions relating to the country code for Argentina, or for augmented reality related questions.

The ar utility can be used to create and maintain groups of files combined into an archive.

External reference

ar specification (The Open Group Base Specifications Issue 7, 2018 edition)

14 questions
4
votes
1 answer

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m [-Tabijsvz] position archive file ... ar -p [-Tv]…
ase
  • 193
  • 6
3
votes
1 answer

Deleting a file object from a library

I've created a library with 3 file objects using: ar rv arhiva.a file.o file2.o file3.o Why I can't delete a file object from it? I've used ar xv arhiva.a file.o
Shury
  • 133
  • 1
  • 4
3
votes
4 answers

How it is possible that dpkg isn't neccesary for installing deb packages?

The information below seems misleading. I am confused with the example they give that if you lose dpkg (the program that lets you handle .deb files) you can use the other commands ar, tar, and gzip commands to download the .deb file for dpkg…
BluePython
  • 149
  • 1
  • 5
3
votes
1 answer

Why doesn't 'ar' work like the manpage says?

I'm trying to use 'ar' included in Debian Wheezy armel version of binutils and it doesn't seem to operate like on other systems I've encountered. Some sample output from the command-line: $ ar Usage: ar [options] archive Generate an index to speed…
cachance7
  • 163
  • 4
2
votes
1 answer

ar command move member (any example?)

I'm talk about the "ar" command in Linux/UNIX which is used for creating or managing archives. According to the manual, we can move members in an archive with "m" modifier. But there isn't any example. The manual page just say "If no modifiers are…
Vespene Gas
  • 163
  • 1
  • 6
2
votes
2 answers

KDE opens .deb files with ar instead of a package manager

I just installed Debian for the first time. I use KDE. I'm trying to install Google Chrome and Steam. I download the installation package, then I double-click it. Instead of installing, both display the error Failed to execute child process "ar" no…
Villa Caleb
  • 23
  • 1
  • 5
1
vote
0 answers

Get around ~10GB maximum archive size

I am trying to package a Linux software into a DEB archive so it can easily be installed on Debian / Ubuntu. Unfortunately the full software is about 13 GB in size, and whenever I try to create a debian package (either with FPM or directly with…
Florian Bach
  • 233
  • 1
  • 11
1
vote
0 answers

oem-bt-ar-9462-dkms error in Ubuntu

I tried install new updates and this error keeps popping up. Is there any way that i could resolve this?
sanster9292
  • 109
  • 1
  • 4
0
votes
0 answers

using ar how to I add to libfoo.a bar.o and call result libnew.a

Is there a way using ar to add to existing libfoo.a library an additional object bar.o and specify the name of the result libnew.a?
foo
  • 1
0
votes
0 answers

/usr/bin/ar: libsql_main.a: No space left on device

I need to install libmysqlclient. Unfortunately, this package is no longer in the "main" Arch Linux repository and it has been moved to AUR, so I have to compile it myself. During compilation I get this error: /usr/bin/ar: libsql_main.a: No space…
yomol777
  • 199
  • 1
  • 5
0
votes
1 answer

Debian xarchiver "Failed to execute child process "ar" (No such file or directory)"

I have Debian 9 and Xfce. am trying to install a commercial program given as a .deb -ending file. When I double click on the file, it opens a window titled "(filename.deb) - Xarchiver 0.5.4" and on top of that a pop-up error message Can't run the…
0
votes
1 answer

Need Intel Xeon E3-1200 drivers for Linux Mint 18

MY school got donated 35 computers that are 4 years old. Each computer has 32 bit architecture. I've taken one to use it for and AR Sandbox (project by Oliver Kreylos). For that I've installed Linux Mint Version 18.3 "SYLVIA" with MATE desktop for…
0
votes
0 answers

Weird G++/AR Compilation issue

I'm working a patch-set to compile dpkg and APT onto Cygwin. I've almost got everything working, but I'm encountering some weird behavior with ar/g++ that I can't explain. APT's stock Makefile uses some fancy wrapping around a pretty…
Nicholas Clark
  • 322
  • 1
  • 2
  • 10
-1
votes
2 answers

Any example of the difference between adding modifer "c" and "s" or not to "ar" command

Many articales provide examples of using "ar" command uses "ar rcs " without explaination of the reason. I've tried the command by myself both with and without modifier "c" and "s" and find that the output are idendical even in binary…
Vespene Gas
  • 163
  • 1
  • 6